commit-gnue
[Top][All Lists]
Advanced

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

r163 - gnue-pim/forms


From: kilo
Subject: r163 - gnue-pim/forms
Date: Wed, 8 Dec 2004 03:25:59 -0600 (CST)

Author: kilo
Date: 2004-12-08 03:25:59 -0600 (Wed, 08 Dec 2004)
New Revision: 163

Modified:
   gnue-pim/forms/SelectAddr.gfd
Log:
GNUe PIM.
Trick to allow exit form.

Modified: gnue-pim/forms/SelectAddr.gfd
===================================================================
--- gnue-pim/forms/SelectAddr.gfd       2004-12-07 10:41:24 UTC (rev 162)
+++ gnue-pim/forms/SelectAddr.gfd       2004-12-08 09:25:59 UTC (rev 163)
@@ -42,7 +42,6 @@
       master="dtsAdPe" masterlink="PIM_addr" detaillink="gnue_id"/>
   <datasource name="dtsFreeAddr" connection="pim" table="ADDR_Address"
       prequery="Y"/>
-  <datasource name="dtsAddrType" connection="pim" table="ADDR_Type"/>
 
   <logic>
     <!--***************************************************
@@ -50,9 +49,6 @@
     ****************************************************-->
     <block name="blkAdPe" datasource="dtsAdPe">
       <field name="fldGnueId" field="gnue_id" maxLength="32"/>
-      <field name="fldType" field="PIM_type" maxLength="32"
-          fk_source="dtsAddrType" fk_key="gnue_id"
-          fk_description="ADDR_name"/>
     </block>
     
     <!--***************************************************
@@ -72,6 +68,7 @@
           fk_source="dtsFreeAddr" fk_key="gnue_id"
           fk_description="ADDR_formatted"/>
     </block>
+    
   </logic>
 
 
@@ -80,8 +77,11 @@
   ******************************************************-->
   <layout c:height="10" c:width="70">
     <page>
-      <entry name="entAddrType" c:height="1" c:width="10" c:x="20" c:y="0"
-          block="blkAdPe" field="fldType" style="dropdown"/>
+      <!--This entry is a foo entry that can get the focus.
+      It is needed due to a bug in GNUe: free blocks' dirty state
+      is not consistent, it can prevent the user from exiting the form.-->
+      <entry name="entHatTrick" c:height="1" c:width="1" c:x="1" c:y="1"
+          block="blkAdPe" field="fldGnueId"/>
           
       <!--Available addresses-->
       <label name="lblFreeAdd" c:height="1" c:width="30" c:x="1" c:y="0"
@@ -132,10 +132,12 @@
         </trigger>
       </button>
       
+      
       <!--Close button-->
       <button name="btnClose" c:height="1" c:width="7" c:x="32" c:y="9"
           label="Close">
         <trigger type="ON-ACTION" name="btnCloseTrigger">
+          setFocus(blkAdPe.fldGnueId)
           blkFreeAddr.rollback()
           blkBoundAddr.rollback()
           close()





reply via email to

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