FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Poner color de fondo a un tooltips del xBrowse
Posts: 98
Joined: Sat Dec 03, 2016 02:49 PM
Poner color de fondo a un tooltips del xBrowse
Posted: Tue Jan 27, 2026 04:24 PM

Hola Foro:

Me pueden ayudar, tengo un xbrowse que al pasar por una celda muestra en ToolTips , necesito que ese tooltips tenga fondo de color amarillo con letras letras, para que se destaque mas el mensaje, alguien sabe como ?

Y lo otro como le defino el tiempo de duracion al tooltips ? Saludos, Carito

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Poner color de fondo a un tooltips del xBrowse
Posted: Tue Jan 27, 2026 06:01 PM

Estimado Carito,

En vez de usar una cadena para el tooltip usa un array con este formato:

Tooltips support an array with up to 8 elements: window.prg:3539-3571

The array structure is:

cText - Tooltip text cTitle - Tooltip title cIcon - Icon handle or name nClrFore - Text color (foreground) nClrBack - Background color nWidth - Maximum width nDelayTime - Duration in milliseconds nDelayType - Type of delay (TTDT_AUTOPOP, TTDT_INITIAL, or TTDT_RESHOW)

Delay Type Constants winapi.ch:276-279

TTDT_AUTOMATIC (0) - Automatic timing TTDT_RESHOW (1) - Delay before showing tooltip again TTDT_AUTOPOP (2) - How long tooltip remains visible TTDT_INITIAL (3) - Delay before tooltip first appears

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 98
Joined: Sat Dec 03, 2016 02:49 PM
Re: Poner color de fondo a un tooltips del xBrowse
Posted: Tue Jan 27, 2026 09:53 PM

Antonio,
muchas gracias de lujo la respuesta, como siempre !! :D :D

Continue the discussion