Page 1 of 1

compiling problem with tooltip in a textbox control

Posted: Thu Jan 07, 2010 10:45 pm
by l3whmg
Hi guys,
I don't know if it's a (big/small) problem, but...

I can compile this syntax

Code: Select all

@ 060,125 TEXTBOX fld1 ;
    WIDTH 060 ;
    HEIGHT 25 ;
    TOOLTIP 'I can compile this syntax' ;
    INPUTMASK '9999'
but i can't compile this syntax:

Code: Select all

  @ 090,125 TEXTBOX fld2 ;
    WIDTH 060 ;
    HEIGHT 25 ;
    INPUTMASK '9999' ;
    TOOLTIP 'I can NOT compile this syntax'
Best regards

Re: compiling problem with tooltip in a textbox control

Posted: Fri Jan 08, 2010 12:22 am
by Rathinagiri
Yes. You can not compile the second one. You cannot change the sequence in @ commands. That's why we have define .... end commands.

Re: compiling problem with tooltip in a textbox control

Posted: Fri Jan 08, 2010 9:08 am
by l3whmg
Hi Rathinagiri,
thanks a lot. At this point the best way is to use "define ... end" syntax for all controls ?
Because, inside the help document, the clause tooltip is inserted after inputmask.
Bye

Re: compiling problem with tooltip in a textbox control

Posted: Fri Jan 08, 2010 1:56 pm
by Rathinagiri
I use define...end syntax. Roberto has created this method on my request. :)

Re: compiling problem with tooltip in a textbox control

Posted: Sat Jan 09, 2010 12:49 am
by Roberto Lopez
rathinagiri wrote:I use define...end syntax. Roberto has created this method on my request. :)
Oh Yes! :)

Re: compiling problem with tooltip in a textbox control

Posted: Sat Jan 09, 2010 10:06 pm
by l3whmg
And now, I use this :lol: