Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo
Message
From
14/02/2017 01:33:29
 
 
To
13/02/2017 18:00:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Combo
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01647896
Message ID:
01647927
Views:
46
>>>
>>>.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
Previous
Reply
Map
View

Click here to load this message in the networking platform