Mr. Rao,
I tested Your sample, but there is NO prompt displayed
Using it inside my tools, it will be a problem in case it works only with January 2015
I'm trying to get everything working also using older FWH-versions.
![Image](http://www.pflegeplus.com/IMAGES/Leftbtn1.jpg)
- Code: Select all Expand view
#include "fivewin.ch"
STATIC c_path, c_path1
FUNCTION MAIN()
local oDlg, oFont, oBtn, oBrush
SETBALLOON( .T. )
c_path := cFilePath(GetModuleFileName( GetInstance() ) )
c_path1 := c_Path + "BITMAPS\"
DEFINE BRUSH oBrush FILE c_path1 + "Picture3.jpg" RESIZE // use any jpg
DEFINE FONT oFont NAME "VERDANA" SIZE 0,-20 BOLD
DEFINE DIALOG oDlg SIZE 500,400 PIXEL BRUSH oBrush TITLE " FiveWin Version: " + FWVERSION
@ 60,30 BTNBMP oBtn SIZE 200,20 PIXEL OF oDlg TRANSPARENT
oBtn:bPainted := { || oBtn:Say( 4,10,"Button Prompt", CLR_YELLOW, nil, oFont, .t., .t. ) }
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
RELEASE BRUSH oBrush
RETURN NIL
Maybe a release-problem ?
January 2015
============* Enhancements to TBtnBmp class:(a) FILE or RESOURCE clauses can be used to load bmpfiles or resources.
(b) Uses ReadPalBmpEx() to read/load image files/resources, so any bitmap
source can be used.
(c) Where the image is too large, it is resized to fit the size of the button
(d) When ButtonBar is created with 2013 style, BtnBmp class is recoginzing it as
pre-2007 style. Now fixed.
(e) Improved painting of Grayed bitmaps
(f) Improved quality of painting non-transparent images where lBmpTransparent is .f.
(g) There was some deteoration ofquality of painting of bitmaps on pre-2007 style
buttons. Now fixed
(h) BtnBmp now supports :bPainted.best regards
Uwe
![Question :?:](./images/smilies/icon_question.gif)