Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox refuses to 'enable'
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00500455
Message ID:
00500964
Vues:
23
I did Requery() ... we might have traced the problem to some code in the Enabled_Assign method. It's working now -- one of those deals where problems fix themselves, but you aren't that happy about it because you have no idea why!
zahid

>Have you tried to "Requery()" the listbox? Requery() updates the data in the list- and combo-box controls, so if this data is changing you must use Requery() in addition to Refresh().
>
>HTH
>Barbara
>
>>I'm having a problem with a listbox which is CONTROLSOURCEd to a field in my remote view. The ROWSOURCE is an array with two columns, with BOUNDCOLUMN being 2 (the second column of the array is a numeric primary key which will be stored in the remote view field as a foreign key). BOUNDTO is .T.
>>
>>The view starts out empty. When I add a record (using a commandbutton) the listbox does not allow me to highlight a value -- all the options are greyed out. I've checked the Enabled property, which returns .T., and none of the listbox options have the slash preceding them which would disable them individually.
>>
>>I tried REFRESHing the listbox after the APPEND BLANK, but it had no effect. I'm sure I'm missing something simple ... has anyone seen this before? Thanks in advance!
>>zahid
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform