Hi
Thanks for your replies.
dragancesu wrote: ↑Fri Oct 09, 2020 6:28 am
What do you think when you write "multiwin" ?
Probably to open a new window depending on some parameters, but it is better to make one program/window which you will manage through parameters
Depending on the parameters you display or not some fields, you do it all on one form instead of 3 in your example
It would be good to attach a little more code
Yes I would like to open the same forms as when I closed the previous session of the app. I save the parameters in the ini file to reopen the same forms in the next session. This forms must be
all visible on the screen.
For example this code do that :
Code: Select all
**********
Function open_win_Combi
********
IF !IsWindowDefined(Win_browser).AND.!IsWindowDefined(Win_PlView)
PLAY WAVE Img_path0+"open_Scratch2.wav"
Pl_First_entry:=.T.
Load Window Win_browser
Load Window Win_PlView
go recno()
Activate Window Win_browser, Win_PlView
else
etc ......
To be both visible on the screen the names of the forms must be activate on the same line separated with commas.
So impossible to put a condition.
To be clear : the code in my previous post don't do of course what I would like.
Note :
the code of Adr_view() (for example) is :
Code: Select all
*****************
Function Adr_view
*************
IF !IsWindowDefined(Win_Adr_view)
Adr_First_entry:=.T.
PLAY WAVE Img_path0+"open_Scratch2.wav"
Load Window Win_Adr_view
Win_Adr_view.Search_1.setfocus
Activate Window Win_Adr_view
endif
return
So, I hope that my request is more clear.
Dominique