Page 1 of 1

Message of GET object

Posted: Wed Sep 27, 2006 8:21 am
by Rimantas
Hi !

It seems that this isn't working :

Code: Select all

@  14,  18 GET lRESERVE OF oDlg PICTURE  "Y"  MESSAGE "Please type
in a Y or N "
Exist solution for this ?

Re: Message of GET object

Posted: Wed Sep 27, 2006 8:41 am
by Rimantas
Rimantas wrote: It seems that this isn't working :

Code: Select all

@  14,  18 GET lRESERVE OF oDlg PICTURE  "Y"  MESSAGE "Please type
in a Y or N "
Exist solution for this ?
Found oGet:cTooltip :-))) . It seems in that way can be changed MESSAGE clause ...

Regards !

Posted: Wed Sep 27, 2006 3:16 pm
by James Bott
Rimantas,

Messages appear in the parent widow's status bar (if it exists). Tooltips appear near the control. I would not suggest using tooltips on controls as they get annoying very quickly. What I have done on occasion is to display a tooltip only if the user makes an invalid entry. A tooltip is better than a msgInfo() in this case because the user isn't forced to respond. I also change the background color of the control to pink when the entry is invalid so it is very obvious.

James