General information
Category:
ActiveX controls in VFP
Title:
Code not stopping at combo box...
very simple code
THISFORM.REFRESH
THISFORM.OPLIST.SETFOCUS()
THISFORM.OPERATOR=THISFORM.OPLIST.VALUE
but it doesn't stop at the OPLIST combobox to give the user a chance to pick a value
the debugger shows it going to the gotfocus but it doesn't appear to do the default (which would cause it to popdown)
nor does it do the valid (which would return .f. if the value is empty which it would be if nothing is selected because I've initialised the value to empty to try to resolve this problem)
it just goes oplist.setfocus, gotfocus and straight onto the next line of code...
all clues gratefully received.
Harry
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