Hi All,
A new attempt
Thanks in advance for test and report.
Regards,
Roberto.
HMG 2.9.2 (Forum test III)
Moderator: Rathinagiri
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
HMG 2.9.2 (Forum test III)
- Attachments
-
- hmg292-3.rar
- (369.93 KiB) Downloaded 286 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 2.9.2 (Forum test III)
Hi Maestro
Thanks a lot for this new release
Tested for some random built (old) projects, it seems no problem.
Unfortunately I'm not sure understanding new feature : property style synonyms
Here is my test prg :
It produce most annoying error : Syntax error at WINDOW
Where I'm wrong
Thanks in advance with best regards.
--
Esgici
Thanks a lot for this new release
Tested for some random built (old) projects, it seems no problem.
Unfortunately I'm not sure understanding new feature : property style synonyms
Here is my test prg :
Code: Select all
/*
Testing property style synonyms for the DEFINE WINDOW command clauses introduced by HMG 2.9.2
*/
#include "minigui.ch"
PROC Main()
DEFINE WINDOW frmSynsTest ;
ROW 0 ;
COL 0 ;
WIDTH 520 ;
HEIGHT 400 ;
TITLE 'Tests for property style synonyms' ;
WindowType "MAIN" ;
Visible .T. ;
AutoRelease .F. ;
MinButton .T. ;
MaxButton .F. ;
Sizable .F. ;
SysMenu .F. ;
TitleBar .T. ;
FontName "FixedSys" ;
FontSize 12 ;
HelpButton .T. ;
Break .T. ;
Focused .T. ;
Topmost .T.
END WINDOW // frmSynsTest
frmSynsTest.Center
frmSynsTest.Activate
RETU // Main()
*-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.
Where I'm wrong
Thanks in advance with best regards.
--
Esgici
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 2.9.2 (Forum test III)
You must not use quotes for Main.esgici wrote:Hi Maestro
<...>
Unfortunately I'm not sure understanding new feature : property style synonyms
<...>
WindowType "MAIN" ;
<...>
It produce most annoying error : Syntax error at WINDOW
Where I'm wrong
Thanks in advance with best regards.
And... this is not exactly a feature. The purpose for this, is consistency and easyness.
The syntax:
<PropertyName> <PropertyValue>
IMHO, is easier to understand and remember. Besides that, its consistent with IDE, where (ie) for windows you use 'row' and 'col' properties instead AT <row> , <col>.
I've attached the new help text for 'define window'. Please, take a look at it.
Regards,
Roberto.
- Attachments
-
- definewindow.rar
- (3.51 KiB) Downloaded 302 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 2.9.2 (Forum test III)
Thanks Maestro
Now it's more clear
Best Regards
--
Esgici
Now it's more clear
Best Regards
--
Esgici
Viva INTERNATIONAL HMG
Re: HMG 2.9.2 (Forum test III)
Thanks master for this update.
with best regards,
with best regards,
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: HMG 2.9.2 (Forum test III)
A little more clarification:esgici wrote:Thanks Maestro
Now it's more clear
Best Regards
--
Esgici
For controls (alternate syntax) you can define it as non-visible at definition via:
VISIBLE .F.
To do the same for windows you must add NOSHOW clause.
The idea is that you be able to do the same thing using the same syntax (or logic).
So, you can define a non visible window now in the same way that you define a non visible control via alternate syntax (as I've said: VISIBLE .F.)
The same is applicable to a lot of properties.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG 2.9.2 (Forum test III)
Thanks for clarifications, Maestro
Best Regards
--
Esgici
Best Regards
--
Esgici
Viva INTERNATIONAL HMG