Page 1 of 1

BALLOONTIP?

Posted: Wed Mar 22, 2023 8:06 am
by skiman
Hi Roger,

Any plans to implement the BALLOONTIP?
balloontip.png
balloontip.png (13.54 KiB) Viewed 2424 times
I did the implementation for the DCSAY ... GET and it is working nice. If you are interested I can post my changes. Ideally the DCGET, DCSLE, DCMULTILINE and DCCOMBO should also be changed. Since I'm not using these very much, I won't add them to my changes.

Re: BALLOONTIP?

Posted: Wed Mar 22, 2023 8:50 am
by rdonnay
Chris -

I implemented balloon tips a long time ago, however it looks like I failed to document DC_ShowBalloonTip() in express.chm.

Code: Select all

dc_showballoontip(.t.)
c := 'testing'
@ 0,0 dcget c tooltip 'just testing'
dcread gui

Re: BALLOONTIP?

Posted: Wed Mar 22, 2023 9:20 am
by skiman
Hi Roger,

This is based on the TOOLTIP which doesn't work well. A lot of times it doesn't come up and there is a flickering problem when the balloontip is set.

Seems that was implemented in Build260.

Re: BALLOONTIP?

Posted: Wed Mar 22, 2023 9:41 am
by rdonnay
You can try a manifest file.

See \exp20\samples\tooltip\balloon.prg.

Re: BALLOONTIP?

Posted: Wed Mar 22, 2023 10:54 am
by skiman
Hi,

Yes, I know you need to use a manifest file.

The problem with the replacement of the tooltip with the showballoontip is that it uses the same technique as the tooltip.
- It takes some time to show up.
- It is executed in another thread.
- Sometimes it isn't shown.

The advantage is that a tooltip can be shown on each element, which isn't the case for the showballoontip.