bsRGP
Use the NAME property to tell RADCORE how it should be rendered:
bsRGP: Radio Group
Unfortunately, I had to use the NAME property instead of HINT for bsRGP to work best.
Each item is a separate uniLabel, but RadCORE will group them together at run time:
bsRgpTipo01_M
bsRgpTipo02_E
bsRgpTipo03_F
The syntax: bsRgpAAAAA99_VALUE_db
AAAAA is a name
99 is a sequence( 2 digits )
VALUE is what must be saved
_db indicates that it is DBWARE. In this case, AAAAA must be the name of the FIELD to be recorded.
It is possible to return the "ITEMINDEX" and / or the VALUE of the option that is checked, just enter the name of the first item in the sequence:
DM_RADCORE.rc_GetItemIndexFromRgp( bsRgpTipo01_M );
DM_RADCORE.rc_GetValueFromRgp( bsRgpTipo01_M );
Remembering that these functions will go through all linked items, so, preferably pass the first item of the sequence as a default.
See more details and / or examples at untDEMO_FORMS / untCadFERIADOS.
Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator