From 65ff842c1e50273bea488b421b8e0177e01ea8dc Mon Sep 17 00:00:00 2001 From: JenneJ Date: Mon, 14 Mar 2016 11:32:14 +0100 Subject: [PATCH] =?UTF-8?q?jj=2014.03=20showcolumn=20f=C3=BCr=20datagridvi?= =?UTF-8?q?ew?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ClassControlCommands.vb | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/DD-Record-Organiser/ClassControlCommands.vb b/app/DD-Record-Organiser/ClassControlCommands.vb index 3fa8719..d57ccb8 100644 --- a/app/DD-Record-Organiser/ClassControlCommands.vb +++ b/app/DD-Record-Organiser/ClassControlCommands.vb @@ -233,16 +233,20 @@ DEFAULTVALUE = properties.DefaultValue End If - If type = "TextBox" OrElse - type = "ComboBox" OrElse - type = "CheckBox" OrElse - type = "RadioButton" OrElse - type = "CheckedListBoxControl" OrElse - type = "ListBoxControl" Then + 'If type = "TextBox" OrElse + ' type = "ComboBox" OrElse + ' type = "CheckBox" OrElse + ' type = "RadioButton" OrElse + ' type = "CheckedListBoxControl" OrElse + ' type = "ListBoxControl" Then + + ' SHOW_COLUMN = BoolToInt(properties.ShowColumn) + 'Else + ' SHOW_COLUMN = BoolToInt(True) + 'End If + If propExists(properties, "ShowColumn") Then SHOW_COLUMN = BoolToInt(properties.ShowColumn) - Else - SHOW_COLUMN = BoolToInt(True) End If If type = "TextBox" AndAlso propExists(properties, "Format") Then