HMG 3.4.4
Moderator: Rathinagiri
- serge_girard
- Posts: 3170
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HMG 3.4.4
You're welcome, Marek.
I don't use IDE anymore since it crashes to often. And FMG is not my thing.... I'd rather keep it in my PRG!
Serge
I don't use IDE anymore since it crashes to often. And FMG is not my thing.... I'd rather keep it in my PRG!
Serge
There's nothing you can do that can't be done...
Re: HMG 3.4.4
Hi Serge!
You keep everything in PRG and such a situation happens to you, so, it's HMG error, I think.
You keep everything in PRG and such a situation happens to you, so, it's HMG error, I think.
Re: HMG 3.4.4
This solution works ok in above sample, but in my application not. What's going on?
- serge_girard
- Posts: 3170
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HMG 3.4.4
I've checked. It's strange - there was no MAIN declaration - forn created by IDE.
I've added, but without positive results.
I've added, but without positive results.
- serge_girard
- Posts: 3170
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HMG 3.4.4
Marek,
If IDE changes FMG then close IDE, check FMG and try to compile with bat-file.
Serge
If IDE changes FMG then close IDE, check FMG and try to compile with bat-file.
Serge
There's nothing you can do that can't be done...
Re: HMG 3.4.4
Ide changes fmg file during save operation
Re: HMG 3.4.4
I've tested this wrong behaviour with HMG341 and works bad, too
I must install new version today and only one solution is to move window definitions to prg file. Stupid work...
It's strange but moving code to prg does not give solution to problem.
I've added timer to main form, which call function WhereAmI() which puts active form name in status bar
After closing my modal form, GetActiveWindow() returns 0 - it should be MainForm handle in my opinion. So, what causes such a strange behaviour?
I must install new version today and only one solution is to move window definitions to prg file. Stupid work...
It's strange but moving code to prg does not give solution to problem.
I've added timer to main form, which call function WhereAmI() which puts active form name in status bar
Code: Select all
function WhereAmI()
local hWin := GetActiveWindow()
local i
local cFormName := ""
i:= ascan( _HMG_SYSDATA[67], hWin)
if i>0
cFormName := _HMG_SYSDATA[66][i]
endif
MainForm.StatusBar.Item(1) := cFormName + " "+str(hWin)+ " " + time()
return .t.
- serge_girard
- Posts: 3170
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: HMG 3.4.4
Marek,
if you want to share complete source in order to debug, please use Private Message!
Serge
if you want to share complete source in order to debug, please use Private Message!
Serge
There's nothing you can do that can't be done...
Re: HMG 3.4.4
Thank you Serge, it's huge application and it will be hard to you to debug thi because of language barrier