FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour A problem with xBrowse Image Cell-Align ? ( + toolpreview )
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
A problem with xBrowse Image Cell-Align ? ( + toolpreview )
Posted: Fri Feb 28, 2014 01:17 PM
Hello,

focused on testing graphical-solutions, during my tests with my new xBrowse-sample,
I noticed a problem with the image-bottom , using cell-adjustment ( missing some space )
oBrw:aCols[ 8 ]:nDataBmpAlign

The next column ( Image 2 ), shows my calculated position. That works OK in all situations.
The defined CELLSIZE = 100 x 85



The column-menu with the different adjustments :



My Calculation-result, to move the image to cell-TOP :



How to show the image 1 on TOP like Image 2 ( calculated ) ???
AL_TOP missing ?

MENUITEM "Left Align" WHEN oCol:nDataBmpAlign > 0 ;
ACTION ( oCol:nDataBmpAlign:= AL_LEFT, oCol:Refresh() )
MENUITEM "Center Align" WHEN oCol:nDataBmpAlign != AL_CENTER ;
ACTION ( oCol:nDataBmpAlign := AL_CENTER, oCol:Refresh() )
MENUITEM "Right Align" WHEN oCol:nDataBmpAlign != AL_RIGHT ;
ACTION ( oCol:nDataBmpAlign := AL_RIGHT , oCol:Refresh() )


The tool-preview

Main-screen



The test-dialog



The Painter



A dialog with a painted dialog-title



Best 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.

Continue the discussion