DCTOOLBAR - DCADDBUTTON tooltip not appearing
Posted: Mon Feb 23, 2015 11:33 pm
Hi Roger,
Tooltips are not appearing when using the STATIC keyword in DCADDBUTTON
I'm using Xbase 1.9.331 with Express++ 260
In the code below, the tooltip doesn't show when the mouse hovering the button.
In the code below, the tooltip shows when the mouse is hovering the button. But no image is set, as BITMAP needs the STATIC Keyword
The tooltip is working fine with the image in the same application compiled using an older xbase and express++
Any ideas how to resolve this?
Best Regards,
Andy
Tooltips are not appearing when using the STATIC keyword in DCADDBUTTON
I'm using Xbase 1.9.331 with Express++ 260
In the code below, the tooltip doesn't show when the mouse hovering the button.
Code: Select all
#include "DCDIALOG.CH"
PROCEDURE DbeSys() ; Return
PROCEDURE AppSys() ; Return
PROCEDURE Main()
LOCAL GetList:={}
@0,0 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE 50,6 OBJECT oStatic1
DCSTATUSBAR oSTATTOP SPACING 3 ALIGN 1 HEIGHT 42
@0,0 DCTOOLBAR oToolBar HORIZONTAL parent oSTATTOP SIZE 800,42 PIXEL;
TYPE XBPSTATIC_TYPE_TEXT COLOR nil, GRA_CLR_WHITE
DCADDBUTTON PARENT oToolBar ;
TOOLTIP 'Search for An Item';
FANCY SIZE 42,42 PIXEL;
COLOR GRA_CLR_BLACK, XBPSYSCLR_TRANSPARENT;
STATIC FOCUSCOLOR NIL,GRA_CLR_RED;
BITMAP 'SEARCH.GIF'
DCREAD GUI MODAL FIT TITLE "BUtton Test Example" ADDBUTTONS TO ENTRY_ACCEPTED ENTEREXIT
RETURN
Code: Select all
#include "DCDIALOG.CH"
PROCEDURE DbeSys() ; Return
PROCEDURE AppSys() ; Return
PROCEDURE Main()
LOCAL GetList:={}
@0,0 DCSTATIC TYPE XBPSTATIC_TYPE_RECESSEDBOX SIZE 50,6 OBJECT oStatic1
DCSTATUSBAR oSTATTOP SPACING 3 ALIGN 1 HEIGHT 42
@0,0 DCTOOLBAR oToolBar HORIZONTAL parent oSTATTOP SIZE 800,42 PIXEL;
TYPE XBPSTATIC_TYPE_TEXT COLOR nil, GRA_CLR_WHITE
DCADDBUTTON PARENT oToolBar ;
TOOLTIP 'Search for An Item';
FANCY SIZE 42,42 PIXEL;
COLOR GRA_CLR_BLACK, XBPSYSCLR_TRANSPARENT
DCREAD GUI MODAL FIT TITLE "BUtton Test Example" ADDBUTTONS TO ENTRY_ACCEPTED ENTEREXIT
RETURN
Any ideas how to resolve this?
Best Regards,
Andy