Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6 combobox InteractiveChange/DisplayValue bug?
Message
De
16/08/1999 05:59:49
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP 6 combobox InteractiveChange/DisplayValue bug?
Divers
Thread ID:
00253967
Message ID:
00253967
Vues:
262
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform