commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r111 - in gnue-invoice: . forms


From: kilo
Subject: r111 - in gnue-invoice: . forms
Date: Fri, 12 Nov 2004 03:07:55 -0600 (CST)

Author: kilo
Date: 2004-11-12 03:07:54 -0600 (Fri, 12 Nov 2004)
New Revision: 111

Modified:
   gnue-invoice/forms/LOC_Address.gfd
   gnue-invoice/forms/LOC_Country.gfd
   gnue-invoice/forms/LOC_Region.gfd
   gnue-invoice/forms/LOC_Street.gfd
   gnue-invoice/forms/LOC_Zip.gfd
   gnue-invoice/forms/PARTY_Party.gfd
   gnue-invoice/news
   gnue-invoice/todo
Log:
GNUe Invoice.
Converted all subforms to dialog style.

Modified: gnue-invoice/forms/LOC_Address.gfd
===================================================================
--- gnue-invoice/forms/LOC_Address.gfd  2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/forms/LOC_Address.gfd  2004-11-12 09:07:54 UTC (rev 111)
@@ -23,17 +23,19 @@
 
      $Id$ -->
 
-<form title="Address">
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Address">
   <options/>
-  <datasource name="dtsLOC_Address" connection="invoice" table="LOC_Address"/>
+  
+  <datasource name="dts" connection="invoice" table="LOC_Address"/>
   <datasource name="dts_LOC_Zip" connection="invoice" prequery="Y"
               table="LOC_Zip"/>
   <datasource name="dts_LOC_Street" connection="invoice" prequery="Y"
               table="LOC_Street"/>
   <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
               table="LOC_Country"/>
+              
   <logic>
-    <block name="blkLOC_Address" datasource="dtsloc_address">
+    <block name="blk" datasource="dts">
       <field name="fldLocBuilding" field="LOC_building" maxLength="4"/>
       <field name="fldLocCountry" field="LOC_country" 
fk_description="LOC_formatted"
              fk_key="gnue_id" fk_source="dts_LOC_Country" maxLength="32"/>
@@ -47,86 +49,63 @@
              fk_key="gnue_id" fk_source="dts_LOC_Zip" maxLength="32"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="9" Char:width="43">
-    <page name="Page1">
-      <label name="lblLoc Country:" Char:height="1" Char:width="12" Char:x="1"
-             Char:y="1" text="Country:"/>
-      <entry name="entLocCountry" Char:height="1" Char:width="30" Char:x="12"
-             Char:y="1" block="blkLOC_Address" field="fldLocCountry" 
focusorder="1"
-             label="" style="dropdown"/>
-      <button name="btnEditCountry" Char:height="1" Char:width="6" Char:x="42"
-              Char:y="1" label="Edit...">
-        <trigger type="ON-ACTION" name="btnEditCountryTrigger"><![CDATA[##
-          location = "LOC_Country.gfd"
-          form.runForm(location)
-        ]]></trigger>
+  
+  <layout c:height="9" c:width="43">
+    <page>
+      <label name="lblCountry:" c:height="1" c:width="12" c:x="1" c:y="1"
+          text="Country:"/>
+      <entry name="entCountry" c:height="1" c:width="30" c:x="12" c:y="1"
+          block="blk" field="fldLocCountry" focusorder="1" label="" 
style="dropdown"/>
+      <button name="btnEditCountry" c:height="1" c:width="6" c:x="42" c:y="1"
+          label="Edit...">
+        <trigger type="ON-ACTION" name="btnEditCountryTrigger">
+          form.runForm('LOC_Country.gfd')
+          blk.fldLocCountry.resetForeignKey()
+        </trigger>
       </button>
-      <button name="btnRefreshCountry" Char:height="1" Char:width="3"
-              Char:x="48" Char:y="1" label="@">
-        <trigger type="ON-ACTION" name="btnRefreshCountryTrigger"><![CDATA[##
-          blkLOC_Address.fldLocCountry.resetForeignKey()
-        ]]></trigger>
+      <label name="lblZip:" c:height="1" c:width="8" c:x="1" c:y="2"
+          text="Zip:"/>
+      <entry name="entZip" c:height="1" c:width="30" c:x="12" c:y="2"
+          block="blk" field="fldLocZip" focusorder="2" label="" 
style="dropdown"/>
+      <button name="btnEditZip" c:height="1" c:width="6" c:x="42" c:y="2"
+          label="Edit...">
+        <trigger type="ON-ACTION" name="btnEditZipTrigger">
+          form.runForm('LOC_Zip.gfd')
+          blk.fldLocZip.resetForeignKey()
+        </trigger>
       </button>
-      <label name="lblLoc Zip:" Char:height="1" Char:width="8" Char:x="1"
-             Char:y="2" text="Zip:"/>
-      <entry name="entLocZip" Char:height="1" Char:width="30" Char:x="12"
-             Char:y="2" block="blkLOC_Address" field="fldLocZip" 
focusorder="2" label=""
-             style="dropdown"/>
-      <button name="btnEditZip" Char:height="1" Char:width="6" Char:x="42"
-              Char:y="2" label="Edit...">
-        <trigger type="ON-ACTION" name="btnEditZipTrigger"><![CDATA[##
-          location = "LOC_Zip.gfd"
-          form.runForm(location)
-        ]]></trigger>
+      <label name="lblStreet:" c:height="1" c:width="10" c:x="1" c:y="3"
+          text="Street:"/>
+      <entry name="entStreet" c:height="1" c:width="30" c:x="12" c:y="3"
+          block="blk" field="fldLocStreet" focusorder="3" label="" 
style="dropdown"/>
+      <button name="btnEditStreet" c:height="1" c:width="6" c:x="42" c:y="3"
+          label="Edit...">
+        <trigger type="ON-ACTION" name="btnEditStreetTrigger">
+          form.runForm('LOC_Street.gfd')
+          blk.fldLocStreet.resetForeignKey()
+        </trigger>
       </button>
-      <button name="btnRefreshZip" Char:height="1" Char:width="3"
-              Char:x="48" Char:y="2" label="@">
-        <trigger type="ON-ACTION" name="btnRefreshZipTrigger"><![CDATA[##
-          blkLOC_Address.fldLocZip.resetForeignKey()
-        ]]></trigger>
-      </button>
-      <label name="lblLoc Street:" Char:height="1" Char:width="10" Char:x="1"
-             Char:y="3" text="Street:"/>
-      <entry name="entLocStreet" Char:height="1" Char:width="30" Char:x="12"
-             Char:y="3" block="blkLOC_Address" field="fldLocStreet" 
focusorder="3"
-             label="" style="dropdown"/>
-      <button name="btnEditStreet" Char:height="1" Char:width="6" Char:x="42"
-              Char:y="3" label="Edit...">
-        <trigger type="ON-ACTION" name="btnEditStreetTrigger"><![CDATA[##
-          location = "LOC_Street.gfd"
-          form.runForm(location)
-        ]]></trigger>
-      </button>
-      <button name="btnRefreshStreet" Char:height="1" Char:width="3"
-              Char:x="48" Char:y="3" label="@">
-        <trigger type="ON-ACTION" name="btnRefreshStreetTrigger"><![CDATA[##
-          blkLOC_Address.fldLocStreet.resetForeignKey()
-        ]]></trigger>
-      </button>
-      <label name="lblLoc Number:" Char:height="1" Char:width="11" Char:x="1"
-             Char:y="4" text="Number:"/>
-      <entry name="entLocNumber" Char:height="1" Char:width="11" Char:x="12"
-             Char:y="4" block="blkLOC_Address" field="fldLocNumber" 
focusorder="4"
-             label=""/>
-      <label name="lblLoc Building:" Char:height="1" Char:width="13"
-             Char:x="1" Char:y="5" text="Building:"/>
-      <entry name="entLocBuilding" Char:height="1" Char:width="4" Char:x="12"
-             Char:y="5" block="blkLOC_Address" field="fldLocBuilding" 
focusorder="5"
-             label=""/>
-      <label name="lblLoc Staircase:" Char:height="1" Char:width="14"
-             Char:x="1" Char:y="6" text="Staircase:"/>
-      <entry name="entLocStaircase" Char:height="1" Char:width="4" Char:x="12"
-             Char:y="6" block="blkLOC_Address" field="fldLocStaircase" 
focusorder="6"
-             label=""/>
-      <label name="lblLoc Floor:" Char:height="1" Char:width="10" Char:x="1"
-             Char:y="7" text="Floor:"/>
-      <entry name="entLocFloor" Char:height="1" Char:width="2" Char:x="12"
-             Char:y="7" block="blkLOC_Address" field="fldLocFloor" 
focusorder="7"
-             label=""/>
-      <label name="lblLoc Door:" Char:height="1" Char:width="9" Char:x="1"
-             Char:y="8" text="Door:"/>
-      <entry name="entLocDoor" Char:height="1" Char:width="4" Char:x="12"
-             Char:y="8" block="blkLOC_Address" field="fldLocDoor" 
focusorder="8" label=""/>
+      <label name="lblNumber:" c:height="1" c:width="11" c:x="1" c:y="4"
+          text="Number:"/>
+      <entry name="entNumber" c:height="1" c:width="11" c:x="12" c:y="4"
+          block="blk" field="fldLocNumber" focusorder="4" label=""/>
+      <label name="lblBuilding:" c:height="1" c:width="13" c:x="1" c:y="5"
+          text="Building:"/>
+      <entry name="entBuilding" c:height="1" c:width="4" c:x="12" c:y="5"
+          block="blk" field="fldLocBuilding" focusorder="5" label=""/>
+      <label name="lblStaircase:" c:height="1" c:width="14" c:x="1" c:y="6"
+          text="Staircase:"/>
+      <entry name="entStaircase" c:height="1" c:width="4" c:x="12" c:y="6"
+          block="blk" field="fldLocStaircase" focusorder="6" label=""/>
+      <label name="lblFloor:" c:height="1" c:width="10" c:x="1" c:y="7"
+          text="Floor:"/>
+      <entry name="entFloor" c:height="1" c:width="2" c:x="12" c:y="7"
+          block="blk" field="fldLocFloor" focusorder="7" label=""/>
+      <label name="lblDoor:" c:height="1" c:width="9" c:x="1" c:y="8"
+          text="Door:"/>
+      <entry name="entDoor" c:height="1" c:width="4" c:x="12" c:y="8"
+          block="blk" field="fldLocDoor" focusorder="8" label=""/>
     </page>
   </layout>
+  
 </form>

Modified: gnue-invoice/forms/LOC_Country.gfd
===================================================================
--- gnue-invoice/forms/LOC_Country.gfd  2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/forms/LOC_Country.gfd  2004-11-12 09:07:54 UTC (rev 111)
@@ -23,30 +23,34 @@
 
      $Id$ -->
 
-<form title="Country">
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Country">
   <options/>
-  <datasource name="dtsLOC_Country" connection="invoice" table="LOC_Country"/>
+  
+  <datasource name="dts" connection="invoice" table="LOC_Country"/>
+  
   <logic>
-    <block name="blkLOC_Country" datasource="dtsloc_country">
+    <block name="blk" datasource="dts">
       <field name="fldLocCode" field="LOC_code" maxLength="3"/>
       <field name="fldLocName" field="LOC_name" maxLength="70"/>
       <field name="fldLocPhone" field="LOC_phone" maxLength="4"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="3" Char:width="46">
-    <page name="Page1">
-      <label name="lblLoc Code:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="1" text="Code:"/>
-      <entry name="entLocCode" Char:height="1" Char:width="3" Char:x="9"
-             Char:y="1" block="blkLOC_Country" field="fldLocCode" 
focusorder="1" label=""/>
-      <label name="lblLoc Name:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="2" text="Name:"/>
-      <entry name="entLocName" Char:height="1" Char:width="30" Char:x="9"
-             Char:y="2" block="blkLOC_Country" field="fldLocName" 
focusorder="2" label=""/>
-      <label name="lblLoc Phone:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="3" text="Phone:"/>
-      <entry name="entLocPhone" Char:height="1" Char:width="4" Char:x="9"
-             Char:y="3" block="blkLOC_Country" field="fldLocPhone" 
focusorder="3" label=""/>
+  
+  <layout c:height="3" c:width="46">
+    <page>
+      <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
+          text="Code:"/>
+      <entry name="entCode" c:height="1" c:width="3" c:x="9" c:y="1"
+          block="blk" field="fldLocCode" focusorder="1" label=""/>
+      <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="2"
+          text="Name:"/>
+      <entry name="entName" c:height="1" c:width="30" c:x="9" c:y="2"
+          block="blk" field="fldLocName" focusorder="2" label=""/>
+      <label name="lblPhone:" c:height="1" c:width="4" c:x="1" c:y="3"
+          text="Phone:"/>
+      <entry name="entPhone" c:height="1" c:width="4" c:x="9" c:y="3"
+          block="blk" field="fldLocPhone" focusorder="3" label=""/>
     </page>
   </layout>
+  
 </form>

Modified: gnue-invoice/forms/LOC_Region.gfd
===================================================================
--- gnue-invoice/forms/LOC_Region.gfd   2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/forms/LOC_Region.gfd   2004-11-12 09:07:54 UTC (rev 111)
@@ -23,47 +23,44 @@
 
      $Id$ -->
 
-<form title="Region">
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Region">
   <options/>
-  <datasource name="dtsLOC_Region" connection="invoice" table="LOC_Region"/>
+  
+  <datasource name="dts" connection="invoice" table="LOC_Region"/>
   <datasource name="dts_LOC_Country" connection="invoice" prequery="Y"
               table="LOC_Country"/>
+              
   <logic>
-    <block name="blkLOC_Region" datasource="dtsloc_region">
+    <block name="blk" datasource="dts">
       <field name="fldLocCode" field="LOC_code" maxLength="8"/>
-      <field name="fldLocCountry" field="LOC_country" fk_description="name"
+      <field name="fldLocCountry" field="LOC_country" fk_description="LOC_name"
              fk_key="gnue_id" fk_source="dts_LOC_Country" maxLength="32"/>
       <field name="fldLocName" field="LOC_name" maxLength="70"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="4" Char:width="42">
-    <page name="Page1">
-      <label name="lblLoc Code:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="1" text="Code:"/>
-      <entry name="entLocCode" Char:height="1" Char:width="8" Char:x="10"
-             Char:y="1" block="blkLOC_Region" field="fldLocCode" 
focusorder="1" label=""/>
-      <label name="lblLoc Name:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="2" text="Name:"/>
-      <entry name="entLocName" Char:height="1" Char:width="30" Char:x="10"
-             Char:y="2" block="blkLOC_Region" field="fldLocName" 
focusorder="2" label=""/>
-      <label name="lblLoc Country:" Char:height="1" Char:width="7" Char:x="1"
-             Char:y="3" text="Country:"/>
-      <entry name="entLocCountry" Char:height="1" Char:width="30" Char:x="10"
-             Char:y="3" block="blkLOC_Region" field="fldLocCountry" 
focusorder="3"
-             label="" style="dropdown"/>
-      <button name="btnEditCountry" Char:height="1" Char:width="6" Char:x="40"
-              Char:y="3" label="Edit...">
-        <trigger type="ON-ACTION" name="btnEditCountryTrigger"><![CDATA[##
-          location = "LOC_Country.gfd"
-          form.runForm(location)
-        ]]></trigger>
+  
+  <layout c:height="4" c:width="42">
+    <page>
+      <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
+          text="Code:"/>
+      <entry name="entCode" c:height="1" c:width="8" c:x="10" c:y="1"
+          block="blk" field="fldLocCode" focusorder="1" label=""/>
+      <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="2"
+          text="Name:"/>
+      <entry name="entName" c:height="1" c:width="30" c:x="10" c:y="2"
+          block="blk" field="fldLocName" focusorder="2" label=""/>
+      <label name="lblCountry:" c:height="1" c:width="7" c:x="1" c:y="3"
+          text="Country:"/>
+      <entry name="entCountry" c:height="1" c:width="30" c:x="10" c:y="3"
+          block="blk" field="fldLocCountry" focusorder="3" label="" 
style="dropdown"/>
+      <button name="btnEditCountry" c:height="1" c:width="6" c:x="40" c:y="3"
+          label="Edit...">
+        <trigger type="ON-ACTION" name="btnEditCountryTrigger">
+          form.runForm('LOC_Country.gfd')
+          blk.fldLocCountry.resetForeignKey()
+        </trigger>
       </button>
-      <button name="btnRefreshCountry" Char:height="1" Char:width="3"
-              Char:x="46" Char:y="3" label="@">
-        <trigger type="ON-ACTION" name="btnRefreshCountryTrigger"><![CDATA[##
-          blkLOC_Region.fldLocCountry.resetForeignKey()
-        ]]></trigger>
-      </button>
     </page>
   </layout>
+  
 </form>

Modified: gnue-invoice/forms/LOC_Street.gfd
===================================================================
--- gnue-invoice/forms/LOC_Street.gfd   2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/forms/LOC_Street.gfd   2004-11-12 09:07:54 UTC (rev 111)
@@ -23,25 +23,29 @@
 
      $Id$ -->
 
-<form title="Street names">
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Street names">
   <options/>
-  <datasource name="dtsLOC_Street" connection="invoice" table="LOC_Street"/>
+  
+  <datasource name="dts" connection="invoice" table="LOC_Street"/>
+  
   <logic>
-    <block name="blkLOC_Street" datasource="dtsloc_street">
+    <block name="blk" datasource="dts">
       <field name="fldLocName" field="LOC_name" maxLength="35"/>
       <field name="fldLocType" field="LOC_type" maxLength="35"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="3" Char:width="38">
-    <page name="Page1">
-      <label name="lblLoc Name:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="1" text="Name:"/>
-      <entry name="entLocName" Char:height="1" Char:width="30" Char:x="7"
-             Char:y="1" block="blkLOC_Street" field="fldLocName" 
focusorder="1" label=""/>
-      <label name="lblLoc Type:" Char:height="1" Char:width="6" Char:x="1"
-             Char:y="2" text="Type:"/>
-      <entry name="entLocType" Char:height="1" Char:width="30" Char:x="7"
-             Char:y="2" block="blkLOC_Street" field="fldLocType" 
focusorder="2" label=""/>
+  
+  <layout c:height="3" c:width="38">
+    <page>
+      <label name="lblName:" c:height="1" c:width="4" c:x="1" c:y="1"
+          text="Name:"/>
+      <entry name="entName" c:height="1" c:width="30" c:x="7" c:y="1"
+          block="blk" field="fldLocName" focusorder="1" label=""/>
+      <label name="lblType:" c:height="1" c:width="6" c:x="1" c:y="2"
+          text="Type:"/>
+      <entry name="entType" c:height="1" c:width="30" c:x="7" c:y="2"
+          block="blk" field="fldLocType" focusorder="2" label=""/>
     </page>
   </layout>
+  
 </form>

Modified: gnue-invoice/forms/LOC_Zip.gfd
===================================================================
--- gnue-invoice/forms/LOC_Zip.gfd      2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/forms/LOC_Zip.gfd      2004-11-12 09:07:54 UTC (rev 111)
@@ -23,47 +23,44 @@
 
      $Id$ -->
 
-<form title="Postal Code">
+<form style="dialog" xmlns:c="GNUe:Layout:Char" title="Postal Code">
   <options/>
-  <datasource name="dtsLOC_Zip" connection="invoice" table="LOC_Zip"/>
+  
+  <datasource name="dts" connection="invoice" table="LOC_Zip"/>
   <datasource name="dts_LOC_Region" connection="invoice" prequery="Y"
               table="LOC_Region"/>
