FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour posible pequeƱo cambio en xbrowse
Posts: 1516
Joined: Thu May 27, 2010 02:06 PM
posible pequeƱo cambio en xbrowse
Posted: Thu Apr 11, 2013 10:55 AM
En PaintCell de TXBrwColumn ... en caso de que el boton tenga bmp se ajusta a bmp , pero si definimos un ancho mayor del boton se coge ese ancho ...

Code (fw): Select all Collapse
....
  if nType > 1
 if ! Empty( aBitmap := ::aBitmap( ::nBtnBmp ) )
         nBtnWidth      := aBitMap[ BITMAP_WIDTH ] + 1
         aBitmap        := nil
         IF nBtnWidth  < IfNil( ::nBtnWidth, 10 )  // aƱadido
            nBtnWidth := IfNil( ::nBtnWidth, 10 )  // aƱadido
         endif                                                    //  aƱadido
      else
         nBtnWidth      := IfNil( ::nBtnWidth, 10 )
      endif
...

Continue the discussion