btnbmp changes from 1707 to 1906

Post Reply
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

btnbmp changes from 1707 to 1906

Post by Rick Lipkin »

To All

Having icon placement problems between FWH 1707 and the new FWH 1906

This is the image with fwh 1707

Image



This is the same code with fwh 1906

Image

This is the code .. nothing has changed

Code: Select all

 REDEFINE BTNBMP oBTN1 ID 113           ;
       RESOURCE "ADD16","DADD16","DADD16" ;
       PROMPT "&Add" LEFT 2007;
       ACTION( _BinView( "A", oRsBin,"", "", "", "",;
                           oBtn1,oBtn2,oBtn3,oBtn4,oBtn5 ),oLbx:ReFresh(),oLbx:SetFocus())

       REDEFINE BTNBMP oBTN2 ID 114           ;
       RESOURCE "EDIT16","DEDIT16","DEDIT16" ;
       PROMPT "&Edit" LEFT 2007;
       ACTION( _BinView( "E", oRsBin,"", "", "", "",;
                           oBtn1,oBtn2,oBtn3,oBtn4,oBtn5 ),oLbx:ReFresh(),oLbx:SetFocus())

   REDEFINE BTNBMP oBTN3 ID 115           ;
       RESOURCE "VIEW16","DVIEW16","DVIEW16" ;
       PROMPT "&View" LEFT 2007;
       ACTION( _BinView( "V", oRsBin,"", "", "", "",;
                           oBtn1,oBtn2,oBtn3,oBtn4,oBtn5 ),oLbx:ReFresh(),oLbx:SetFocus())

   REDEFINE BTNBMP oBTN4 ID 116           ;
       RESOURCE "DELETE16","DDELETE16","DDELETE16" ;
       PROMPT "&Del" LEFT 2007;
       ACTION( BinDel( oRsBin,oLbx ) )

   REDEFINE BTNBMP oBTN5 ID 112           ;
       RESOURCE "CANCEL","DCANCEL","DCANCEL" ;
       PROMPT "&Quit" LEFT 2007;
       ACTION ( lOK1 := .F., oWndChild:END() )
 
I have thousands of lines of code .. I hope there is a simple global fix ..

Thanks
Rick Lipkin
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: btnbmp changes from 1707 to 1906

Post by ukoenig »

Rick,

maybe the infos You are looking for.

http://forums.fivetechsupport.com/viewt ... on#p223504

regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: btnbmp changes from 1707 to 1906

Post by Rick Lipkin »

Uwe, Rao

The changes that bother me are the placement of the icon .. not necessarily the text placement .. In the above examples .. it looks like the icon placement calculation with the LEFT clause has been modified .. in most cases the LEFT icon placement has pushed the icon a pixel or two left of the boundary of the button or the auto-resize of the icon forces a center placement ?

I know this is a difficult calculation ..

Thanks
Rick Lipkin
Post Reply