Page 2 of 6

Corrections at HMG Reference (hmgdoc)

Posted: Sat Dec 27, 2014 2:59 pm
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 ?

Corrections at HMG Reference (hmgdoc)

Posted: Thu Jan 15, 2015 11:04 am
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 5140 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 5140 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

Corrections at HMG Reference (hmgdoc)

Posted: Thu Feb 12, 2015 10:36 pm
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.

Re: Corrections at HMG Reference (hmgdoc)

Posted: Thu Feb 12, 2015 10:45 pm
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 !!!

Corrections at HMG Reference (hmgdoc)

Posted: Thu Mar 12, 2015 5:41 pm
by Pablo César
Small missing at DEFINE LABEL
( SOLVED )
Screen1.png
Screen1.png (29.27 KiB) Viewed 4981 times

Re: Corrections at HMG Reference (hmgdoc)

Posted: Thu Mar 12, 2015 6:54 pm
by srvet_claudio
Pablo César wrote:Small missing at DEFINE LABEL
Screen1.png
Done.

Corrections at HMG Reference (hmgdoc)

Posted: Fri Mar 13, 2015 3:53 pm
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 4951 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

Corrections at HMG Reference (hmgdoc)

Posted: Fri Mar 20, 2015 3:39 pm
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 228 times
If is there any missed information or wrong text in English, please do not hesite to advice me.

Thanks in advanced !

Re: Corrections at HMG Reference (hmgdoc)

Posted: Fri Mar 20, 2015 4:30 pm
by Javier Tovar
Nuevamente Gracias Pablo César!

Saludos

Corrections at HMG Reference (hmgdoc)

Posted: Fri Mar 20, 2015 4:35 pm
by Pablo César
De nada, amigo !

Es mi obligación documentarlo también.

Y gracias tambien a vos por tu reconocimiento, Javier :)