where is this sample ?
#include "fivewin.ch"
function Main()
local oDlg, oBrw, oFont
local aData
aData := Array( 50 )
AEval( aData, { |u,i| aData[ i ] := Array( 20 ) } )
DEFINE FONT oFont NAME "CALIBRI" SIZE 0,-14
DEFINE DIALOG oDlg SIZE 860,400 PIXEL TRUEPIXEL ;
FONT oFont ;
TITLE FWVERSION + " : Excel Sheet"
@ 60,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ;
DATASOURCE aData AUTOCOLS ;
CELL LINES NOBORDER FASTEDIT STYLE 2015
WITH OBJECT oBrw
:nEditTypes := EDIT_GET
:nColDividerStyle := ;
:nRowDividerStyle := LINESTYLE_LIGHTGRAY
:nMarqueeStyle := MARQSTYLE_SOLIDCELL
//
:bRecSelData := { |brw| brw:KeyNo }
:nRecSelWidth := "99"
:SetRecSelBmp( 0 )
:nRecSelHeadBmpNo := { 20, 16, { { "L", CLR_HGRAY, 0, 16, 16, 15, 3, 0, 15, 15, 15 } } }
//
:nWidths := 60
:CreateFromCode()
END
@ 20,20 SAY 'Like Excel Sheet' ;
SIZE oDlg:nWidth - 40, 20 PIXEL OF oDlg CENTER COLOR CLR_RED,oDlg:nClrPane
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 81 guests