At 07:32 PM 10/4/2009, Michael J. Sinclair wrote:

Ah ha! <slapping my forehead>...that was easy!
How about the default value for which button starts of checked...
does that need to be done with code or is there a setting somewhere
like there was in Ver 6.5 for which button will be the default
"checked" button?


Technically, for "DB RadioGroup", your best option to set a default
value is at the Table | Column level. You will always find this
technique helpful.

For "Variable RadioGroup", the best practice is to define a default
value as "On After Start EEP".

Dynamically or conditionally, based on specific criteria, you may
check the appropriate radio button using the following PROPERTY
command.

PROPERTY RadioGroupCompID RADIOBUTTONS[nn]->CHECKED 'TRUE'

Where "nn" is the Item Index Number of the Variable Radio Group.

For a sample application to demonstrate the use of such feature,
take a look at the 2009 SAT Sample Applications.

2009 SAT Sample Applications: http://www.rupdates.com/sat2009

Folder: \UsingRadioGroupProperties
Database: RadioGrp
Command File: UsingRadioGroupProperties.DAT
Form Name: RadioGroupProp

Very Best R:egards,

Razzak.


Reply via email to