P.S. The final code of the successful test looks like THIS...

  dim c as Control
  dim cName as string

  for i as Integer = 0 to ControlCount - 1

    c = Control(i)

    if c IsA GroupBox then

      MsgBox c.Name

      cName = c.Name

elseif c isa RadioButton and RadioButton(c).parent.name = cName then

      MsgBox c.Name + " Index: " + str(c.Index)

      if (RadioButton(c).Value) then

        MsgBox RadioButton(c).Caption + " is true!"

      end if

    end if

  next i


I think that with a few more properties, a LOT of this code would be superfluous.....AND more readily obvious to the new user of REALbasic.


On Jun 21, 2006, at 9:46 AM, Chuck Pelto wrote:


On Jun 21, 2006, at 9:30 AM, Russ Jones wrote:

str(RadioButton(c).value)

THIS works.

However, I have to say this, that REALbasic seems to have some 'issues' with that hobgoblin of all applications, consistency. Without the help of the fine people in this ListServ, I'd be floundering because in one place you do one thing, in another place you do something different and it seems that one has to be a member of the upper-echelons of the priesthood in order to fully grasp it all.

I greatly appreciate ALL the assistance the guys on the ListServ have provided. Without it, I'd be totally helpless.

Regards,

Chuck

_______________________________________________
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>

Reply via email to