Corrections at HMG Reference (hmgdoc)

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

There are missing (not documented) DRAWING COMMANDS important functions like:

drawline, drawrect, drawroundrect, drawellipse, drawarc, drawpie, drawpolygon, drawpolybezier, erasewindow, GraphShow, DrawBar, DrawBox, DrawPoint, Circle, ClrShadow, DrawWindowBoxIn, drawpiegraph, printgraph,

There are similar functions in BosTaurus like as:
BT_DrawGetPixel
BT_DrawSetPixel
BT_DrawBitmap
BT_DrawBitmapTransparent
BT_DrawBitmapAlphaBlend
BT_DrawDCtoDC
BT_DrawDCtoDCTransparent
BT_DrawDCtoDCAlphaBlend
BT_DrawGradientFillHorizontal
BT_DrawGradientFillVertical
BT_DrawText
BT_DrawPolyLine
BT_DrawLine
BT_DrawRectangle
BT_DrawEllipse
BT_DrawFillRectangle
BT_DrawFillEllipse
BT_DrawFillRoundRect
BT_DrawFillFlood

By the way, I know this takes a lot of time making documentation, but in BosTaurus and HMG HPDF is not posible (at least for me :( ) to localizate by Ctrl-F as we do in other html/pages. This makes difficult to find resources/functions/commands. These documentions (BosTaurus and HMG HPDF) are in PDFs at BosTaurus-FunctionsReferenceGuide.pdf and HMG_HPDF_Doc.pdf respectively. When access direct to pdf viewer (Adobe, Foxit Reader or any other) there is no problem to search strings. But inside of hmgdoc, is not posible... :(

Is it posible to generate in html files in order to make same searching engine for string localization ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

( SOLVED ) In hope of some day any good soul can be fix and improve our hmgdoc. I will post here the errors at our documentation.

Since a long time, also my blame, there is a wrong syntax at Building app, as showing this:
Screen1.png
Screen1.png (49.07 KiB) Viewed 5124 times
This is not used anymore at long time ago...

This page I've already fixed but it's with some different colours... (see below):
Screen2.png
Screen2.png (77.25 KiB) Viewed 5124 times
As you can see I have tried to implement a search mechanism for strings locating. But making in simple html is very hard to do it and it's turned defficiently.

If this is approved, I prepare separe page and Rathinagiri can replace it for a old one. ;)
IMHO, we have to facilitate to anyone whos want to re-edit this hmgdoc. Probably posting in a topic to be updated by Mr. Rathinagiri for next releases or having access in specific area of the forum for uploading files ready for updates.

B.Rgds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

( SOLVED ) Thanks to Javier Tovar at this topic was noted that @ .. TEXTBOX (Standard Syntax) is out of sequence according hmgdoc. Then some codes are trying to compile but lunges with error.

According i_textbox.ch and the main point is that should it be described all the four ways to make @ .. TEXTBOX (Standard Syntax), as follows:
// TEXTBOX
@ <nRow>, <nCol>
      TEXTBOX <ControlName>
      [ OF | PARENT <ParentWindowName> ]
      [ HEIGHT <nHeight> ]
      [ WIDTH <nWidth> ]
      [ FIELD <FieldName> ]
      [ VALUE <cValue> ]
      [ READONLY ]
      [ FONT <cFontName> SIZE <nFontSize> ]
      [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
      [ TOOLTIP <ToolTipText> ]
      [ BACKCOLOR <aBackColor> ]
      [ FONTCOLOR <aFontColor> ]
      [ DISABLEDBACKCOLOR <aDisabledBackColor> ]
      [ DISABLEDFONTCOLOR <aDisabledFontColor> ]
      [ MAXLENGTH <nInputLength> ]
      [ UPPERCASE ]
      [ LOWERCASE ]
      [ NUMERIC ]
      [ PASSWORD ]
      [ ON CHANGE <OnChangeProcedure> ]
      [ ON GOTFOCUS <OnGotFocusProcedure> ]
      [ ON LOSTFOCUS <OnLostFocusProcedure> ]
      [ ON ENTER <OnEnterProcedure> ]
      [ RIGHTALIGN ]
      [ INVISIBLE ]
      [ NOTABSTOP ]
      [ HELPID <nHelpId> ]

// TEXTBOX ( NUMERIC INPUTMASK )
@ <nRow>,<nCol>
      TEXTBOX <ControlName>
      [ OF | PARENT <ParentWindowName> ]
      [ HEIGHT <nHeight> ]
      [ WIDTH <nWidth> ]
      [ FIELD <FieldName> ]
      [ VALUE <nValue> ]
      [ READONLY ]
      [ FONT <cFontName> SIZE <nFontSize> ]
      [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
      [ TOOLTIP <ToolTipText> ]
      [ BACKCOLOR <aBackColor> ]
      [ FONTCOLOR <aFontColor> ]
      [ DISABLEDBACKCOLOR <aDisabledBackColor> ]
      [ DISABLEDFONTCOLOR <aDisabledFontColor> ]
      NUMERIC
      INPUTMASK <cMask>
      [ FORMAT <cFormat> ]
      [ ON CHANGE <OnChangeProcedure> ]
      [ ON GOTFOCUS <OnGotFocusProcedure> ]
      [ ON LOSTFOCUS <OnLostFocusProcedure> ]
      [ ON ENTER <OnEnterProcedure> ]
      [ RIGHTALIGN ]
      [ INVISIBLE ]
      [ NOTABSTOP ]
      [ HELPID <nHelpId> ]

// TEXTBOX ( CHARACTER INPUTMASK )
@ <nRow>,<nCol>
      TEXTBOX <ControlName>
      [ OF | PARENT <ParentWindowName> ]
      [ HEIGHT <nHeight> ]
      [ WIDTH <nWidth> ]
      [ FIELD <FieldName> ]
      [ VALUE <cValue> ]
      [ READONLY ]
      [ FONT <cFontName> SIZE <nFontSize> ]
      [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
      [ TOOLTIP <ToolTipText> ]
      [ BACKCOLOR <aBackColor> ]
      [ FONTCOLOR <aFontColor> ]
      [ DISABLEDBACKCOLOR <aDisabledBackColor> ]
      [ DISABLEDFONTCOLOR <aDisabledFontColor> ]
      INPUTMASK <cMask>
      [ ON CHANGE <OnChangeProcedure> ]
      [ ON GOTFOCUS <OnGotFocusProcedure> ]
      [ ON LOSTFOCUS <OnLostFocusProcedure> ]
      [ ON ENTER <OnEnterProcedure> ]
      [ RIGHTALIGN ]
      [ INVISIBLE ]
      [ NOTABSTOP ]
      [ HELPID <nHelpId> ]

// TEXTBOX ( DATE TYPE )
@ <nRow>, <nCol>
      TEXTBOX <ControlName>
      [ OF | PARENT <ParentWindowName> ]
      [ HEIGHT <nHeight> ]
      [ WIDTH <nWidth> ]
      [ FIELD <FieldName> ]
      [ VALUE <cValue> ]
      [ READONLY ]
      [ FONT <cFontName> SIZE <nFontSize> ]
      [ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
      [ TOOLTIP <ToolTipText> ]
      [ BACKCOLOR <aBackColor> ]
      [ FONTCOLOR <aFontColor> ]
      [ DISABLEDBACKCOLOR <aDisabledBackColor> ]
      [ DISABLEDFONTCOLOR <aDisabledFontColor> ]
      < DATE >
      [ ON CHANGE <OnChangeProcedure> ]
      [ ON GOTFOCUS <OnGotFocusProcedure> ]
      [ ON LOSTFOCUS <OnLostFocusProcedure> ]
      [ ON ENTER <OnEnterProcedure> ]
      [ RIGHTALIGN ]
      [ INVISIBLE ]
      [ NOTABSTOP ]
      [ HELPID <nHelpId> ]
All these syntax was extracted from i_textbox.ch

IMHO it should be corrected in order to avoid error compilling.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Corrections at HMG Reference (hmgdoc)

Post by srvet_claudio »

Pablo César wrote:In hope of some day any good soul can be fix and improve our hmgdoc. I will post here the errors at our documentation.

Since a long time, also my blame, there is a wrong syntax at Building app, as showing this:
Screen1.png
This is not used anymore at long time ago...

This page I've already fixed but it's with some different colours... (see below):
Screen2.png
As you can see I have tried to implement a search mechanism for strings locating. But making in simple html is very hard to do it and it's turned defficiently.

If this is approved, I prepare separe page and Rathinagiri can replace it for a old one. ;)
IMHO, we have to facilitate to anyone whos want to re-edit this hmgdoc. Probably posting in a topic to be updated by Mr. Rathinagiri for next releases or having access in specific area of the forum for uploading files ready for updates.

B.Rgds
I like !!!
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

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

Small missing at DEFINE LABEL
( SOLVED )
Screen1.png
Screen1.png (29.27 KiB) Viewed 4965 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Corrections at HMG Reference (hmgdoc)

Post by srvet_claudio »

Pablo César wrote:Small missing at DEFINE LABEL
Screen1.png
Done.
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

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

srvet_claudio wrote:
Pablo César wrote:Small missing at DEFINE LABEL
Done.
Muchas gracias Claudio ! :D
I found another small missing at DEFINE EDITBOX
( SOLVED )
Screen1.png
Screen1.png (47.94 KiB) Viewed 4935 times

Claudio regarding this about TextBox to add some more Standard Syntax ways, it would be good to be specified.

There are some some more pending messages in this topic to review and fix.

Best regards and many thanks for all your kind ! :D
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

Hi HMG DT and others !
( SOLVED ) Hereunder InputWindow for HMGDoc.

This for your view:


Source html file for your approval and updating:
inputwindow.rar
(12.36 KiB) Downloaded 227 times
If is there any missed information or wrong text in English, please do not hesite to advice me.

Thanks in advanced !
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: Corrections at HMG Reference (hmgdoc)

Post by Javier Tovar »

Nuevamente Gracias Pablo César!

Saludos
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Corrections at HMG Reference (hmgdoc)

Post by Pablo César »

De nada, amigo !

Es mi obligación documentarlo también.

Y gracias tambien a vos por tu reconocimiento, Javier :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply