Template:Group number: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
Define the group number of the radio button, for example:  
Define the group number of the radio button, for example:
:radio   070, 044, 070, 24, "Cross",  dir1, 1, <ins>'''1'''</ins>
:radio 70, 124, 70, 24, "Cross",  RadioSelected, RadioDefault, <ins>'''1'''</ins>
:radio   070, 074, 070, 24, "Tag",    dir2, 0, <ins>'''1'''</ins>
:radio 70, 154, 70, 24, "Tag",    RadioSelected, RadioDefault, <ins>'''1'''</ins>
:radio   070, 104, 070, 24, "radio03", dir3, 0, <ins>'''1'''</ins>
:radio 70, 184, 70, 24, "radio03", RadioSelected, RadioDefault, <ins>'''1'''</ins>
:<br>
:Set the variable "RadioDefault" to the radio button (1, 2 or 3) to be selected when the dialog is displayed.
:The variable "RadioSelected" will be set to the button (1, 2 or 3) that was selected when the dialog was closed.

Latest revision as of 23:31, 12 July 2011

Define the group number of the radio button, for example:

radio 70, 124, 70, 24, "Cross", RadioSelected, RadioDefault, 1
radio 70, 154, 70, 24, "Tag", RadioSelected, RadioDefault, 1
radio 70, 184, 70, 24, "radio03", RadioSelected, RadioDefault, 1

Set the variable "RadioDefault" to the radio button (1, 2 or 3) to be selected when the dialog is displayed.
The variable "RadioSelected" will be set to the button (1, 2 or 3) that was selected when the dialog was closed.