Page 3 of 28
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 5:05 pm
by Roberto Lopez
rathinagiri wrote:Image demo is working fine in Chrome and IE and not in my Firefox 10.0 (Let me update and tell you)
OHHH NOOO!!!!
THE FIRST BUG REPORT!!!
CHROME RULES!

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 5:08 pm
by Roberto Lopez
HMGSCRIPT 2012 FUNCTION REFERENCE (R004)
WINDOW:
Element: DIV
You can use all the properties, events and methods availables for it via DOM.
Syntax:
Window( cId , cCaption , nWidth , nHeight )
BUTTON:
Element: INPUT (Type: BUTTON)
You can use all the properties, events and methods availables for it via DOM.
Syntax:
Button( cId , cParentId , nRow , nCol , cCaption , cOnClick )
LABEL:
Element: SPAN
You can use all the properties, events and methods availables for it via DOM.
Syntax:
Label( cId , cParentId , nRow , nCol , cValue )
TEXTBOX:
Element: INPUT (Type: TEXT)
You can use all the properties, events and methods availables for it via DOM.
Syntax:
TextBox( cId , cParentId , nRow , nCol , cValue )
IMAGE:
Element: IMAGE
You can use all the properties, events and methods availables for it via DOM.
Syntax:
Image( cId , cParentId , nRow , nCol , cSrc )
MSGINFO:
Syntax:
MsgInfo( cMessage , cCaption )
RELEASE:
Releases a window.
Syntax:
Release( cId )
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 5:11 pm
by Roberto Lopez
rathinagiri wrote:Image demo is working fine in Chrome and IE and not in my Firefox 10.0 (Let me update and tell you)
OHHH NOOOO!!!
THE FIRST BUG REPORT!!!!

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 5:34 pm
by esgici
rathinagiri wrote:Image demo is working fine in Chrome and IE and not in my Firefox 10.0 (Let me update and tell you)
Confirmed for FireFox 12.0
And, for IE, not working FINE, but after allowed ActiveX
Regards
--
Esgici
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 5:47 pm
by dhaine_adp
The test on Ubuntu works fine. It is ubuntu version 10. As always an excellent contribution by the Master.
Thank you Roberto for leading us in a new path.
Danny
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 6:14 pm
by Rathinagiri
Works fine in Android Tablet

Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 6:22 pm
by esgici
rathinagiri wrote:Works fine in Android Tablet

This is best news of day
Regards
--
Esgici
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 6:52 pm
by Roberto Lopez
esgici wrote:rathinagiri wrote:Image demo is working fine in Chrome and IE and not in my Firefox 10.0 (Let me update and tell you)
Confirmed for FireFox 12.0
And, for IE, not working FINE, but after allowed ActiveX
Regards
--
Esgici
Some developers calls FireFox, 'FireBug', I guess that we will find why
Look at this:
http://www.daniweb.com/web-development/ ... ..pls-help
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 6:54 pm
by Roberto Lopez
rathinagiri wrote:Works fine in Android Tablet

Great!
I guess that we should consider larger buttons by default, since our main target are tablets and phones.
Re: HMGSCRIPT 2012: Programming For The Web in The Right Way
Posted: Thu May 31, 2012 7:09 pm
by Roberto Lopez
This is a very important thing to note.
A lot of properties, events and methods are available for the elements that we are creating.
They already are there, since they are available at control creation.
They are available always, despite how you are created the control (HTML tags or JS).
ie, for input text (textbox):
http://www.w3schools.com/jsref/dom_obj_text.asp
So, we do not need to code any more to enhance textbox or any other control. Once created, all is already there and we can manipulate it
right now via JS.
Even more, as HTML standards evolve, new features will come when new browser versions.