From 453c32289b808c5c2d0eea794fdd2382cb3c6983 Mon Sep 17 00:00:00 2001 From: drewski207 Date: Wed, 10 Oct 2007 03:04:20 +0000 Subject: fixed listview to work in the designer --- examples/apps/uidesigner/vfdwidgets.pas | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/apps/uidesigner/vfdwidgets.pas b/examples/apps/uidesigner/vfdwidgets.pas index 854532d6..61a405a1 100644 --- a/examples/apps/uidesigner/vfdwidgets.pas +++ b/examples/apps/uidesigner/vfdwidgets.pas @@ -335,19 +335,19 @@ begin wc.WidgetIconName := 'vfd.trackbar'; RegisterVFDWidget(wc); -(* + // ListView // Currently causes a Access Violation when resized! wc := TVFDWidgetClass.Create(TfpgListView); wc.NameBase := 'lvName'; -// wc.AddProperty('Columns',TPropertyDBColumns, ''); -// wc.AddProperty('Items', TPropertyStringList, ''); -// wc.AddProperty('FontDesc',TPropertyString,''); -// wc.AddProperty('HeaderFontDesc',TPropertyString,''); + //wc.AddProperty('Columns',TPropertyDBColumns, ''); + //wc.AddProperty('Items', TPropertyStringList, ''); + //wc.AddProperty('FontDesc',TPropertyString,''); + //wc.AddProperty('HeaderFontDesc',TPropertyString,''); wc.WidgetIconName := 'vfd.listview'; RegisterVFDWidget(wc); -*) + // Treeview wc := TVFDWidgetClass.Create(TfpgTreeView); -- cgit v1.2.3-70-g09d2