SAYTOOLTIP / GETTOOLTIP

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

SAYTOOLTIP / GETTOOLTIP

#1 Post by Tom »

DCSAY ... GET as a complex command to create a static and an SLE needs SAY- and GETTOOLTIPS in this combination, like other clauses (SIZE, OBJECT) need to have this prefix to identify the object. But in most cases, say- and gettooltip are the same. Would it be possible to allow just TOOLTIP in this situation to create both with one clause?

Code: Select all

@ 1,1 DCSAY "Name:" GET db->name TOOLTIP 'Please enter the customer's name'
acts as:

Code: Select all

@ 1,1 DCSAY "Name:" GET db->name GETTOOLTIP 'Please enter the customer's name' SAYTOOLTIP 'Please enter the customer's name'
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: SAYTOOLTIP / GETTOOLTIP

#2 Post by rdonnay »

Tom -

It appears that I started doing that at one time and never finished the job, because the following code is in DCDIALOG.CH (build 254) at line 873

Code: Select all

    [TOOLTIP <cToolTip>]                                        ;
To finish the job, you need to add the following lines at 953 and 1011 (or therabouts):

Code: Select all

    [;DC_GetListSet(DCGUI_GETLIST,cGETLIST_TOOLTIP,<cSayToolTip>)]          ;
    [;DC_GetListSet(DCGUI_GETLIST,cGETLIST_TOOLTIP,<cToolTip>)]             ;   <<<< new

    [;DC_GetListSet(DCGUI_GETLIST,cGETLIST_TOOLTIP,<cGetToolTip>)]          ;
    [;DC_GetListSet(DCGUI_GETLIST,cGETLIST_TOOLTIP,<cToolTip>)]             ;    <<<< new
The eXpress train is coming - and it has more cars.

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: SAYTOOLTIP / GETTOOLTIP

#3 Post by Tom »

Thanks! :D
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: SAYTOOLTIP / GETTOOLTIP

#4 Post by rdonnay »

Tom -

I have sent you a few private emails and got no response.
Need to give Chris Andries you address so he can mail the book.

Roger
The eXpress train is coming - and it has more cars.

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: SAYTOOLTIP / GETTOOLTIP

#5 Post by Tom »

Hi, Roger.

I had some mail problems, but I did answer. Please look at your PN-box of the forum. This is the last mail I wrote on friday.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Post Reply