IonicWind Software

IWBasic => GUI Central => Topic started by: billhsln on March 19, 2008, 04:24:45 PM

Title: Grouping a Radiobutton Question
Post by: billhsln on March 19, 2008, 04:24:45 PM
I am trying to group 3 radiobuttons together.  I have gotten this to work before, when they are stacked on top of each other.  However, it does not seem to work if they are side by side.  In other words:

X
X
X

Works, but X X X, does not.


CONTROL w1,@GROUPBOX,"",1000,655,145,42,0x50000007,1020
CONTROL w1,@RADIOBUTTON,".01",1005,670,40,18,@TABSTOP|@GROUP,1021
CONTROL w1,@RADIOBUTTON,".05",1050,670,40,18,@TABSTOP,1022
CONTROL w1,@RADIOBUTTON,".25",1095,670,40,18,@TABSTOP,1023


Any ideas as to what I am doing wrong, or is it a function of Windows that does not allow this?

Help,

Thanks,
Bill

PS, this is for the 100 Draw Poker Game.  Full program, in current state available below.  (Not finished yet!).  Also, had to revised the CARD deck, due to logic to determine type of hand.
Title: Re: Grouping a Radiobutton Question
Post by: LarryMc on March 19, 2008, 04:55:32 PM
I plugged your code into a program I 'm working on and the radiobuttons worked fine once I made the x,y coordinates small enough to fit in my window.

Your running at a high resolution in order to put radiobuttons (1005,670)

I just removed a 0 from the values to get them in my window and the buttons toggled like they were suppose to.

What exactly is not working?
Not displaying? Not toggling? can't select any?

Larry
Title: Re: Grouping a Radiobutton Question
Post by: billhsln on March 20, 2008, 12:26:53 AM
I found my problem.  It seems that the text in front of the buttons was defined to be too long.  Once I shortened it up, it works exactly as it should.

Thanks for the help,

Bill