Page 1 of 1

c5tooltip class

PostPosted: Fri Aug 03, 2012 6:06 pm
by Eoeo
How Implement this tooltip instead of tooltip of fwh ?
any idea ?

Re: c5tooltip class

PostPosted: Thu Aug 09, 2012 5:37 pm
by Eoeo
Paco tell me How implement this class thanks

Re: c5tooltip class

PostPosted: Tue Mar 26, 2013 12:25 pm
by Antonio Linares

Re: c5tooltip class

PostPosted: Tue Mar 26, 2013 12:54 pm
by James Bott
I'm curious, what is C5tooltip? I get that it is a tooltip, but how is it different than FW's tooltip?

James

Re: c5tooltip class

PostPosted: Tue Mar 26, 2013 5:40 pm
by Antonio Linares
James,

C5Tooltip was a Paco Garcia's contribution. They are used from Class TVistaMenu, also from Paco. In samples folder, there is a vistamnu1.prg but in my tests I have not been able to show them.

I am now chatting with Paco to ask for his help, thanks :-)

Re: c5tooltip class

PostPosted: Tue Mar 26, 2013 6:39 pm
by Silvio.Falconi
Antonio,
it is different from Fw' tooltip it can be as this tooltip :

Image

Image


on C5Tooltip you can set 3 Zone header body and footer

Could implement this instead of Fw's tooltip or insert a swicth to select the class

Re: c5tooltip class

PostPosted: Thu Mar 28, 2013 7:56 am
by BeoBeo
Can u ask him about his ide and his report tooo

tx

Re: c5tooltip class

PostPosted: Thu Mar 28, 2013 9:15 am
by Silvio.Falconi
A day of last year I tried to implement it on a class button

the last one to do is to call C5Tooltip when all classes call oWnd:otooltip

you can see the use on Vistamenu class

there are two data class to insert on the class you want use c5tooltip

CLASS YOURCLASSNAME FROM TControl

CLASSDATA lTooltips
CLASSDATA oToolTip

for sample on default method you can call

if ::oTooltip == nil
::oToolTip := TC5Tooltip():New( Self )
endif

and when you move the mouse over you can use the method show of c5tooltip class
for sample ::oToolTip:Show( nBottom - 6, nRight - 6, ctitle, Self )


you can set :

the title of tooltip cHeader
the bmp cBmpLeft
the text body cBody
the bmp on the footer cBmpFoot
the text of the footer cFoot

also you can set

if you want border
if you want line of separation from header and footer and set the color of line of separation
if you want a button to close the tooltip

all text color and font for all texts
the parameter nWRadio need if you wish have a tooltip with roundrect or not

Mr Linares, Good is to implement it on windows class but I not Know How make it

Re: c5tooltip class

PostPosted: Thu Mar 28, 2013 2:16 pm
by Antonio Linares
I am waiting for Paco to show us how to use them.

I have not been able to make them work (surely I am doing something wrong, but I have not found it yet) :-)

Re: c5tooltip class

PostPosted: Sat Apr 06, 2013 10:14 am
by richard-service
any news from Paco?

Re: c5tooltip class

PostPosted: Wed Sep 11, 2013 12:22 pm
by cuatecatl82
Greetings to the forum:

Someone you can share a complete and working example for the use of these tooltips.? I have 2 days together the jigsaw puzzle so that we can achieve, I would like to try them..

Thanks.. :P :P

Re: c5tooltip class

PostPosted: Wed Sep 11, 2013 1:01 pm
by Antonio Linares
Still waiting for Paco GarcĂ­a to provide an example...