2006 Jun 08 11:45 AM
Hi all,
I had create dradio button in my program using the command:
Parameters:radio1 radiobutton group rg,
radio2 radiobutton group rg.
But i want the display text next to the radio button something like 'Show Report'. Currently it is showing RADIO1 & RADIO2.
Can anybody help me.
Thanks & Regards,
Vijith
2006 Jun 08 11:46 AM
go to se38.
Select the radio-button for text elements.
Go into selection tezts and give the appropriate texts.
Regards,
Ravi
Hi,
it is not possible in case of Radio button, By default one will be checked.
or else go for check boxes.
Regards
vijay
2006 Jun 08 11:46 AM
go to se38.
Select the radio-button for text elements.
Go into selection tezts and give the appropriate texts.
Regards,
Ravi
2006 Jun 08 11:47 AM
Open your program,
GOTO --> Text Elements --> selection text.
Enter the text for your 2 radio buttons and save it and dont forget to activate it.
regards,
ram
2006 Jun 08 11:48 AM
Hi,
U need to do this in selection texts.
In SE30, in menu, GOTO->TEXT ELEMENTS->SELECTION TEXTS
and define ur text for radio buttons.
Sreedhar
2006 Jun 08 11:48 AM
Hi vijith,
1. Simple
2. open the report source code
3. GOTO -
> TEXT ELEMENTS -
> SELECTION TEXTS
4. There u will see
RADIO1
RADIO2
5. Change the text.
6. ACTIVATE (Make sure u activate here itself)
7. Then run the program again !!!
regards,
amit m.
2006 Jun 08 11:48 AM
Set the Selection Text of Radio button in Text Elements.
Cheers,
Thomas.
2006 Jun 08 11:50 AM
Hi,
you need to maintain the selection texts.
from Menu <b>GO TO ->TEXT ELEMENTS->SELECTION TEXTS</b> and maintain the texts.
Regards
vijay
2006 Jun 08 11:50 AM
Hi Vijith,
Goto --> Text elements --> Selection Texts.
Enter the text for the radio buttons.
Rgds,
Prakashsingh
2006 Jun 08 11:50 AM
Hi,
U can also do Other way .. that using comments with begin and end of line.
SELECTION-SCREEN : BEGIN OF BLOCK options WITH FRAME TITLE text-003,
BEGIN OF LINE.
PARAMETERS : p_backgd RADIOBUTTON GROUP rad1
USER-COMMAND radio DEFAULT 'X'.
SELECTION-SCREEN : COMMENT 4(10) text-006,
: POSITION 35.
PARAMETERS : p_sumrep RADIOBUTTON GROUP rad1 .
SELECTION-SCREEN : COMMENT 38(10) text-048,
END OF LINE.
SELECTION-SCREEN : END OF BLOCK options.text-003 .......double click on to enter the corresponding text and activate.
Copy Paste The code and see the Difference.
Message was edited by: Manoj Gupta
2006 Jun 08 12:11 PM
Hi,
Thanks a lot for the help.
What to do if i want both the radio buttons as unchecked when my page loads for the first time?
Thanks & Regards,
Vijith
2006 Jun 08 12:15 PM
If you have two radio buttons at any point of time at least one of them should be checked, you cannot have both of them blank, that will produce a short dump.
Regards,
Ravi
Note : Please mark the helpful answers
2006 Jun 08 12:16 PM
Hi,
Remove the Default option from the radio button. ( Not Sure )
it alway takes first rediobutton has default selected when u dont specify the default option.
Message was edited by: Manoj Gupta
2006 Jun 08 12:16 PM
Hi,
it is not possible in case of Radio button, By default one will be checked.
or else go for check boxes.
Regards
vijay
2006 Jun 08 12:19 PM
Hi,
In the initialization event write the code.
INITIALIZATION.
r1 = space.
r2 = space.
2006 Jun 08 12:26 PM
2006 Jun 08 12:36 PM
Hi Vijith,
It is not possible to leave both the radio button unchecked. One will always be checked by default.
What is ur requirement??
Rgds,
Prakashsingh
2006 Jun 08 12:42 PM
Hi Prakash,
I wrote a program wherein the user can select whether to run a Transaction or a report.The selection is done using radio button.
When the page loads i want both the radio buttons to be unchecked.
Regards,
Vijith
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |