General information
Category:
Forms & Form designer
Cetin,
I am now trying to customize the control to do a couple of things. First when the control gets focus, I want the selection list to dropdown. To accomplish this, I placed the following in the GotFocus method and it works fine:
KEYBOARD '{F4}'
IF NOT DODEFAULT()
RETURN .F.
ENDIF
Is this the best way to accomplish this?
Secondly, when the list drops down upon entry, I want the first value of the list to be the same as the value in the control. Currently it always shows the first item in the list until the user makes a change to the displayvalue and then the list "syncs" with the combobox displayvalue. Any ideas?
Thanks so much for your time
Steven
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only