Tooltips not appearing

This forum is for eXpress++ general support.
Post Reply
Message
Author
reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Tooltips not appearing

#1 Post by reganc »

I am using Express++ 1.9 build 255.

We have various dialogs with pushbuttons that are supposed to show tooltips when you hover the mouse over them.

For quite a while now I have noticed that these tooltips were not always appearing. I put it down to window 7 or manifest issues (which may still be involved) but only today have I had it pointed out to me that the tooltips always appear if you point the mouse pointer directly at the text on the pushbuttons. If you point to an area of the pushbutton such as just near the top edge or far to the left of the button, the tooltip does not appear.

I had a quick look to see if this had been addressed in a later build but could not see anything relevant.

Has anyone else noticed this or was this fixed and I missed the readme note about it?
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

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

Re: Tooltips not appearing

#2 Post by rdonnay »

That is interesting. Maybe there is something in the tooltip logic that ignores a specified number of pixels from the edges.
I may have done this for a reason, but I don't remember why. I'll look into it.
The eXpress train is coming - and it has more cars.

skiman
Posts: 1199
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Tooltips not appearing

#3 Post by skiman »

Hi Regan,

I was wondering if the same happens in my application. I'm using dcpushbuttonXP and the tooltip is always showing. As soon as the cursor in one pixel in the button area, the tooltip appears.

Maybe you are using the standard pushbutton?
Best regards,

Chris.
www.aboservice.be

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Tooltips not appearing

#4 Post by reganc »

Hi Chris
skiman wrote:Hi Regan,

I was wondering if the same happens in my application. I'm using dcpushbuttonXP and the tooltip is always showing. As soon as the cursor in one pixel in the button area, the tooltip appears.

Maybe you are using the standard pushbutton?
Yes, we only use the standard DCPUSHBUTTON. We never got around to looking at the other alternatives.

Soon maybe (or even sooner if they are the problem! :-) )
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Tooltips not appearing

#5 Post by reganc »

rdonnay wrote:That is interesting. Maybe there is something in the tooltip logic that ignores a specified number of pixels from the edges.
I may have done this for a reason, but I don't remember why. I'll look into it.
Thanks.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

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

Re: Tooltips not appearing

#6 Post by rdonnay »

I looked at the code and see nothing wrong.

I tested with the below test program and it works exactly as expected.

Code: Select all

@ 0,0 dcpushbutton caption 'testing' size 200,50 pixel tooltip 'my tooltip'

dcread gui fit
The eXpress train is coming - and it has more cars.

reganc
Posts: 259
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: Tooltips not appearing

#7 Post by reganc »

rdonnay wrote:I looked at the code and see nothing wrong.

I tested with the below test program and it works exactly as expected.

Code: Select all

@ 0,0 dcpushbutton caption 'testing' size 200,50 pixel tooltip 'my tooltip'

dcread gui fit
Ok, thanks for having a look.

I will try to find some time to put a sample program together. I just hope it shows the problem... :-)
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

Post Reply