Hi,
I think there is a problem using buttonbmp with FWH8.10.
I am using 16x16 buttonbmp,
with FWH May 2008 they are showed without problems
see www.softwarexp.co.uk/beta/old.png
meanwhile with FWH Oct 2008 they are shifted on top
see www.softwarexp.co.uk/beta/new.png
Any solution ?
Thanks in advance.
FWH 8.10 and ButtonBmp
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact:
FWH 8.10 and ButtonBmp
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
Re: FWH 8.10 and ButtonBmp
I think this is because of the change fromMarco Turco wrote: Any solution ?
Code: Select all
DEFAULT ... cLayout := "CENTER"
Code: Select all
DEFAULT ... cLayout := "TOP"
Workaround: Insert in
Code: Select all
METHOD Paint() CLASS TBtnBmp
Code: Select all
::nLayout := 0
Code: Select all
PalBtnPaint( ::hWnd, ::hBitmap1, ::hPalette1, ::hBitmap2, ::hPalette2,;
...
Upper( ::oWnd:ClassName() ) != "TBAR" )
- Marco Turco
- Posts: 858
- Joined: Fri Oct 07, 2005 12:00 pm
- Location: London
- Contact: