GroupIndex creates a set of mutually exclusive options
Member of Radio Button (PRIM_MD.RadioButton)
Data Type - Integer
The GroupIndex property is used to split radio buttons in to mutually exclusive sets.
This example shows two sets of radio buttons.
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(281) Width(641) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton1) Caption('RadioButton1') DisplayPosition(1) Left(120) Parent(#COM_OWNER) TabPosition(1) Top(8) Height(35) Width(129) Checked(True) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton2) Caption('RadioButton2') DisplayPosition(2) Left(120) Parent(#COM_OWNER) TabPosition(2) Top(34) Height(35) Width(129) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton3) Caption('RadioButton3') DisplayPosition(3) Left(120) Parent(#COM_OWNER) TabPosition(3) Top(60) Height(35) Width(129) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton4) Caption('RadioButton4') DisplayPosition(4) Left(120) Parent(#COM_OWNER) TabPosition(4) Top(86) Height(35) Width(129) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton5) Caption('RadioButton5') DisplayPosition(5) Left(280) Parent(#COM_OWNER) TabPosition(5) Top(8) GroupIndex(1) Height(35) Width(129) Checked(True) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton6) Caption('RadioButton6') DisplayPosition(6) Left(280) Parent(#COM_OWNER) TabPosition(6) Top(34) GroupIndex(1) Height(35) Width(129) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton7) Caption('RadioButton7') DisplayPosition(7) Left(280) Parent(#COM_OWNER) TabPosition(7) Top(60) GroupIndex(1) Height(35) Width(129) Define_Com Class(#Prim_md.RadioButton) Name(#RadioButton8) Caption('RadioButton8') DisplayPosition(8) Left(280) Parent(#COM_OWNER) TabPosition(8) Top(86) GroupIndex(1) Height(35) Width(129) End_Com
Febuary 18 V14SP2