Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6 combobox InteractiveChange/DisplayValue bug?
Message
From
16/08/1999 05:59:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
VFP 6 combobox InteractiveChange/DisplayValue bug?
Miscellaneous
Thread ID:
00253967
Message ID:
00253967
Views:
261
When the code below is run under VFP 6, the first character typed into the combobox doesn't change its DisplayValue property. After typing another, DisplayValue starts returning correct values. The same code behaves correctly in VFP 3 (DisplayValue returns the first character typed).
oForm = CREATEOBJECT("Form")
oForm.Autocenter = .T.
oForm.Addobject('combo','_combobox')
oForm.combo.Visible = .T.

oForm.Show()
READ EVENTS

DEFINE CLASS _combobox AS combobox
       PROCEDURE InterActiveChange
                 ACTIVATE SCREEN
                 ?'InterActiveChange fires'
                 ?'THIS.Displayvalue returns: '
                 ??THIS.Displayvalue
       ENDPROC
ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform