瀏覽代碼

Fix member name.

mingodad 13 年之前
父節點
當前提交
a6a230a3dc
共有 2 個文件被更改,包括 11 次插入10 次删除
  1. 8 7
      SquiLu-ourbiz/ourbiz-gui.fl
  2. 3 3
      SquiLu-ourbiz/ourbiz-gui.nut

+ 8 - 7
SquiLu-ourbiz/ourbiz-gui.fl

@@ -83,7 +83,7 @@ widget_class HelpWindow {
 } 
 
 widget_class CalendarWindow {
-  label Calendar
+  label Calendar open
   xywh {732 184 350 305} type Double labelsize 16 hide
   class Base_Window
 } {
@@ -143,9 +143,10 @@ widget_class CalendarWindow {
       xywh {320 35 25 25}
     }
   }
-  Fl_Browser calendar_table {
+  Fl_Browser grid {
+    dirty_name grid selected
     xywh {5 65 340 202} labeltype NO_LABEL labelsize 16
-    class Fl_Virtual_Table
+    class Fl_Data_Table
   }
   Fl_Group {} {open
     xywh {5 275 340 25} labelsize 16
@@ -407,9 +408,9 @@ widget_class HistoryGroup {
 } 
 
 widget_class BaseReportA4 {
-  label BaseReportA4 open
-  xywh {178 95 420 590} type Double resizable
-  class Fl_Window visible
+  label BaseReportA4
+  xywh {178 95 420 590} type Double hide resizable
+  class Fl_Window
 } {
   Fl_Box rpt_Logo {
     label Ourbiz
@@ -431,7 +432,7 @@ widget_class BaseReportA4 {
     xywh {10 40 405 1} box FLAT_BOX color 34 labeltype NO_LABEL
   }
   Fl_Browser rpt_Body {
-    dirty_name rpt_Body selected
+    dirty_name rpt_Body
     xywh {10 45 408 495} labelsize 8 textsize 8 resizable
     code0 {o->has_scrollbar(FLVS_NONE);}
     code1 {o->feature_remove(FLVF_ROW_SELECT | FLVF_PERSIST_SELECT);}

+ 3 - 3
SquiLu-ourbiz/ourbiz-gui.nut

@@ -123,7 +123,7 @@ class CalendarWindow extends Base_Window {
   btnMonth10 = null;
   btnMonth11 = null;
   btnMonth12 = null;
-  calendar_table = null;
+  grid = null;
   btnPrevYear = null;
   btnPrevMonth = null;
   btnToday = null;
@@ -197,8 +197,8 @@ class CalendarWindow extends Base_Window {
       o.end();
     }
     {
-      local o = Fl_Virtual_Table(5, 65, 340, 202);
-      calendar_table = o;
+      local o = Fl_Data_Table(5, 65, 340, 202);
+      grid = o;
       o.labeltype(FL_NO_LABEL);
       o.labelsize(16);
       o.end();