Page 1 of 1
Buttonbmp problems with the march release
Posted: Tue Mar 21, 2006 10:01 am
by Marco Turco
Hello,
I have a problem using buttonbmp with this latest fwh release.
When I use a buttonbmp from resource the bitmap appairs centered on the button over the text.
There wasn't any problems with the February release when using the CANCEL TEXTRIGHT clause all runned fine.
Any ideas ?
Thanks in advance
Best Regards.
Marco
Posted: Tue Mar 21, 2006 10:13 am
by Antonio Linares
Marco,
The TEXTRIGHT clause is not directly supported by FWH Class TButtonBmp. Are you using Rossine's modified Class ?
Posted: Tue Mar 21, 2006 11:06 am
by Marco Turco
I am using at this moment only the standard FWH classes
but with the previous FWH version I used a modified button and buttonbmp class (I don't know if they coming from Rossine)
I made a self-cont sample that show the problem at
www.softwarexp.co.uk/beta/sample.zip
Is there any solution using the standard class ?
Thanks in advance
Best Regards,
Marco Turco
Posted: Tue Mar 21, 2006 12:08 pm
by Antonio Linares
Marco,
We email you Class TButtonBmp modified to allow TEXT... clause and FiveWin.ch. Your sample works ok using TEXTRIGHT clause.
Posted: Tue Mar 21, 2006 2:13 pm
by Marco Turco
Great !! It runs fine.
Many thanks for the support.
Best Regards,
Marco Turco
Posted: Tue Mar 21, 2006 3:41 pm
by Adolfo
Antonio
Fwh 2.5 Users can use this modified TbtnBmp class or just the ones with 2.7
If so, can you send it to me or post it here...
Allthoug I have Rossines Modificactions, I tried just to use formal Clases ( not 3ยบ party ones )
Thanks in advance.
Posted: Tue Mar 21, 2006 5:04 pm
by Antonio Linares
Adolfo,
We have implemented the same command extension as Rossine, though the class just uses one bitmap. Anyhow, you can use Rossine's one as it is compatible with FWH.