Author | Topic: XBPTOOLBAR_STYLE_FLAT / xHotImage | |
---|---|---|
AUGE_OHR | XBPTOOLBAR_STYLE_FLAT / xHotImage on Thu, 04 Dec 2008 07:30:48 +0100 hi, as i understand, using "xHotImage", i have to set :style := XBPTOOLBAR_STYLE_FLAT *** snip *** ::ToolBar1:imageWidth := 16 ::ToolBar1:imageHeight := 16 ::ToolBar1:appearance := XBP_APPEARANCE_FLAT ::ToolBar1:style := XBPTOOLBAR_STYLE_FLAT ::ToolBar1:transparentColor := GRA_CLR_BACKGROUND ::ToolBar1:loadImageSet(XBPTOOLBAR_VIEWIMAGES_SMALL) ::ToolBar1:addItem("Name",VIEW_IMAGE_SORTNAME,,,,XBPTOOLBAR_BUTTON_BUTTONGROUP, "Name " ) ::ToolBar1:addItem("Size",VIEW_IMAGE_SORTSIZE,,,,XBPTOOLBAR_BUTTON_BUTTONGROUP, "Groesse" ) ::ToolBar1:addItem("Date",VIEW_IMAGE_SORTDATE,,,,XBPTOOLBAR_BUTTON_BUTTONGROUP, "Datum" ) ::ToolBar1:addItem("Type",VIEW_IMAGE_SORTTYPE,,,,XBPTOOLBAR_BUTTON_BUTTONGROUP, "Type " ) ::ToolBar1:addItem(,,,,,XBPTOOLBAR_BUTTON_SEPARATOR) ::ToolBar1:addItem("myBMP", 2051,2052,2053,,,"myBMP") *** eof *** but when "hover" or "press" myBMP disappear ? Xbase v331 - v347 greetings by OHR Jimmy | |
AUGE_OHR | Re: XBPTOOLBAR_STYLE_FLAT / xHotImage on Thu, 04 Dec 2008 22:34:02 +0100 hi, ok i have to be more exact. if i use only ::ToolBar1:loadImageSet(XBPTOOLBAR_VIEWIMAGES_SMALL) ::ToolBar1:addItem("Name",VIEW_IMAGE_SORTNAME,,,,XBPTOOLBAR_BUTTON_BUTTONGROUP,"Name") ... all is fine, but if i "mix" it with ::ToolBar1:addItem(,,,,,XBPTOOLBAR_BUTTON_SEPARATOR) ::ToolBar1:addItem("myBMP", 2051,2052,2053,,,"myBMP") than "hover" and "press" does not show any Picture Xbase v331 - v347 greetings by OHR Jimmy |