c5tooltip class

Post Reply
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

c5tooltip class

Post by Eoeo »

How Implement this tooltip instead of tooltip of fwh ?
any idea ?
User avatar
Eoeo
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: c5tooltip class

Post by Eoeo »

Paco tell me How implement this class thanks
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: c5tooltip class

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Re: c5tooltip class

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: c5tooltip class

Post 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 :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: c5tooltip class

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
BeoBeo
Posts: 6
Joined: Tue Oct 09, 2012 9:59 am

Re: c5tooltip class

Post by BeoBeo »

Can u ask him about his ide and his report tooo

tx
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: c5tooltip class

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: c5tooltip class

Post 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) :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
richard-service
Posts: 583
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan
Contact:

Re: c5tooltip class

Post by richard-service »

any news from Paco?
Regards,

Richard

Harbour 3.2.0dev (r1904111533)/xHarbour 1.2.3 Intl. (SimpLex) (Build 20180818) => Borland C++ v7.4
xHarbour 0.99.71 (SimpLex) => Borland C++ v5.5
MySQL v5.7 /ADS v12
Harbour 3.2.0dev (r1603181642) => Borland C++ v7.4 64bit
User avatar
cuatecatl82
Posts: 614
Joined: Wed Mar 14, 2007 6:49 pm
Location: San Cristobal de las Casas, Chiapas México
Contact:

Re: c5tooltip class

Post 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
Soluciones y Diseño de Software
Damos Soluciones...

I.S.C. Victor Daniel Cuatecatl Leon
Director y Diseñador de Proyectos

http://www.soldisoft.unlugar.com
http://www.sisa.unlugar.com
danyleon82@hotmail.com
www.facebook.com/victordaniel.cuatecatlleon
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: c5tooltip class

Post by Antonio Linares »

Still waiting for Paco García to provide an example...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply