dialog window [message #387140] |
Wed, 18 February 2009 00:47 |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
I have form that has two windows. A main window that has a datablock from a table in my database and a button. When the button is clicked, the other window (dialog window) appears and has a datablock that is created manually and has 3 list items and one button.
After I finish from this datablock I get back to the main window. If I click the button for the second time to go to that dialog window, the fields in that datablock doesn't appear unless i press the Tab key and the button in that dialog doesn't work
[Updated on: Wed, 18 February 2009 07:36] Report message to a moderator
|
|
|
|
Re: dialog window [message #387523 is a reply to message #387140] |
Thu, 19 February 2009 14:02 |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
go_block('control2');
go_item('div_list');
control2 is a datablock that is created manually and has three list items and two buttons
div_list is the first list item i want the cursor to be there when the dialog window opens
|
|
|
|
|
|
Re: dialog window [message #389290 is a reply to message #388255] |
Sat, 28 February 2009 02:04 |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
Ok here is what I have
In the main window I have a button has this code:
go_block('control2'); --> to go to the dialog window
Control2 is a datablock created manually and it is in a seperate dialog window, in this dialog window i have button has the following code:
insert into wo_det values(:wo_trans.wo_no,:control2.unit_list,
:control2.dept_list,1,1,0,0,null,null,null);
commit;
go_block('wo_det'); --> to go back to the main window
|
|
|
|
Re: dialog window [message #393959 is a reply to message #389895] |
Wed, 25 March 2009 03:39 |
imuharram
Messages: 48 Registered: January 2009
|
Member |
|
|
Ok, I found out what's happening but i don't know how to solve it.
The position of the fields changes.
As attached, you could see a main window, when I press the button "Change password", the dialog window appears in the corner and all the fields are in their right place. When I press "Cancel" and go back to the main window, I press again "Change password" and the dialog appears again but the fields are not in their right place. It's either the window changed its coordinates or the fields their position without me know ing why. How could I solve this problem?
|
|
|
|
|
|