Recent change in Win7 style does not work.
I move scroll to Johnny but it remains at top Homer:
Uploaded with ImageShack.us
- Code: Select all Expand view RUN
- #include 'fivewin.ch'
#include 'xbrowse.ch'
static oFont, ovFont
function main()
local oWnd, oBrw
use customer
DEFINE FONT oFont NAME 'TAHOMA' SIZE 0,-12
DEFINE FONT oVfont NAME 'TAHOMA' SIZE 0,-12 NESCAPEMENT 900
DEFINE WINDOW oWnd
oWnd:SetFont( oFont )
@ 0,0 XBROWSE oBrw ;
COLUMNS 'First', 'Last', 'Age' ;
OF oWnd ;
ALIAS 'CUSTOMER' ;
LINES CELL
WITH OBJECT oBrw:oCol( "Age" )
:oHeaderFont := oVFont
:cHeader := "Age Of Employee"
:AddBmpFile( '..\bitmaps\attach.bmp' )
:nHeadBmpNo := 1
END
oBrw:nMarqueeStyle := 7
oBrw:nColDividerStyle := LINESTYLE_BLACK
oBrw:lColDividerComplete := .T.
oBrw:nHeaderLines := 1.5
oBrw:lRecordSelector := .F.
oBrw:nStretchCol = STRETCHCOL_LAST
oBrw:CreateFromCode()
oWnd:oClient := oBrw
SET MESSAGE OF oWnd TO "XBrowse Vertical Fonts" 2007
ACTIVATE WINDOW oWnd MAXIMIZED
return nil
//===========================