show label as button(enable/disable)
authorClaus Gittinger <cg@exept.de>
Mon, 13 Sep 1999 07:48:14 +0200
changeset 1215 02d29dd7a0ed
parent 1214 02a032b1098c
child 1216 dd318d1c4aea
show label as button(enable/disable)
DataSetBuilder.st
--- a/DataSetBuilder.st	Thu Sep 09 18:06:22 1999 +0200
+++ b/DataSetBuilder.st	Mon Sep 13 07:48:14 1999 +0200
@@ -108,6 +108,7 @@
         showColSeparator
         showSelectionHighLighted
         showRowSeparator
+        labelIsButton
         backgroundColor
         foregroundColor
         labelForegroundColor
@@ -325,14 +326,9 @@
        #(#WindowSpec
           #label: 'DataSet Basic'
           #name: 'DataSet Basic'
-          #layout: #(#LayoutFrame 38 0 137 0 360 0 463 0)
-          #level: 0
           #min: #(#Point 10 10)
           #max: #(#Point 1280 1024)
-          #bounds: #(#Rectangle 38 137 361 464)
-          #usePreferredExtent: false
-          #returnIsOKInDialog: true
-          #escapeIsCancelInDialog: true
+          #bounds: #(#Rectangle 19 98 408 424)
         )
         #component: 
        #(#SpecCollection
@@ -340,7 +336,7 @@
            #(#FramedBoxSpec
               #label: 'Header:'
               #name: 'framedBox1'
-              #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 173 0)
+              #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 189 0)
               #labelPosition: #topLeft
               #component: 
              #(#SpecCollection
@@ -401,7 +397,7 @@
                  #(#CheckBoxSpec
                     #label: 'Label Is Image'
                     #name: 'labelIsImage'
-                    #layout: #(#LayoutOrigin -3 0 110 0)
+                    #layout: #(#LayoutOrigin -3 0 135 0)
                     #activeHelpKey: #basicsLabelIsImage
                     #tabable: true
                     #model: #labelIsImage
@@ -409,7 +405,7 @@
                  #(#CheckBoxSpec
                     #label: 'Translate Label'
                     #name: 'CheckBox2'
-                    #layout: #(#LayoutOrigin 142 0 110 0)
+                    #layout: #(#LayoutOrigin 142 0 135 0)
                     #activeHelpKey: #basicsLabelTranslate
                     #tabable: true
                     #model: #translateLabel
@@ -432,6 +428,14 @@
                     #modifiedChannel: #modifiedChannel
                     #acceptOnPointerLeave: false
                   )
+                 #(#CheckBoxSpec
+                    #label: 'Label Is Button'
+                    #name: 'labelIsButton'
+                    #layout: #(#LayoutOrigin -3 0 110 0)
+                    #activeHelpKey: #basicsLabelIsImage
+                    #tabable: true
+                    #model: #labelIsButton
+                  )
                  )
                
               )
@@ -439,7 +443,7 @@
            #(#FramedBoxSpec
               #label: 'Cell Type:'
               #name: 'typesFrame'
-              #layout: #(#LayoutFrame 0 0.0 178 0 0 1.0 286 0)
+              #layout: #(#LayoutFrame 0 0.0 193 0 0 1.0 301 0)
               #labelPosition: #topLeft
               #component: 
              #(#SpecCollection
@@ -1026,22 +1030,17 @@
        #(#WindowSpec
           #label: 'DataSet Basic'
           #name: 'DataSet Basic'
-          #layout: #(#LayoutFrame 699 0 270 0 1029 0 597 0)
-          #level: 0
           #min: #(#Point 10 10)
           #max: #(#Point 1280 1024)
-          #bounds: #(#Rectangle 699 270 1030 598)
-          #usePreferredExtent: false
-          #returnIsOKInDialog: true
-          #escapeIsCancelInDialog: true
+          #bounds: #(#Rectangle 67 116 398 444)
         )
         #component: 
        #(#SpecCollection
           #collection: #(
            #(#FramedBoxSpec
               #label: 'Label Select Action:'
-              #name: 'framedBox1'
-              #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 87 0)
+              #name: 'LabelSelectAction'
+              #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 97 0)
               #labelPosition: #topLeft
               #component: 
              #(#SpecCollection
@@ -1069,13 +1068,13 @@
                  #(#LabelSpec
                     #label: 'Argument:'
                     #name: 'ArgumentLabel'
-                    #layout: #(#AlignmentOrigin 95 0 45 0 1 0.5)
+                    #layout: #(#AlignmentOrigin 95 0 48 0 1 0.5)
                     #resizeForLabel: true
                     #adjust: #left
                   )
                  #(#InputFieldSpec
                     #name: 'ArgumentValue'
-                    #layout: #(#LayoutFrame 98 0 34 0 3 1.0 56 0)
+                    #layout: #(#LayoutFrame 98 0 37 0 3 1.0 59 0)
                     #activeHelpKey: #selectionLabelSelectorArgument
                     #tabable: true
                     #model: #labelActionArgument
@@ -1092,8 +1091,8 @@
             )
            #(#FramedBoxSpec
               #label: 'Cell Selection:'
-              #name: 'framedBox2'
-              #layout: #(#LayoutFrame 0 0.0 95 0 0 1.0 205 0)
+              #name: 'CellSelection'
+              #layout: #(#LayoutFrame 0 0.0 105 0 0 1.0 215 0)
               #labelPosition: #topLeft
               #component: 
              #(#SpecCollection
@@ -1140,8 +1139,8 @@
             )
            #(#FramedBoxSpec
               #label: 'Cell Double Click:'
-              #name: 'framedBox3'
-              #layout: #(#LayoutFrame 0 0.0 217 0 0 1.0 274 0)
+              #name: 'CellDoubleClick'
+              #layout: #(#LayoutFrame 0 0.0 227 0 0 1.0 293 0)
               #labelPosition: #topLeft
               #component: 
              #(#SpecCollection