StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



radiobuttongroup issueExpand / Collapse
Author
Message
Posted 08/29/2007 1:34:12 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 2 days ago @ 11:56:29 PM
Posts: 28, Visits: 373
Whenever I create a radio button group and put it in a themedgroup box.  After a while when I check it will show a radio button called option 2 transposed over the original 2nd radio button.

It doesn't matter whether I have 3 or 5 buttons.  And it only does it to the 2nd option.  If I delete the button it appears again after the next build.  If I erase the group and create a new one, after a while the option2 button appears again.  Sometimes there will be 3, 4, 5 or more option2 buttons superimposed over each other.

When I run the application, Sometimes when that option2 button is there and I handle the optiongroup_propertychanged event, I get stuck in an endless loop.

Any thoughts?

Marcel

Post #11195
Posted 08/29/2007 10:39:52 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 09/26/2008 8:30:36 AM
Posts: 2,685, Visits: 1,886
The OptionGroup is kind of a map to the old option group from VFP.  It's most likely that your RadioButtonCount is not correct.  The control is designed so that rather than you drop new RadioButtons on the control, you change the RadioButtonCount property and it creates/removes the buttons as needed.  Once they are created, you can then set the properties appropriately (like name and value).  It's probably just gotten out of sync.


www.bungie.net
Post #11215
Posted 08/31/2007 2:34:45 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 2 days ago @ 11:56:29 PM
Posts: 28, Visits: 373
I have been using them the way you described.  Still wondering why it gets out of sync though.  For now, I'll just check every time to make sure there is not "option 2" button in the list, and delete them when the pop-up.
Post #11255
Posted 02/06/2008 3:47:02 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: 04/14/2008 7:41:48 AM
Posts: 45, Visits: 102
Was there ever a resolution on this problem?  I experiencing the same symptoms.  I create a RadioButtonGroup and it automatically gives me 2 RadioButtons with MyValue set to 1 and 2.  I then change the RadioButtonCount to 4 and it give me 2 more RadioButtons with MyValue set to 3 and 4.  It seems when I try and rearrage the RadioButtons and resize the RadioButtonGroup 2 more RadioButtons automatically get added.  I can then delete the unwanted RadioButtons but they keep popping up.   ????
Post #14132
Posted 02/06/2008 4:49:16 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:11:57 AM
Posts: 4,586, Visits: 4,570
Hmmm...we use the radiogroup in a number of places and I have not seen this behavior.  Like you have seen on some other posts, if you can create a simple sample that reproduces the problem I would be happy to look at it...but I cannot reproduce this from the information in this thread.  Sorry
Post #14140
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 9:39am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.125. 10 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.