by Silvio.Falconi » Thu Mar 28, 2013 9:15 am
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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com