At 05:23 PM 8/21/2004 -0400, Ajay Sanghvi wrote:

>Could someone give me a simple example of how to use
>the property command. I understand what the command
>can do but I am not sure how it is to be used. For
>example if I wanted to set a Component1 VISIBLE 'False'
>where and how should I set this value. Should it be in
>the EEP?  I have a form in which I have 3 DB Radio Groups.

>Group 1 has button 1 and button 2 and If button 1 is
>selected make Group 2 visible and Group 3 invisible and
>if I select button 2 in Group1 make Group 2 invisible and
>Group 3 visible.

Ajay,

In your Advanced R:BASE Training folder/directory, along
with RRBYW4 through RRBYW9, you'll also find three
additional directories named Goodies, Plugins and Property.

The Property directory includes a database PropDB, along
all samples, including one similar to your need.

(If you don't have that sample handy, send me a private
 e-mail and I'll send you everything you need.)

Run the following commands to understand the use of
PROPERTY command:

. ChangingProperties.RMD
. ClosingToolButtons.RMD
. CustomFormActions.RMD
. CustSearchByST.RMD
. CustSearchByST_Tot.RMD
. GetProperty.RMD
. GetStartAndEndDates.RMD
. GrayOutPushButton.RMD
. MenuBar.RMD
. MeterForm01.RMD
. MeterForm02.RMD
. MeterForm03.RMD
. MeterForm04.RMD
. PagingForm.RMD
. PagingFormAndSlave.RMD
. Property.RMD
. Property01.RMD
. ShowHideRadioGroups
. TABPageControl.RMD
. TABPageControl2.RMD
. TreeViewMenu.RMD

After going through all command files and associated
Forms and EEPs, you should be able to understand the
use of PROPERTY command.

In your specific form with three DB Radio Groups,
first you have to make sure that each Radio Group
has a unique Component ID assigned.

Then what you want to do is to create "On Click EEP"
to include all PROPERTY commands to manage all other
DB Radio Groups, including VISIBLE 'FALSE' or VISIBLE
'TRUE', etc.

The following properties are supported for DB Radio
Group:

. ALIGN
. ALIGNMENT
. BEVELWIDTH
. BORDERCOLOR
. BORDERWIDTH
. CAPTION
. COLOR
. COLUMNS
. ENABLED
. HEIGHT
. HINT
. LEFT
. READONLY
. SET_FOCUS (update 77 or higher)
. SHOWHINT
. TABORDER
. TABSTOP
. TOP
. VERTICALSPACING
. VISIBLE
. WIDTH

Hope that helps!

If you need further help, feel free to ask.

Very Best R:egards,

Razzak.



Reply via email to