U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Can't set value in switch with EnableValue
Re: Can't set value in switch with EnableValue [message #14649 is a reply to message #14644] Wed, 05 March 2008 20:21 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
I think the problem is that you have misunderstood what EnableValue does. It is actually for Enabling/Disableing (greying out) an option. Try changing EnableValue to DisableValue and you will see what I mean.

If you want to set the selected option use SetData or the <<= operator.
ie:
optUserClass <<= "CONSULTA"

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Images in menus causing enormous padding
Next Topic: How to modify Page setup (left margin) in RichText Control
Goto Forum:
  


Current Time: Thu Oct 08 03:21:21 GMT+2 2026

Total time taken to generate the page: 0.01018 seconds