HMG 3.4.3
Moderator: Rathinagiri
Help for IDE and Harbour options
Dears
I think I have a problem I can solve varying same HARBOUR options.
I use the IDE and don't know how I can do it.
Someone can guide me?
Thank you very much
I think I have a problem I can solve varying same HARBOUR options.
I use the IDE and don't know how I can do it.
Someone can guide me?
Thank you very much
Re: HMG 3.4.3
It should help me
You need to find information in the database and display it in a grid . I find the fact that grid do not go on that information .
Here's an example
if mes->(Dbseek(Alltrim(cLocalSearchString)))
msginfo(mes->(Recno())) This report 740
msginfo(mes_1.Grid_1.Value) This report 1 1
mes_1.Grid_1.Value := {mes -> (RECNO ()),1}
msginfo(mes_1.Grid_1.Value) This report 100 1 and should 740 1
mes_1.Grid_1.Refresh
msginfo(mes_1.Grid_1.Value) This report 100 1 and should 740 1
else
msginfo("Nema podatka za dati kriterujum "+cPublicSearchString)
if len(cPublicSearchString)-1>0
cPublicSearchString:=Substr( cPublicSearchString,1,len(cPublicSearchString)-1 )
if mes->(Dbseek(Alltrim(cPublicSearchString)))
mes_1.Grid_1.Value := {mes -> (RECNO ()),1}
endif
else
mes_1.Grid_1.Value := {1,1}
mes->(Dbgotop())
endif
endif
Show me where I'm wrong . Thanks in advance
You need to find information in the database and display it in a grid . I find the fact that grid do not go on that information .
Here's an example
if mes->(Dbseek(Alltrim(cLocalSearchString)))
msginfo(mes->(Recno())) This report 740
msginfo(mes_1.Grid_1.Value) This report 1 1
mes_1.Grid_1.Value := {mes -> (RECNO ()),1}
msginfo(mes_1.Grid_1.Value) This report 100 1 and should 740 1
mes_1.Grid_1.Refresh
msginfo(mes_1.Grid_1.Value) This report 100 1 and should 740 1
else
msginfo("Nema podatka za dati kriterujum "+cPublicSearchString)
if len(cPublicSearchString)-1>0
cPublicSearchString:=Substr( cPublicSearchString,1,len(cPublicSearchString)-1 )
if mes->(Dbseek(Alltrim(cPublicSearchString)))
mes_1.Grid_1.Value := {mes -> (RECNO ()),1}
endif
else
mes_1.Grid_1.Value := {1,1}
mes->(Dbgotop())
endif
endif
Show me where I'm wrong . Thanks in advance
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: HMG 3.4.3
Search and problems
When it comes to browse command everything is working properly searches go to the desired style. When used with the data grid from a set everything works as it should also go to the desired style. But when using data from the database grid will not go to the selected track is already behaving as I wrote in a previous message .
Thank in advance
When it comes to browse command everything is working properly searches go to the desired style. When used with the data grid from a set everything works as it should also go to the desired style. But when using data from the database grid will not go to the selected track is already behaving as I wrote in a previous message .
Thank in advance
Re: HMG 3.4.3
Did somebody observe memory leak in applications built with HMG 3.4.3?
My new client works on Windows XP and after 2 hours of works application slows down. Memory usage still grows...
My new client works on Windows XP and after 2 hours of works application slows down. Memory usage still grows...
- luisvasquezcl
- Posts: 1258
- Joined: Thu Jul 31, 2008 3:23 am
- Location: Chile
- Contact:
Re: HMG 3.4.3
Dear,
some time this problem with the instruction MEMORY RELEASE solved.
It can be implemented with a timer. for example:
DEFINE TIMER INTERVAL 1000 Main timer_1 OF ACTION (RELEASE MEMORY)
I hope you will help.
best regards
Luis Vasquez
Estimado,
hace un tiempo se solucionó este problema con la instrucción RELEASE MEMORY.
se puede implementar con un timer. por ejemplo:
DEFINE TIMER Timer_1 OF Main INTERVAL 1000 ACTION ( RELEASE MEMORY )
espero te sea de ayuda.
saludos cordiales
Luis Vasquez
some time this problem with the instruction MEMORY RELEASE solved.
It can be implemented with a timer. for example:
DEFINE TIMER INTERVAL 1000 Main timer_1 OF ACTION (RELEASE MEMORY)
I hope you will help.
best regards
Luis Vasquez
Estimado,
hace un tiempo se solucionó este problema con la instrucción RELEASE MEMORY.
se puede implementar con un timer. por ejemplo:
DEFINE TIMER Timer_1 OF Main INTERVAL 1000 ACTION ( RELEASE MEMORY )
espero te sea de ayuda.
saludos cordiales
Luis Vasquez
Re: HMG 3.4.3
Thank you Luis for pointing! I've missed this. I'll try this solution.
- dragancesu
- Posts: 921
- Joined: Mon Jun 24, 2013 11:53 am
- DBs Used: DBF, MySQL, Oracle
- Location: Subotica, Serbia
Re: HMG 3.4.3
I tried version 3.4.3 on windows 10 64bit and encountered the problem, trying to make a compilation of 64-bit application
How to tell the compiler to produce 32-bit application?
How to tell the compiler to produce 32-bit application?
- mustafa
- Posts: 1158
- Joined: Fri Mar 20, 2009 11:38 am
- DBs Used: DBF
- Location: Alicante - Spain
- Contact:
Re: HMG 3.4.3
Hola Luis:
Fabuloso tu solución
estoy experimentando con ACTIVEX WMPlayer.OCX.7 que mediante
una lista tocan las canciones seguidas.
Con RELEASE MEMORY
De CPU ->20 % e pasado 18,4 % como máximo
De Memoria -> 60,1 MB a Memoria 4,6 MB
El INTERVAL 1000, si se incrementa disminuye la Memoria ?
Hay muy poca diferencia Compilando a 32 bits o a 64 bits.
Saludos
*-------------------------------------------------------------------------*
Hello Luis:
Fabulous your solution
I'm experimenting with ACTIVEX WMPlayer.OCX.7 that by
a list play the songs in a row.
With RELEASE MEMORY
CPU -> 20% and 18.4% maximum passed
Memory -> 60.1 MB to 4.6 MB Memory
The INTERVAL 1000, if it increases decreases memory?
There is little difference Compiling 32 bits or 64 bits.
Regards
Mustafa
Fabuloso tu solución
estoy experimentando con ACTIVEX WMPlayer.OCX.7 que mediante
una lista tocan las canciones seguidas.
Con RELEASE MEMORY
De CPU ->20 % e pasado 18,4 % como máximo
De Memoria -> 60,1 MB a Memoria 4,6 MB
El INTERVAL 1000, si se incrementa disminuye la Memoria ?
Hay muy poca diferencia Compilando a 32 bits o a 64 bits.
Saludos
*-------------------------------------------------------------------------*
Hello Luis:
Fabulous your solution
I'm experimenting with ACTIVEX WMPlayer.OCX.7 that by
a list play the songs in a row.
With RELEASE MEMORY
CPU -> 20% and 18.4% maximum passed
Memory -> 60.1 MB to 4.6 MB Memory
The INTERVAL 1000, if it increases decreases memory?
There is little difference Compiling 32 bits or 64 bits.
Regards
Mustafa
Re: HMG 3.4.3
Hi all forum members. I'm new user.
I would like to thank the authors and the contributors for great HMG tools.
-----
And "RELEASE MEMORY" is not helpful.
Please check it with a simple test program:
I would like to thank the authors and the contributors for great HMG tools.
-----
I confirm this. On Win-XP memory usage is growing very quickly.mol wrote:Did somebody observe memory leak in applications built with HMG 3.4.3?
My new client works on Windows XP and after 2 hours of works application slows down. Memory usage still grows...
And "RELEASE MEMORY" is not helpful.
Please check it with a simple test program: