Migration from Clipper to HMG
Moderator: Rathinagiri
Re: Migration from Clipper to HMG
Thank you very much,
I am going to study it
SHOKRANE katiren
I am going to study it
SHOKRANE katiren
L'Algerie vous salut
Y.TABET
Y.TABET
Re: Migration from Clipper to HMG
My problem was to change the name of main.fmg
once more thank you
I am going to try something else examples.
Shokrane katiren
once more thank you
I am going to try something else examples.
Shokrane katiren
L'Algerie vous salut
Y.TABET
Y.TABET
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Migration from Clipper to HMG
Afven; pas de quoi mon ami
Not the problem, but the reality is that HMG assumes all source file ( especially .fmg ) are in the same directory with project file (.hbp)
Happy HMG'ing
Not the problem, but the reality is that HMG assumes all source file ( especially .fmg ) are in the same directory with project file (.hbp)
Happy HMG'ing
Viva INTERNATIONAL HMG
Re: Migration from Clipper to HMG
good evening to all the team,
please how to block the main window when I'm working in another window ? thank you very much
please how to block the main window when I'm working in another window ? thank you very much
L'Algerie vous salut
Y.TABET
Y.TABET
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Migration from Clipper to HMG
Hello Tabettonton2 wrote:good evening to all the team,
please how to block the main window when I'm working in another window ? thank you very much
Please be more specific: what do you want say by "blocking" window ?
Close, hide, disable etc ?
Bon soiré
Viva INTERNATIONAL HMG
Re: Migration from Clipper to HMG
bonsoir mr ESGICI ,
closed or hidden is the same thing , it is to not use the main window when I use another window
Example, when I use MsgInfo is good as long as I do not press' OK ' but when I call a function such as Action CALL () I can go back to the main window without leaving the CALL ()
Merci et bonne soirée
NB that what i used 'ACTION RECH_FAC(Win_1.HIDE)'
closed or hidden is the same thing , it is to not use the main window when I use another window
Example, when I use MsgInfo is good as long as I do not press' OK ' but when I call a function such as Action CALL () I can go back to the main window without leaving the CALL ()
Merci et bonne soirée
NB that what i used 'ACTION RECH_FAC(Win_1.HIDE)'
L'Algerie vous salut
Y.TABET
Y.TABET
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Migration from Clipper to HMG
If I understood correct, you need simply define the non-main window as MODAL. If a window defined "modal", while this window is open; user can't make anything on the "caller" window of that "modal" window. A "modal" window may be called by the "main" or another else.tonton2 wrote: ...
closed or hidden is the same thing , it is to not use the main window when I use another window
Example, when I use MsgInfo is good as long as I do not press' OK ' but when I call a function such as Action CALL () I can go back to the main window without leaving the CALL ()
Merci et bonne soirée
NB that what i used 'ACTION RECH_FAC(Win_1.HIDE)'
As your sample, MsgInfo() ( and all windows open by Msgxxx functions ) are "modal"; so, user can't use another window until closed ( by answering question(s) or simply pressing red "X" button ) that "modal" window.
I hope this will help you.
Happy HMG'ing
Viva INTERNATIONAL HMG
Re: Migration from Clipper to HMG
Bonsoir, Monsieur.
Sorry if I misunderstand what it is that you're trying to do, but I think that you want to disable any possible action(s) on the main window while the called window is active to receive instruction(s).
If so, you might want to try creating two new functions, such as SHUT_MAIN(), invoked as soon as your "CALL()" function starts, which sets all of the active options in Main to "Enabled := .F." and the other, such as OPEN_MAIN(), invoked when "CALL()" is released, to set everything back to "Enabled :- .T."
Hope this helps!
CalScot
I've just seen Esgici's response, which came up before I could post mine, and I will always defer to his mastery, but perhaps my reply might be of some help.
Sorry if I misunderstand what it is that you're trying to do, but I think that you want to disable any possible action(s) on the main window while the called window is active to receive instruction(s).
If so, you might want to try creating two new functions, such as SHUT_MAIN(), invoked as soon as your "CALL()" function starts, which sets all of the active options in Main to "Enabled := .F." and the other, such as OPEN_MAIN(), invoked when "CALL()" is released, to set everything back to "Enabled :- .T."
Hope this helps!
CalScot
I've just seen Esgici's response, which came up before I could post mine, and I will always defer to his mastery, but perhaps my reply might be of some help.
Re: Migration from Clipper to HMG
Hello everyone,
Thank you very much for your help,This is the method that I used to hide the main window
"
then to open new Win_1 I used:
it seems to work.
I am going to try your suggestions.
thank you very much
Thank you very much for your help,This is the method that I used to hide the main window
Code: Select all
ITEM "&Recherche de Factures Emise" ;
ACTION RECH_FAC(Win_1.Hide)
then to open new Win_1 I used:
Code: Select all
proc Quit_RECH_FAC()
use
Show Window win_1
form_FGrids.Release // quit
return
I am going to try your suggestions.
thank you very much
L'Algerie vous salut
Y.TABET
Y.TABET
Re: Migration from Clipper to HMG
I used MODAL method and it is a very good solution !If I understood correct, you need simply define the non-main window as MODAL. If a window defined "modal", while this window is open; user can't make anything on the "caller" window of that "modal" window. A "modal" window may be called by the "main" or another else.
Thank you to all
Good day
L'Algerie vous salut
Y.TABET
Y.TABET