Link to home
Start Free TrialLog in
Avatar of Eduardo Fuerte
Eduardo FuerteFlag for Brazil

asked on

Could you point a way to show the combobox selected options when it's disabled when using Visual FoxPro?

Hi Experts

Could you point a way to show the combobox selected options when it's disabled when using Visual FoxPro?

When enabled: - The same  appearance is needed when disabled
 User generated image
Disabled
 User generated image
Thanks in advance.
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Hi Eduardo,

this does not seem to be Combo Box but List Box. Am I correct?
Avatar of Eduardo Fuerte

ASKER

Hi Pcelba

Sorry.
Yes, listbox.
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Pcelba

Perfectly runs.

Thank you very much!
I almost came up with the idea to put a transparent borderless container in front of the Listbox and toggle its visible property, but that would only disable mouse usage.

The When() event helped before the Grid had AllowCellSelection to get that same behavior.

Bye, Olaf.