basilhs_s
asked on
powerbuilder display only windows
we have two windows w_test1 and w_test2 (w_test1 is a main and w_test2 is a response window). w_test1 has a push button on (lets call it pb_continue). both windows have a datawindow inside them (dw_1)
what we want to do is the following
========================== ====
1) open w_test1 and w_test2 simultanesouly. w_test1 will receive focus while w_test2 will be a display only window. (it will be used as background for w_test1).
2) w_test2 will receive focus when pb_continue button will be pressed.
how can we do it?
we want to avoid using opensheet command.
what we want to do is the following
==========================
1) open w_test1 and w_test2 simultanesouly. w_test1 will receive focus while w_test2 will be a display only window. (it will be used as background for w_test1).
2) w_test2 will receive focus when pb_continue button will be pressed.
how can we do it?
we want to avoid using opensheet command.
ASKER
the reason that we prefer to have w_test2 as response is that its main and user clickes by mistake in a area outside it its minimized.
how can we open anyway both windows in the beginning with focus only in w_test1?
how can we open anyway both windows in the beginning with focus only in w_test1?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks sandeep .i will check it tomorrow
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks rosh. i noticed that the windows were minimized when i clicked outside their area. i ll check want you mentioned tomorrow
ASKER
solution is working perfectly with one side-effect however. if messages are going to be displayed (thru messagebox statements or thru operating system/sql-server) sometimes they do appear behind w_test2 (at least a part of them) can we do something about it?
ASKER
thaks both of you
change w_test2 as main and when user clicks on that button write w_test2.bringtotop = TRUE
Regards,
Sandeep