2007 Apr 09 5:27 AM
Hi guys,
I have a pushbutton, how can i change its attributes in position coordinates dynamically? is it possible?
OR
how to subsitute a pushbutton dynamically with another pushbutton?
example:
button1 will be swapped with button2.
for now, i only can make them visible and invisible.. but i cant put them at the same spot together.
does anyone have some suggestions? thank you very much.
Hi guys,
I have a pushbutton, how can i change its attributes in position coordinates dynamically? is it possible?
OR
how to subsitute a pushbutton dynamically with another pushbutton?
example:
button1 will be swapped with button2.
for now, i only can make them visible and invisible.. but i cant put them at the same spot together.
does anyone have some suggestions? thank you very much.
2007 Apr 09 5:44 AM
Hi,
Overlaping pushbuttons in not possible. I think you are right in one way. You can put both the buttons adjucent to each other and make them visible as and when needed.
On based on condition change the functionality of the push-botton... i.e use your conditions along with Function code.
Darshan
2007 Apr 09 6:30 AM
hi darshan,
can you explain in more detail? because i only managed to make the buttons like this:
IF sy-ucomm = 'ACPT' AND NOT ld_ran_aufnr IS INITIAL.
LOOP AT SCREEN.
IF screen-name = 'MUL_B1'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'MUL_B1A'.
screen-invisible = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
button mul_b1 is next to mul_b1a.. if possible is there any other way to make it almost like overlapping? like swapping? or change its coordinates?
thanks
2007 Apr 09 6:37 AM
one more way is , based on the conditions call 2 diff PF-status ?
or make use of EXCLUDINFG Fcodes along with PF status.
Regards
Prabhu
2007 Apr 09 7:39 AM
2007 Apr 10 11:35 AM
Hi,
It seems that, It is not possible to position coordinates dynamically.
If you want to behave pushbutton differently that you can mangae with some flag in program, that will decide runtime behaviour of that pushbutton.
I dont know your exact requirement, pl tell me in brief so that we may get some solution.
Anyway, try to think diffectent LOGIC....
Jogdand M B
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |