HMG announcements; Latest HMG-related news, releases, fixes and updates.
Moderator: Rathinagiri
Roberto Lopez
HMG Founder
Posts: 4004 Joined: Wed Jul 30, 2008 6:43 pm
Post
by Roberto Lopez » Thu May 28, 2009 3:06 am
Hi All,
Please test and report any problem you found.
Code: Select all
- Harbour MiniGUI 2.9.2 Changelog:
English:
--------
- Fixed: Print Preview. 'go to page' window not refresh preview window.
- New: Property style synonyms for the following DEFINE WINDOW command clauses:
- WindowType (Main/Modal/Child/SpltChild Clauses)
- Visible (NoShow Clause)
- AutoRelease (NoAutoRelease Clause)
- MinButton (NoMinimize Clause)
- MaxButton (NoMaximize Clause)
- Sizable (NoSize Clause)
- SysMenu (NoSysMenu Clause)
- TitleBar (NoCaption Clause)
- FontName (Font Clause)
- FontSize (Size Clause)
- HelpButton (HelpButton Clause)
- Break (Break Clause)
- Focused (Focused Clause)
- Topmost (Topmost Clause)
Thanks in advance.
Regards,
Roberto.
Attachments
hmg292.rar
(386.73 KiB) Downloaded 310 times
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Rathinagiri
Posts: 5471 Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:
Post
by Rathinagiri » Thu May 28, 2009 7:04 am
So, now we have many options. Thanks Roberto.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
Roberto Lopez
HMG Founder
Posts: 4004 Joined: Wed Jul 30, 2008 6:43 pm
Post
by Roberto Lopez » Thu May 28, 2009 12:10 pm
rathinagiri wrote: So, now we have many options. Thanks Roberto.
The idea is to give to the window definition a 'property style' for all clauses used at definition time, being consistent with controls that have full 'property style' via alternate syntax for all properties.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Vanguarda
Posts: 543 Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:
Post
by Vanguarda » Thu May 28, 2009 12:38 pm
HI all,
Thanks Master Roberto. Very nice this update...
with best reagrds,
shridhar
Posts: 32 Joined: Mon May 25, 2009 5:24 am
Post
by shridhar » Thu May 28, 2009 12:40 pm
Thanks a lot ..! Master.
gfilatov
Posts: 1082 Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:
Post
by gfilatov » Thu May 28, 2009 1:00 pm
Roberto,
I want to say about some optimization again
How about to change this multiline definition in the
i_window.ch
Code: Select all
#xcommand DEFINE WINDOW <w> ;
...
[ FONT <FontName> SIZE <FontSize> ] ;
...
[ FONTNAME <FontName> FONTSIZE <FontSize> ] ;
with the following
one line
Code: Select all
#xcommand DEFINE WINDOW <w> ;
...
[ <dummy1: FONT, FONTNAME> <FontName> <dummy2: SIZE, FONTSIZE> <FontSize> ] ;
...
Just my 2 cents...
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Roberto Lopez
HMG Founder
Posts: 4004 Joined: Wed Jul 30, 2008 6:43 pm
Post
by Roberto Lopez » Thu May 28, 2009 1:25 pm
gfilatov wrote: Roberto,
I want to say about some optimization again
How about to change this multiline definition in the
i_window.ch
Code: Select all
#xcommand DEFINE WINDOW <w> ;
...
[ FONT <FontName> SIZE <FontSize> ] ;
...
[ FONTNAME <FontName> FONTSIZE <FontSize> ] ;
with the following
one line
Code: Select all
#xcommand DEFINE WINDOW <w> ;
...
[ <dummy1: FONT, FONTNAME> <FontName> <dummy2: SIZE, FONTSIZE> <FontSize> ] ;
...
Just my 2 cents...
Thanks!
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
esgici
Posts: 4543 Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:
Post
by esgici » Thu May 28, 2009 7:19 pm
Roberto Lopez wrote:
... test and report any problem you found.
Hi Maestro
While
Code: Select all
MsgBox( "Window Row is : " + LTRIM( STR( ThisWindow.Row ) ) )
and
Code: Select all
MsgBox( "Window Row is : " + LTRIM( STR( GetProperty( <cWindowName>, "Row" ) ) ) )
producing correct values;
Code: Select all
MsgBox( "Window type is : " + ThisWindow.WindowType )
produced :
Error E0030 Syntax error: "syntax error at '.'"
and
Code: Select all
MsgBox( VALTYPE( GetProperty( <cWindowName>, "WindowType" ) ) )
produced : "
U "
Other "property style synonyms" are seeming the same.
Best Regards
--
Esgici
Viva
INTERNATIONAL HMG
Roberto Lopez
HMG Founder
Posts: 4004 Joined: Wed Jul 30, 2008 6:43 pm
Post
by Roberto Lopez » Thu May 28, 2009 10:22 pm
esgici wrote: Roberto Lopez wrote:
... test and report any problem you found.
Hi Maestro
While
Code: Select all
MsgBox( "Window Row is : " + LTRIM( STR( ThisWindow.Row ) ) )
and
Code: Select all
MsgBox( "Window Row is : " + LTRIM( STR( GetProperty( <cWindowName>, "Row" ) ) ) )
producing correct values;
Code: Select all
MsgBox( "Window type is : " + ThisWindow.WindowType )
produced :
Error E0030 Syntax error: "syntax error at '.'"
and
Code: Select all
MsgBox( VALTYPE( GetProperty( <cWindowName>, "WindowType" ) ) )
produced : "
U "
Other "property style synonyms" are seeming the same.
Best Regards
--
Esgici
It's an error, but in documentation, since these new properties are available at control definition only and should be tagged with (D) in the documentation.
Properties available at control definition are not available at SetProperty and GetProperty functions nor semi-oop syntax.
I'll fix the documentation.
Thanks for reporting.
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto Lopez
HMG Founder
Posts: 4004 Joined: Wed Jul 30, 2008 6:43 pm
Post
by Roberto Lopez » Thu May 28, 2009 11:03 pm
Roberto Lopez wrote:
It's an error, but in documentation, since these new properties are available at control definition only and should be tagged with (D) in the documentation.
Properties available at control definition are not available at SetProperty and GetProperty functions nor semi-oop syntax.
I'll fix the documentation.
Ok. Here it is.
We
always had three property types:
D: Available only at control definition
R: Read-Only (*)
W: Write-Only (*)
(*): at runtime only via Getproperty, SetProperty or semi-oop
This had be never properly documented (until now:) )
Code: Select all
Properties:
- Row
- Col
- Width
- Height
- Title
- NotifyIcon
- NotifyTooltip
- FocusedControl (R)
- Cursor (W)
- VirtualWidth (D)
- VirtualHeight (D)
- Icon (R)
- WindowType (Main/Modal/Child/SpltChild/Standard Clauses) (D)
- Visible (NoShow Clause) (D)
- AutoRelease (NoAutoRelease Clause) (D)
- MinButton (NoMinimize Clause)(D)
- MaxButton (NoMaximize Clause) (D)
- Sizable (NoSize Clause) (D)
- SysMenu (NoSysMenu Clause) (D)
- TitleBar (NoCaption Clause) (D)
- BackColor (D)
- FontName (Font Clause) (D)
- FontSize (Size Clause) (D)
- HelpButton (HelpButton Clause) (D)
- GripperText (D)
- Break (Break Clause) (D)
- Focused (Focused Clause) (D)
- Topmost (Topmost Clause) (D)
- Name (R)
R: Read-Only
W: Write-Only
D: Available at definition only
Regards,
Roberto.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)