FMG Editor

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: FMG Editor

Post by srvet_claudio »

Pablo César wrote:

srvet_claudio wrote:
HMG_GETFREEMEM() --> GlobalMemoryStatusEx () [3]

Thank you Claudio for your explanation and indication. I just replaced and working perfectly, but only compile with HMG.3.3.0.
Is a new function of HMG.3.3.0
Pablo César wrote:Fijate Claudio que mi ToolBarButtons aparece y el fondo que era griz quede transparente para que el usuário pueda tomar los colores del desktop, pero quisiera que mi ToolBar apareciera. Y hé intentado de todo y habia desistido dejando apenas el desktop entero como pantalla capturada/exibida. Pero no me está capturando en el clipboard ni exibiendo en el StatusBar porque mi ToolBar no está más exibiendolo. Me gustaria hacerlo funcionar como quiero, cuando tengas un tiempito y me puedas mostrar el camino, te lo agradezco.
Ni bien pueda le doy una mirada a tu código.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: FMG Editor

Post by Pablo César »

OK, Claudio. Espero, gracias.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: FMG Editor

Post by Javier Tovar »

Hola Pablo César,

Solo curiosidad, que paso con este proyecto?

Saludos y un abrazo :)
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: FMG Editor

Post by bpd2000 »

Javier Tovar wrote:Hola Pablo César,

Solo curiosidad, que paso con este proyecto?

Saludos y un abrazo :)
+1
BPD
Convert Dream into Reality through HMG
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Global Memory Status Extended Sample

Post by esgici »

Thanks doc, very useful ( as always ) :arrow:

Regards
Attachments
GMemStatEx.zip
Global Memory Status Extended Sample ( Source )
(670 Bytes) Downloaded 345 times
Viva INTERNATIONAL HMG :D
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

FMG Editor

Post by Pablo César »

Javier Tovar wrote:Hola Pablo César,

Solo curiosidad, que paso con este proyecto?

Saludos y un abrazo :)
Desmotivación, Javier. Precisé ayuda y todavia no la obtuve.

Abrazos
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: FMG Editor

Post by dragancesu »

Subscribe to this forum, and now I've found this topic which was very interesting, but I do not use FMG because I prefer PRG version where it is easier to inspect the code, so I'm used to

What confuses me with HMG are two syntaxes, standard xBase and alternative, sometimes not the same parameters, it's all there but a little different

I had a dilemma FMG or PRG so I decided to PRG

Now I have a dilemma standard or alternative syntax, is some better, maybe easier for the compiler or something?

Both have their advantages, but I wonder whether a better?
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

FMG Editor

Post by Pablo César »

dragancesu wrote:I prefer PRG version where it is easier to inspect the code, so I'm used to

What confuses me with HMG are two syntaxes, standard xBase and alternative, sometimes not the same parameters, it's all there but a little different
In red color you mean FMG instead HMG, right ? Sorry I can not understand you when you said is standard xBase and alternative. What do you try to mean ? Give us examples to better understand you. You mean @ say... and DEFINE or what ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
dragancesu
Posts: 921
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: FMG Editor

Post by dragancesu »

That's what I meant

For each control in the HMG references are given two options and to

Standard Syntax (xBase Style):

@ <Nrow>, <NcoI>
BUTTON <ControlName>...
and

Alternate Syntax:

DEFINE BUTTON <buttonname>
PARENT <ParentWindowName>...

The second syntax is used to generate the files FMG

Whether something is better and why?
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

FMG Editor

Post by Pablo César »

But this syntax question is just for retro-compatibilities. You can do it as you want, the important there are both way you can use and be defined in syntax.ch which is interpreted as must it be. This is not faster and nor lower way, it is just to simplify the way to use each elements.

For example, to make a BUTTON, HMG uses _DefineButton function and needs all following parameters:

<"name">,
<"parent">,
<col>,
<row>,
<caption>,
<{action}>,
<w>,
<h>,
<font>,
<size>,
<tooltip>,
<{gotfocus}>,
<{lostfocus}>,
<.flat.>,
<.notabstop.>,
<helpid>,
<.invisible.>,
<.bold.>,
<.italic.>,
<.underline.>,
<.strikeout.> ,
<.multiline.>

So, as It needs so many parameters, many of it can assume default value then i_altsyntax.ch helps to defining these missing parameters.

Regarding IDE is practically made to help in Forms creation and this forms is made strictly in the DEFINE way just because it is made by IDE program and it makes attending with all properties of each controls. But this FMG_Editor can uses both ways in FMG files, because HMG library permits to interpret as it needed for.

But your questins here is nothing with FMG_Editor, right ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply