Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo
Message
De
14/02/2017 01:33:29
 
 
À
13/02/2017 18:00:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Combo
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Divers
Thread ID:
01647896
Message ID:
01647927
Vues:
47
>>>
>>>.Parent.Enabled?
>>>
>>
>>Thierry,
>>No none of them.
>>Now found ( I am rebuilding step by step) that combo gets enabled when I add code in the ControlSource property. Total mistery for me. ControlSource = mycursor.myfield which exists and shows its value in an other txtbox on the form.
>>How is this possible, what could possibly be the reason for this behavior?
>>Regards,
>>Koen
>>
>>>>Hi,
>>>>
>>>>I am stugling with a combobox which remains unabled, at least I cannot manipulate, nothing is shown, no drop down etc.
>>>>Have put a watch in my debugger on
>>>>
>>>>_screen.forms(1).Pageframe.Page1.combo1.enabled = .T.
>>>>_screen.forms(1).Pageframe.Page1.combo1.readonly = .F.
>>>>
>>>>these values do not change, yet the combobox is enabled, Still it is not enabled, have also set, just for the purpose of checking the disabledbackcolor to rgb(255,255,0) and yes the combo is yellow.
>>>>Where else than the props. enabled and readonly should I check?
>>>>
>>>>Regards,
>>>>Koen
>
>Stupid question -- did you set the rowsource for the control? That would populate the dropdown list values while the controsource specifies the value that was selected in the dropdown list part.
Hi,
The rowsource is fully qualified set, the combo works as expected when the the controlsource is set it is disabled.
Have now meanwhile solved it by setting the controlsource by code.
Thanks for support
Koen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform