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 » Help needed dealing with switch control
Re: Help needed dealing with switch control [message #20017 is a reply to message #19879] Tue, 10 February 2009 10:23 Go to previous messageGo to previous message
kbyte is currently offline  kbyte
Messages: 87
Registered: July 2008
Member
Sorry, but may be I didnt explain my problem:

I drawn a form in a lay file during design time. Please, see the jpeg attached.

During form initialization (run-time) I want to select the numerica switch button and clear (it is already) the alfanumerica switch button.

The second doublt is:
On visual basic and visual C we add (at design time) switch buttons and group them and they became mutual exclusive, this means when the user selects one all the others become unselected.

Does u++ has this automatic behaviour?

I am using this but it doesnt works:

void xxxdlg::OnSwitch1(void) //numerica
{
sw2<<NULL;
sw1<<1;
}

void xxxdlg::OnSwitch2(void) //alfanumerica
{
sw1<<NULL;
sw2<<1;
}



Many thanks

Alex
  • Attachment: option.JPG
    (Size: 8.25KB, Downloaded 215 times)

[Updated on: Tue, 10 February 2009 10:29]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EditString validation
Next Topic: Win32 / Linux layouts
Goto Forum:
  


Current Time: Wed Jun 12 06:47:06 CEST 2024

Total time taken to generate the page: 0.01162 seconds