Code: Select all
#include "fivewin.ch"
function main()
oWnd := TWindow():New()
oView := TListView():New( 10, 10, {"abc","def"},, oWnd,,,, .t.,, 30, 40, "cMsg" )
oWnd:Activate()
return ( nil )
TIA
Dionie
Code: Select all
#include "fivewin.ch"
function main()
oWnd := TWindow():New()
oView := TListView():New( 10, 10, {"abc","def"},, oWnd,,,, .t.,, 30, 40, "cMsg" )
oWnd:Activate()
return ( nil )
Code: Select all
#include "FiveWin.ch"
function Main()
local oWnd, oLvw, nOption := 1, oImageList
DEFINE WINDOW oWnd TITLE "ListView Test"
DEFINE IMAGELIST oImageList SIZE 32, 32
oImageList:AddIcon( "console" )
oImageList:AddIcon( "form" )
oImageList:AddIcon( "library" )
@ 1, 1 LISTVIEW oLvw SIZE 300, 300 PROMPTS "One", "Two", "Three" ;
ACTION MsgInfo( nOption )
oLvw:SetImageList( oImageList )
ACTIVATE WINDOW oWnd
oImageList:End()
return nil