... " Prenotazione", IIF(nstatus=2," Occupato"," Libero")) local cIcon := IcoTooltip(cCliente,nstatus) local nClrFore := CLR_HRED local nClrBack := CLR_YELLOW return {cText, cTitle , cIcon , nClrFore, nClrBack } then on Tootip created it not espect the colors ...
Is it possible to set duration of tooltip showtime? Yes. Assign an array to cToolTip cToolTip := { cToolTipText, [cHeader], [Icon], [nClrFore], [nClrBack], [nWidth], [nDelayInSeconds] } Note: Color settings do not seem to work in Windows 10 oBrw:bToolTips := ; { | oBrw,r,c,f,oMouseCol,nMouseRow| ...
... 1705 to 1801 may please apply this fix to tget.prg Pleae remove the following lines of code from methods New() and Redefine() ---- if ValType( nClrFore ) == 'B' ::bColor := nClrForenClrFore := GetSysColor( COLOR_WINDOWTEXT ) endif ---- - If width and height are not specified, they are calculated ...
... As you can see in icon.prg CLASS TIcon FROM TControl .... METHOD New( nRow, nCol, cResName, cIcoFile, lBorder, bClick,; oWnd, lUpdate, bWhen, nClrFore, nClrBack ) there is only nRow and nCol parameters. Is there any way to show icon in diffrent size.
Victor, El problema viene de la función EXTDRAWICON() que selecciona los colores de esta fortma: COLORREF nClrFore = bFocused ? GetSysColor( COLOR_CAPTIONTEXT ) : hb_parnl( 7 ); COLORREF nClrBack = bFocused ? GetSysColor( COLOR_ACTIVECAPTION ) : hb_parnl( 8 ); Al dibujar el ...