+              
   <logic>
-    <block name="blkLOC_Zip" datasource="dtsloc_zip">
+    <block name="blk" datasource="dts">
       <field name="fldLocCode" field="LOC_code" maxLength="8"/>
       <field name="fldLocCity" field="LOC_city" maxLength="60"/>
-      <field name="fldLocRegion" field="LOC_region" fk_description="name"
+      <field name="fldLocRegion" field="LOC_region" fk_description="LOC_name"
              fk_key="gnue_id" fk_source="dts_LOC_Region" maxLength="32"/>
     </block>
   </logic>
-  <layout xmlns:Char="GNUe:Layout:Char" Char:height="4" Char:width="43">
-    <page name="Page1">
-      <label name="lblLoc Code:" Char:height="1" Char:width="4" Char:x="1"
-             Char:y="1" text="Code:"/>
-      <entry name="entLocCode" Char:height="1" Char:width="8" Char:x="12"
-             Char:y="1" block="blkLOC_Zip" field="fldLocCode" focusorder="1" 
label=""/>
-      <label name="lblLoc City:" Char:height="1" Char:width="8" Char:x="1"
-             Char:y="2" text="City:"/>
-      <entry name="entLocCity" Char:height="1" Char:width="30" Char:x="12"
-             Char:y="2" block="blkLOC_Zip" field="fldLocCity" focusorder="2" 
label=""/>
-      <label name="lblLoc Region:" Char:height="1" Char:width="6" Char:x="1"
-             Char:y="3" text="Region:"/>
-      <entry name="entLocRegion" Char:height="1" Char:width="30" Char:x="12"
-             Char:y="3" block="blkLOC_Zip" field="fldLocRegion" focusorder="3" 
label=""
-             style="dropdown"/>
-      <button name="btnEditRegion" Char:height="1" Char:width="6" Char:x="42"
-              Char:y="3" label="Edit...">
-        <trigger type="ON-ACTION" name="btnEditRegionTrigger"><![CDATA[##
-          location = "LOC_Region.gfd"
-          form.runForm(location)
-        ]]></trigger>
+  
+  <layout c:height="4" c:width="43">
+    <page>
+      <label name="lblCode:" c:height="1" c:width="4" c:x="1" c:y="1"
+          text="Code:"/>
+      <entry name="entCode" c:height="1" c:width="8" c:x="12" c:y="1"
+          block="blk" field="fldLocCode" focusorder="1" label=""/>
+      <label name="lblCity:" c:height="1" c:width="8" c:x="1" c:y="2"
+          text="City:"/>
+      <entry name="entCity" c:height="1" c:width="30" c:x="12" c:y="2"
+          block="blk" field="fldLocCity" focusorder="2" label=""/>
+      <label name="lblRegion:" c:height="1" c:width="6" c:x="1" c:y="3"
+          text="Region:"/>
+      <entry name="entRegion" c:height="1" c:width="30" c:x="12" c:y="3"
+          block="blk" field="fldLocRegion" focusorder="3" label="" 
style="dropdown"/>
+      <button name="btnEditRegion" c:height="1" c:width="6" c:x="42" c:y="3"
+          label="Edit...">
+        <trigger type="ON-ACTION" name="btnEditRegionTrigger">
+          form.runForm('LOC_Region.gfd')
+          blk.fldLocRegion.resetForeignKey()
+        </trigger>
       </button>
-      <button name="btnRefreshRegion" Char:height="1" Char:width="3"
-              Char:x="48" Char:y="3" label="@">
-        <trigger type="ON-ACTION" name="btnRefreshRegionTrigger"><![CDATA[##
-          blkLOC_Zip.fldLocRegion.resetForeignKey()
-        ]]></trigger>
-      </button>
     </page>
   </layout>
+  
 </form>

Modified: gnue-invoice/forms/PARTY_Party.gfd
===================================================================
--- gnue-invoice/forms/PARTY_Party.gfd  2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/forms/PARTY_Party.gfd  2004-11-12 09:07:54 UTC (rev 111)
@@ -40,38 +40,30 @@
     </block>
   </logic>
 
