Radio Button - GroupIndex Property

GroupIndex identifies collaborating radio buttons

Member of Radio Button (PRIM_RDBN)

Data Type - Integer

Details

The GroupIndex property is used to split radio buttons in to mutually exclusive sets.

Example

This example shows two sets of radio buttons.
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(281) Width(641)
 
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton1) Caption('RadioButton1') Displayposition(1) Left(120) Marginleft(2) Parent(#COM_OWNER) Tabposition(1) Top(8)
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton2) Caption('RadioButton2') Displayposition(2) Left(120) Marginleft(2) Parent(#COM_OWNER) Tabposition(2) Top(34)
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton3) Caption('RadioButton3') Displayposition(3) Left(120) Marginleft(2) Parent(#COM_OWNER) Tabposition(3) Top(60)
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton4) Caption('RadioButton4') Displayposition(4) Left(120) Marginleft(2) Parent(#COM_OWNER) Tabposition(4) Top(86)
 
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton5) Caption('RadioButton5') Displayposition(5) Left(280) Marginleft(2) Parent(#COM_OWNER) Tabposition(5) Top(8) Groupindex(1)
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton6) Caption('RadioButton6') Displayposition(6) Left(280) Marginleft(2) Parent(#COM_OWNER) Tabposition(6) Top(34) Groupindex(1)
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton7) Caption('RadioButton7') Displayposition(7) Left(280) Marginleft(2) Parent(#COM_OWNER) Tabposition(7) Top(60) Groupindex(1) Buttonchecked(True)
   Define_Com Class(#PRIM_RDBN) Name(#RadioButton8) Caption('RadioButton8') Displayposition(8) Left(280) Marginleft(2) Parent(#COM_OWNER) Tabposition(8) Top(86) Groupindex(1)
 
End_Com

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2