Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: Wed Jun 12 05:55:59 CEST 2024

Total time taken to generate the page: 0.01564 seconds