Hi,
please compile this little sample program.
First time use keyboard to select file into CGETFILE dialog ( you can use mouse and press keyboard just one time)
When you return to dialog oDlg and you change focus into Button1 everything works fine.

Second time use only mouse (please do not touch keyboard)
When Button1 gets focus it does not appear in the right way

Any suggestions?
Marco
please compile this little sample program.
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL cVar := SPACE(10)
CGETFILE( "*.*", "Select a file" )
DEFINE DIALOG oDlg
@ 1, 1 GET cVar
@ 2, 1 BUTTON "Button1"
@ 3, 1 BUTTON "Button2"
ACTIVATE DIALOG oDlg
RETURN NILFirst time use keyboard to select file into CGETFILE dialog ( you can use mouse and press keyboard just one time)
When you return to dialog oDlg and you change focus into Button1 everything works fine.

Second time use only mouse (please do not touch keyboard)
When Button1 gets focus it does not appear in the right way

Any suggestions?
Marco
Marco Boschi
info@marcoboschi.it
info@marcoboschi.it