Hello,
I have a radiogroup with the 3 options. At the start-up I want one of them to always be ticked. How do I do this?
Thanks
setting a radiogroup selection as default
Moderators: JRL, Dorian (MJT support)
- aboredprogrammer
- Junior Coder
- Posts: 40
- Joined: Wed Jan 27, 2010 6:31 am
setting a radiogroup selection as default
aboredprogrammer
The number at the end of the radiogroup line will set your default. the system is zero based so the first item is "0". If you want nothing selected by default the number is "-1". In the sample the number is 2 so the third item will be pre-selected
Code: Select all
Dialog>Dialog1
Caption=Dialog1
Width=445
Height=250
Top=272
Left=89 RadioGroup=Itrms,msRadioGroup1,119,29,185,105,Item1%CRLF%Item2%CRLF%Item3%CRLF%Item4,2
EndDialog>Dialog1
Show>dialog1,res1
- aboredprogrammer
- Junior Coder
- Posts: 40
- Joined: Wed Jan 27, 2010 6:31 am
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
I have never seen that message in all the years I have been here. It definitely is not from the forum software, or from the MJT hosting server. You will see that many posts are almost as fast as real time chats.aboredprogrammer wrote:"You cannot make another post so soon, please try again in a little while"
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!