home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / optima / samples.z / EmployeeDataEdit.wxf < prev    next >
Encoding:
Text File  |  1996-04-22  |  5.8 KB  |  310 lines

  1. Save Format v1.3
  2. @begin Form "EmployeeDataEdit"
  3.  Exported 0;
  4.  
  5.  @begin Object "WDialog"
  6.   WSCaption 1;
  7.   WSSizeable 1;
  8.   WSDlgBorder 1;
  9.   WSSysMenu 1;
  10.   WSSystemMenu 1;
  11.   WSResizeBorder 1;
  12.   WSVisible 1;
  13.   Icon "WIcon( WResourceID( ICON_01 ) )";
  14.   FormPositionType "Centered";
  15.   FormAbsTop "108";
  16.   FormAbsLeft "295";
  17.   FDXEnabled "1";
  18.   FDXGenerateStruct "0";
  19.   FDXStructName "FaceData";
  20.   Font "8.MS Sans Serif";
  21.   Name "EmployeeDataEdit";
  22.   Text "Employment Information";
  23.   @begin UserFunction "EmployeeDataEdit()"
  24.    Compiler 1;
  25.    GencodeSrcLine 234;
  26.    FunctionName "EmployeeDataEdit::EmployeeDataEdit()";
  27.   @end;
  28.   @begin UserFunction "~EmployeeDataEdit()"
  29.    Compiler 1;
  30.    GencodeSrcLine 238;
  31.    FunctionName "EmployeeDataEdit::~EmployeeDataEdit()";
  32.   @end;
  33.   ResID 123;
  34.   DesignName EmployeeDataEdit;
  35.   TabIndex 0;
  36.   DesignRect 295,108,171,152;
  37.   WSVisible 1;
  38.  @end;
  39.  
  40.  @begin Object "WTextBox"
  41.   WTextBoxAutoHScroll 1;
  42.   WSBorder 1;
  43.   WSChild 1;
  44.   WSExClientEdge 1;
  45.   WSVisible 1;
  46.   FDXEnabled "1";
  47.   FDXFieldName "name";
  48.   FDXFieldType "WString";
  49.   FDXModifiedField "dirty";
  50.   Name "textb_1";
  51.   ResID 101;
  52.   DesignName textb_1;
  53.   TabIndex 0;
  54.   DesignRect 5,20,80,13;
  55.  @end;
  56.  
  57.  @begin Object "WLabel"
  58.   WSSLeftNoWordWrap 1;
  59.   WSSNotify 1;
  60.   WCCSNoResize 1;
  61.   WCCSNoParentAlign 1;
  62.   WSChild 1;
  63.   WSVisible 1;
  64.   Name "label_1";
  65.   Text "Name:";
  66.   ResID 102;
  67.   DesignName label_1;
  68.   TabIndex 1;
  69.   DesignRect 5,5,80,8;
  70.  @end;
  71.  
  72.  @begin Object "WCheckBox"
  73.   WBSAutoCheckBox 1;
  74.   WCCSTop 1;
  75.   WCCSNoMoveY 1;
  76.   WCCSBottom 1;
  77.   WSChild 1;
  78.   WSMaximizeBox 1;
  79.   WSTabStop 1;
  80.   WSVisible 1;
  81.   Checked "0";
  82.   FDXEnabled "1";
  83.   FDXFieldName "stockPurchaseMember";
  84.   FDXFieldType "WBool";
  85.   FDXModifiedField "dirty";
  86.   AutoSize "1";
  87.   Name "checkbox_1";
  88.   Text "Stock purchase plan member";
  89.   ResID 103;
  90.   DesignName checkbox_1;
  91.   TabIndex 2;
  92.   DesignRect 5,65,106,12;
  93.  @end;
  94.  
  95.  @begin Object "WGroupBox"
  96.   WCCSTop 1;
  97.   WCCSNoMoveY 1;
  98.   WCCSBottom 1;
  99.   WCCSNoResize 1;
  100.   WSChild 1;
  101.   WSVisible 1;
  102.   Name "groupb_1";
  103.   ResID 104;
  104.   DesignName groupb_1;
  105.   TabIndex 3;
  106.   DesignRect 5,80,155,50;
  107.  @end;
  108.  
  109.  @begin Object "WOptionButton"
  110.   WBSAutoRadioButton 1;
  111.   WCCSTop 1;
  112.   WCCSNoParentAlign 1;
  113.   WSChild 1;
  114.   WSVisible 1;
  115.   FDXEnabled "1";
  116.   FDXFieldName "position";
  117.   FDXFieldType "WULong";
  118.   FDXModifiedField "dirty";
  119.   FDXCheckedValue "Pos_Development";
  120.   AutoSize "1";
  121.   Name "optb_1";
  122.   Text "Development";
  123.   ResID 105;
  124.   DesignName optb_1;
  125.   TabIndex 4;
  126.   DesignRect 10,95,60,9;
  127.  @end;
  128.  
  129.  @begin Object "WOptionButton"
  130.   WBSAutoRadioButton 1;
  131.   WCCSTop 1;
  132.   WCCSNoParentAlign 1;
  133.   WSChild 1;
  134.   WSVisible 1;
  135.   FDXEnabled "1";
  136.   FDXFieldName "position";
  137.   FDXFieldType "WULong";
  138.   FDXModifiedField "dirty";
  139.   FDXCheckedValue "Pos_Documenting";
  140.   Name "optb_2";
  141.   Text "Documenting";
  142.   ResID 106;
  143.   DesignName optb_2;
  144.   TabIndex 5;
  145.   DesignRect 85,95,60,9;
  146.  @end;
  147.  
  148.  @begin Object "WOptionButton"
  149.   WBSAutoRadioButton 1;
  150.   WCCSTop 1;
  151.   WCCSNoParentAlign 1;
  152.   WSChild 1;
  153.   WSVisible 1;
  154.   FDXEnabled "1";
  155.   FDXFieldName "position";
  156.   FDXFieldType "WULong";
  157.   FDXModifiedField "dirty";
  158.   FDXCheckedValue "Pos_Management";
  159.   Name "optb_3";
  160.   Text "Management";
  161.   ResID 107;
  162.   DesignName optb_3;
  163.   TabIndex 6;
  164.   DesignRect 10,110,60,9;
  165.  @end;
  166.  
  167.  @begin Object "WOptionButton"
  168.   WBSAutoRadioButton 1;
  169.   WCCSTop 1;
  170.   WCCSNoParentAlign 1;
  171.   WSChild 1;
  172.   WSVisible 1;
  173.   FDXEnabled "1";
  174.   FDXFieldName "position";
  175.   FDXFieldType "WULong";
  176.   FDXModifiedField "dirty";
  177.   FDXCheckedValue "Pos_Marketing";
  178.   Name "optb_4";
  179.   Text "Marketing";
  180.   ResID 108;
  181.   DesignName optb_4;
  182.   TabIndex 7;
  183.   DesignRect 85,110,60,9;
  184.  @end;
  185.  
  186.  @begin Object "WCommandButton"
  187.   WSChild 1;
  188.   WSMaximizeBox 1;
  189.   WSTabStop 1;
  190.   WSVisible 1;
  191.   Default "1";
  192.   Name "cb_1";
  193.   Text "OK";
  194.   @begin Event "Click"
  195.    GencodeSrcLine 242;
  196.    FunctionName "EmployeeDataEdit::cb_1_Click";
  197.   @end;
  198.   ResID 109;
  199.   DesignName cb_1;
  200.   TabIndex 8;
  201.   DesignRect 120,5,40,14;
  202.  @end;
  203.  
  204.  @begin Object "WTextBox"
  205.   WTextBoxAutoHScroll 1;
  206.   WSBorder 1;
  207.   WSChild 1;
  208.   WSExClientEdge 1;
  209.   WSVisible 1;
  210.   FDXEnabled "1";
  211.   FDXFieldName "salary";
  212.   FDXFieldType "WString";
  213.   FDXModifiedField "dirty";
  214.   Name "textb_2";
  215.   ResID 110;
  216.   DesignName textb_2;
  217.   TabIndex 9;
  218.   DesignRect 5,50,80,12;
  219.  @end;
  220.  
  221.  @begin Object "WLabel"
  222.   WSSLeftNoWordWrap 1;
  223.   WSSNotify 1;
  224.   WCCSNoResize 1;
  225.   WCCSNoParentAlign 1;
  226.   WSChild 1;
  227.   WSVisible 1;
  228.   Name "label_2";
  229.   Text "Salary:";
  230.   ResID 111;
  231.   DesignName label_2;
  232.   TabIndex 10;
  233.   DesignRect 6,40,80,8;
  234.  @end;
  235.  
  236.  @begin HPPPrefixBlock
  237. @begin-code HPPPrefix
  238.  
  239. #include "FaceData.hpp"
  240.  
  241. @end-code;
  242.   GencodeSrcLine 10;
  243.  @end;
  244.  
  245.  @begin CPPPrefixBlock
  246. @begin-code CPPPrefix
  247.  
  248. // Code added here will be included at the top of the .CPP file
  249.  
  250. //  Include definitions for resources.
  251. #include "WRes.h"
  252.  
  253. @end-code;
  254.   GencodeSrcLine 10;
  255.  @end;
  256.  
  257.  @begin ClassContentsBlock
  258. @begin-code ClassContents
  259.  
  260.     public:
  261.         // add your public instance data here
  262.     private:
  263.         // add your private instance data here
  264.     protected:
  265.         // add your protected instance data here
  266.  
  267. @end-code;
  268.   GencodeSrcLine 66;
  269.  @end;
  270.  
  271. @begin-code GeneratedClassContents
  272.  
  273.         EmployeeDataEdit();
  274.         ~EmployeeDataEdit();
  275.  
  276. @end-code;
  277.  
  278. @begin-code Code "EmployeeDataEdit::EmployeeDataEdit()"
  279.  
  280. EmployeeDataEdit::EmployeeDataEdit()
  281. {
  282.     
  283. }
  284.  
  285. @end-code;
  286.  
  287. @begin-code Code "EmployeeDataEdit::~EmployeeDataEdit()"
  288.  
  289. EmployeeDataEdit::~EmployeeDataEdit()
  290. {
  291.     
  292. }
  293.  
  294. @end-code;
  295.  
  296. @begin-code Code "EmployeeDataEdit::cb_1_Click"
  297.  
  298. WBool EmployeeDataEdit::cb_1_Click(
  299.     WObject *           source,
  300.     WEventData *        event )
  301. {
  302.     FDXUpdateControls();
  303.     Dismiss( TRUE );
  304.     
  305.     return FALSE;
  306. }
  307.  
  308. @end-code;
  309. @end;
  310.