-  <layout c:height="5" c:width="54">
+  <layout c:height="5" c:width="45">
     <page>
       <label name="lblName:" c:height="1" c:width="5" c:x="1" c:y="1"
           text="Name:"/>
-      <entry name="entName" c:height="1" c:width="28" c:x="13" c:y="1"
+      <entry name="entName" c:height="1" c:width="28" c:x="10" c:y="1"
           block="blk" field="fldPartyName" label=""/>
       <label name="lblLongname:" c:height="1" c:width="10" c:x="1" c:y="2"
           text="Long name:"/>
-      <entry name="entLongname" c:height="1" c:width="40" c:x="13" c:y="2"
+      <entry name="entLongname" c:height="1" c:width="40" c:x="10" c:y="2"
           block="blk" field="fldPartyLongname" label=""/>
       <label name="lblAddress:" c:height="1" c:width="8" c:x="1" c:y="3"
           text="Address:"/>
-      <entry name="entAddress" c:height="1" c:width="28" c:x="13" c:y="3"
+      <entry name="entAddress" c:height="1" c:width="28" c:x="10" c:y="3"
           block="blk" field="fldPartyAddress" label="" style="dropdown"/>
-      <button name="btnEditAddress" c:height="1" c:width="6" c:x="41" c:y="3"
+      <button name="btnEditAddress" c:height="1" c:width="6" c:x="38" c:y="3"
           label="Edit...">
-        <trigger type="On-Action" name="btnEditAddressTrigger"><![CDATA[##
-          location = "LOC_Address.gfd"
-          form.runForm(location)
-        ]]>
-        </trigger>
-      </button>
-      <button name="btnRefreshAddress" c:height="1" c:width="3" c:x="47" 
c:y="3"
-          label="@">
-        <trigger type="On-Action" name="btnRefreshAddressTrigger"><![CDATA[##
+        <trigger type="On-Action" name="btnEditAddressTrigger">
+          form.runForm('LOC_Address.gfd')
           blk.fldPartyAddress.resetForeignKey()
-        ]]>
         </trigger>
       </button>
       <label name="lblTaxid:" c:height="1" c:width="6" c:x="1" c:y="4"
-          text="Taxid:"/>
-      <entry name="entTaxid" c:height="1" c:width="28" c:x="13" c:y="4"
+          text="Tax ID:"/>
+      <entry name="entTaxid" c:height="1" c:width="28" c:x="10" c:y="4"
           block="blk" field="fldPartyTaxid" label=""/>
     </page>
   </layout>

Modified: gnue-invoice/news
===================================================================
--- gnue-invoice/news   2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/news   2004-11-12 09:07:54 UTC (rev 111)
@@ -3,6 +3,10 @@
 GNUe Invoice - Project CV
 *************************
 New features / changes by 2004.11.11
+* Converted all subforms to dialogs to provide modality.
+  Removed '@' buttons.
+  
+New features / changes by 2004.11.11
 * Converted Item-related forms to use dialogs to edit dropdown valuesets.
   As dialogs are modal, the dropdown valueset refreshes automaticaly
   on closing the dialog, so there is no need any further for the '@' button

Modified: gnue-invoice/todo
===================================================================
--- gnue-invoice/todo   2004-11-11 23:13:07 UTC (rev 110)
+++ gnue-invoice/todo   2004-11-12 09:07:54 UTC (rev 111)
@@ -4,6 +4,16 @@
 *************************************
 
 
+MAKE DIALOGS EDIT SELECTED VALUE
+================================
+    When a subform (dialog) opens up, automatically open it with the record
+    to be edited loaded.
+    If no entry was selected on the dropdown before opening up the dialog,
+    it should show up empty - just ready for adding a new record.
+
+    Status: in progress
+
+
 PROPERLY INITIALIZE DATE DUE ENTRY
 ==================================
     When producing several invoices continously, it is not cleared after





reply via email to

[Prev in Thread] Current Thread [Next in Thread]