Page 1 of 1
FWH 8.11 problem with BTNBMP
Posted: Fri Nov 28, 2008 1:51 am
by fraxzi
Anybody experienced this:
The prompts is overlapping when the bitmap is set to 'TOP''BOTTOM'.....
Regards
![Image](http://i208.photobucket.com/albums/bb82/fraxzi/FWxHarbour/btnbmp.jpg)
Posted: Fri Nov 28, 2008 2:21 am
by fraxzi
SOLVED!!!
I think 2007 clause was not included in fivewin.ch (8.11). See below:
Code: Select all
#xcommand REDEFINE BTNBMP [<oBtn>] ;
[ ID <nId> ] ;
[ <bar: OF, BUTTONBAR > <oBar> ] ;
[ <resource: NAME, RESNAME, RESOURCE> <cResName1> ;
[,<cResName2>[,<cResName3>] ] ] ;
[ <file: FILE, FILENAME, DISK> <cBmpFile1> ;
[,<cBmpFile2>[,<cBmpFile3>] ] ] ;
[ <action:ACTION,EXEC,ON CLICK> <uAction,...> ] ;
[ MESSAGE <cMsg> ] ;
[ <adjust: ADJUST > ] ;
[ WHEN <uWhen> ] ;
[ <lUpdate: UPDATE> ] ;
[ TOOLTIP <cToolTip> ] ;
[ PROMPT <cPrompt> ] ;
[ FONT <oFont> ] ;
[ <lNoBorder: NOBORDER> ] ;
[ <layout: CENTER, TOP, LEFT, BOTTOM, RIGHT> ] ;
[ <l2007: 2007> ] ;
=> ;
[ <oBtn> := ] TBtnBmp():ReDefine( <nId>, <cResName1>, <cResName2>,;
<cBmpFile1>, <cBmpFile2>, <cMsg>, [{|Self|<uAction>}],;
<oBar>, <.adjust.>, <{uWhen}>, <.lUpdate.>, <cToolTip>,;
<cPrompt>, <oFont>, [<cResName3>], [<cBmpFile3>], [!<.lNoBorder.>],;
[ Upper(<(layout)>) ],<.l2007.> )
![Image](http://i208.photobucket.com/albums/bb82/fraxzi/FWxHarbour/btnbmp2.jpg)
Posted: Fri Nov 28, 2008 9:38 am
by Antonio Linares
Frances,
You are right that clause 2007 was missing in REDEFINE, thanks
Anyhow, we need to fix it in case 2007 in not used. We are working to fix it, thanks!
Posted: Fri Nov 28, 2008 9:56 am
by Antonio Linares
Frances,
Fixed. We are uploading a new 8.11 build.
Thanks!
![Smile :-)](./images/smilies/icon_smile.gif)
Posted: Sat Nov 29, 2008 12:16 am
by fraxzi
Thank you so much Senior Antonio!
Will download ASAP.
Regards