On Jun 21, 2006, at 11:03 AM, Chuck Pelto wrote:
Hi Steve,
On Jun 21, 2006, at 4:45 AM, Steve Garman wrote:
What is the best way to collect or identify all the RadioButtons
in a
given GroupBox?
dim c as Control
for i as Integer = ControlCount - 1 DownTo 0
c = Control(i)
if c isa RadioButton and RadioButton(c).parent = GroupBox1 then
MsgBox c.Name
end if
next i
This looks useful. Thanks.
Next, as always, question.....
What's the call to tell whether a radio button is the selected item
within a such a group?
Value doesn't seem to do it. And I can't find any property inside
of RectControl or Control Classes that will do it either.
Try Window.Focus.
Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>