2008 Mar 04 11:32 AM
Hi All,
I want to add tooltip text to a radiobutton on a selection screen in a report program. The text I provide in selection-texts is also not appearing. Please suggest how this can be achieved.
My source code is
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS p_nogen RADIOBUTTON GROUP rad USER-COMMAND fcode DEFAULT 'X' .
PARAMETER p_lowgen RADIOBUTTON GROUP rad.
PARAMETER p_inprd RADIOBUTTON GROUP rad.
PARAMETER p_upgen RADIOBUTTON GROUP rad.
PARAMETER p_outprd RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF BLOCK b1.
This is really urgent.
Thanks in advance. <REMOVED BY MODERATOR>
Regards,
Anju
Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:33 PM
Hi All,
I want to add tooltip text to a radiobutton on a selection screen in a report program. The text I provide in selection-texts is also not appearing. Please suggest how this can be achieved.
My source code is
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS p_nogen RADIOBUTTON GROUP rad USER-COMMAND fcode DEFAULT 'X' .
PARAMETER p_lowgen RADIOBUTTON GROUP rad.
PARAMETER p_inprd RADIOBUTTON GROUP rad.
PARAMETER p_upgen RADIOBUTTON GROUP rad.
PARAMETER p_outprd RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF BLOCK b1.
This is really urgent.
Thanks in advance. <REMOVED BY MODERATOR>
Regards,
Anju
Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:33 PM
2008 Mar 04 11:38 AM
Hi,
Go to Menu bar--> Text elements --> Selection Texts --> Text column make some change like press space bar --> And save it again.
Probably this time you may get the selection texts.
Thanks,
Sriram Ponna
2008 Mar 04 11:41 AM
Use the below code
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS p_nogen RADIOBUTTON GROUP rad USER-COMMAND fcode DEFAULT 'X' .
PARAMETER p_lowgen RADIOBUTTON GROUP rad.
PARAMETER p_inprd RADIOBUTTON GROUP rad.
PARAMETER p_upgen RADIOBUTTON GROUP rad.
PARAMETER p_outprd RADIOBUTTON GROUP rad.
SELECTION-SCREEN END OF BLOCK b1.
@5F\Q<info text as per ur wish>@p_nogen
@5F\Q<info text as per ur wish>@p_lowgen
@5F\Q<info text as per ur wish>@p_inprd
@5F\Q<info text as per ur wish>@p_upgen
@5F\Q<info text as per ur wish>@p_outprd
Regards,
Chandru
2008 Mar 04 11:56 AM
Hi,
Where do I write the statement "@5F\Q<info text as per ur wish>@p_nogen." as it gives me a syntax error as an independent statement. Do I write it in addition to the parameter statement?
Regards,
Anju
2008 Mar 04 12:16 PM
Hi
in menubar goto->text elements>selection texts-->
der u ll find all ur parameters...........against ur radio buttons write these texts....
Cheers,
jose.
2008 Mar 04 12:43 PM
Hi Jose,
I am writing the following code in my selection-texts but I do not see the tooltip texts.
P_INPRD @5F\QTEST1@p_inprd
P_LOWGEN @5F\QTEST1@p_lowgen
P_NOGEN @5F\QTEST1@p_nogen
P_OUTPRD @5F\QTEST1@p_outprd
P_UPGEN @5F\QTEST1@p_upgen
Please also tell what does this syntax mean
@5F\Q....
Thanks in advance.
Regards,
Anju
2008 Mar 04 1:23 PM
Hi,
@5F@ is an icon( space ) so nothing ll appear....@5F\Q tool tip@ provides tool tip for dat icon ( any thing followed by Q/.....).....ok...if u want change it like this @10\Q tool tip@ an icon ll appear and if u keep de cursor above it its tool tip ll come........since we are using @5F@ icon ll not appear but the associated tool tip ll come...........
by the way wats? comming in ur sel-screen against ur radio buttons...........
Cheers,
jose......
2008 Mar 04 1:41 PM
Hi Jose,
I have tried adding the text in selection texts but its not appearing in my screen. Only radio buttons without any text are displayed on the selection screen.
Thanks & Regards,
Anju
2008 Mar 05 3:48 AM
Hi,
are u declaring those radiobuttons within Selection-screen Begin of line and Selection-screen End of line sattements???
2008 Mar 05 5:24 AM
Hi Jose,
I am using begin of line and end of line.
Regards,
Anju
2008 Mar 05 5:56 AM
Hi,
If u want it only in a line code like below......
SELECTION-SCREEN BEGIN OF line.
PARAMETER p_r1 RADIOBUTTON GROUP rad USER-COMMAND rad.
selection-screen COMMENT 2(22) text1.
PARAMETER p_r2 RADIOBUTTON GROUP rad.
selection-screen COMMENT 27(22) text2.
SELECTION-SCREEN END OF line.
INITIALIZATION.
text1 = '@5F\Q<info1>@button 1'.
text2 = '@5F\Q<info2>@button 2'.Cheers,
jose.
2008 Mar 05 8:20 AM
Hi Jose,
I was able to add a tooltip for the field, but just wanted to know if there is a limit on the length of the text which we can provide as the tooltip. The code functions well if I provide a tooltip of length 5. But beyond that the code is inneffective.
Regards,
Anju
2008 Mar 05 9:35 AM
No not like dat.....u have to increase the comment's length
SELECTION-SCREEN BEGIN OF line.
PARAMETER p_r1 RADIOBUTTON GROUP rad USER-COMMAND rad.
selection-screen COMMENT 2(32) text1. "length increased
PARAMETER p_r2 RADIOBUTTON GROUP rad.
selection-screen COMMENT 37(32) text2.
SELECTION-SCREEN END OF line.
INITIALIZATION.
text1 = '@5F\Q<info1 hi hello>@button 1'.
text2 = '@5F\Q<info2 welcome>@button 2'.
Cheers,
jose.
2008 Mar 04 11:41 AM
Hi Anju,
Please check if you are saving and ACTIVATING the selection-texts after you create them and
in selection texts of ur radio buttons(say p_nogen and p_lowgen) write the following...
for p_nogen write @5F\Q<First Button Tool Tip>@ p_nogen
for p_lowgen write @5F\Q<Second Button Tool Tip>@ p_lowgen
By doing this whenever the radiobutton p_nogen is pointed at a tool tip saying First Button Tool Tip will appear on the selection screen.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:34 PM
2008 Mar 04 11:51 AM
Hi
You can have a tooltip for a Radio Button on Selection screen as follows:
Step 1: Declare the radio buttons as follows:
parameter: p_test1 radiobutton group grp1,
p_test2 radiobutton group grp1.Step 2: Click on Goto->Text Elements-> Selection Texts
Step 3: Here do not give the description you want directly. Instead do the following:
For P_TEST1: @5F\Q TEST1 @ RADIO_BUTTON_1
For P_TEST2: @5F\Q TEST2 @ RADIO_BUTTON_2
Note: Here 'TEST1' and 'TEST2' are the tool tips. You can write anything you want here as the tooltip.
RADIO_BUTTON_1 and RADIO_BUTTON_2 are the descriptions (i.e the text which you want it to appear next to radio button...write the description you want.
You will get the tooltip now. But remember, the tooptip would be displayed only for the radio button which is not selected. Place the mouse pointer over the non selected radio button for 2 to 3 seconds, and the tool tip will come.
Thanks
Vijay
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |