Application PBSample - Technical -w_sheet_employee- Events
Events of w_sheet_employee


event pfc_postopen


General information

Full name w_sheet_employee.pfc_postopen
Access public
Overload of w_master.pfc_postopen
Comment Retrieve initial Revision History Author: Novalys Date Version 06/07/2000 1.0 Initial version
Return value (none)
Prototype event pfc_postopen

Source code

call  super::pfc_postopen; //////////////////////////////////////////////////////////////////////////////
//
//      Function             :      pfc_postopen
//
//      Arguments      :      
//
//      Returns             :      (none)
//
//      Description      :      Retrieve initial
//
//////////////////////////////////////////////////////////////////////////////
//
//      Revision       History                    Author:      Novalys
//
//      Date                    Version
//
//      06/07/2000             1.0         Initial version
//
//////////////////////////////////////////////////////////////////////////////
dw_master.inv_linkage.of_settransobject( sqlca)
dw_master.inv_linkage.of_retrieve ()

Functions and events referenced

Full name Owners
pfc_n_cst_dwsrv_linkage.of_retrieve pfc_n_cst_dwsrv_linkage
pfc_n_cst_dwsrv_linkage.of_settransobject pfc_n_cst_dwsrv_linkage
w_master.pfc_postopen w_master

Referenced classes

Full name
w_sheet_employee.dw_master

Referenced attributes

Full name Scope
pfc_u_dw.inv_linkage attribute



event pfc_preopen


General information

Full name w_sheet_employee.pfc_preopen
Access public
Overload of w_master.pfc_preopen
Return value (none)
Prototype event pfc_preopen

Source code

call  super::pfc_preopen; //////////////////////////////////////////////////////////////////////////////
//
//      Function             :      pfc_preopen
//
//      Arguments      :      
//
//      Returns             :      (none)
//
//      Description      :      Initialize the window
//
//////////////////////////////////////////////////////////////////////////////
//
//      Revision       History                    Author:      Novalys
//
//      Date                    Version
//
//      06/07/2000             1.0         Initial version
//
//////////////////////////////////////////////////////////////////////////////
IF Message.of_getstringparm () =  "create"  Then 
     dw_master.insertrow ( 0)
      this.title =  "New Employee"
     ib_new =  true
Else
     il_number = Message.of_getdoubleparm ()
      this.title +=  " " +  string (il_number)
End  if
this.of_SetPreference( TRUE)
this.inv_preference.of_SetToolBars( TRUE)
this.inv_preference.of_SetWindow( TRUE)
this. Event pfc_MRUSave ()

Functions and events referenced

Full name Owners
pfc_w_master.pfc_mrusave pfc_w_master
pfc_n_cst_winsrv_preference.of_setwindow pfc_n_cst_winsrv_preference
pfc_n_cst_winsrv_preference.of_settoolbars pfc_n_cst_winsrv_preference
pfc_w_master.of_setpreference pfc_w_master
pfc_n_msg.of_getdoubleparm pfc_n_msg
pfc_n_msg.of_getstringparm pfc_n_msg
w_master.pfc_preopen w_master

Referenced classes

Full name
w_sheet_employee.dw_master

Referenced attributes

Full name Scope
pfc_w_master.inv_preference attribute
w_sheet_employee.il_number attribute
w_sheet_employee.ib_new attribute



event pfc_premrusave


General information

Full name w_sheet_employee.pfc_premrusave
Access public
Overload of pfc_w_master.pfc_premrusave
Comment Save parameters of the MRU Revision History Author: Novalys Date Version 06/07/2000 1.0 Initial version
Parameter n_cst_mruattrib anv_mruattrib
Return value integer
Prototype event pfc_premrusave

Source code

call  super::pfc_premrusave; //////////////////////////////////////////////////////////////////////////////
//
//      Function             :      pfc_premrusave
//
//      Arguments      :      n_cst_mruattrib anv_mruattrib      
//
//      Returns             :      integer
//
//      Description      :      Save parameters of the MRU
//
//////////////////////////////////////////////////////////////////////////////
//
//      Revision       History                    Author:      Novalys
//
//      Date                    Version
//
//      06/07/2000             1.0         Initial version
//
//////////////////////////////////////////////////////////////////////////////
anv_mruattrib.is_id                          =  "mymru"
anv_mruattrib.is_classname           =  this.classname()
anv_mruattrib.is_menuitemname      =  This.Title
anv_mruattrib.is_menuitemkey           =  string (il_number)
anv_mruattrib.is_menuitemmhelp      =  "Open " +  This.Title +  string (il_number)
return  1

Functions and events referenced

Full name Owners
pfc_w_master.pfc_premrusave pfc_w_master

Referenced attributes

Full name Scope
pfc_n_cst_mruattrib.is_menuitemmhelp attribute
w_sheet_employee.il_number attribute
pfc_n_cst_mruattrib.is_menuitemkey attribute
pfc_n_cst_mruattrib.is_menuitemname attribute
pfc_n_cst_mruattrib.is_classname attribute
pfc_n_cst_mruattrib.is_id attribute
pfc_w_master.pfc_premrusave.anv_mruattrib parameter



event pfc_mrurestore


General information

Full name w_sheet_employee.pfc_mrurestore
Access public
Overload of pfc_w_master.pfc_mrurestore
Comment Restore The MRU Revision History Author: Novalys Date Version 06/07/2000 1.0 Initial version
Return value integer
Prototype event pfc_mrurestore

Source code

call  super::pfc_mrurestore; //////////////////////////////////////////////////////////////////////////////
//
//      Function             :      pfc_mrurestore
//
//      Arguments      :      
//
//      Returns             :      integer
//
//      Description      :      Restore The MRU
//
//////////////////////////////////////////////////////////////////////////////
//
//      Revision       History                    Author:      Novalys
//
//      Date                    Version
//
//      06/07/2000             1.0         Initial version
//
//////////////////////////////////////////////////////////////////////////////
If isvalid (gnv_app.inv_mru)  Then
       Return gnv_app.inv_mru.of_restore ( "mymru" This)
End  if

Functions and events referenced

Full name Owners
pfc_n_cst_mru.of_restore pfc_n_cst_mru
pfc_w_master.pfc_mrurestore pfc_w_master

Referenced attributes

Full name Scope
pfc_n_cst_appmanager.inv_mru attribute



event pfc_mruprocess


General information

Full name w_sheet_employee.pfc_mruprocess
Access public
Overload of pfc_w_master.pfc_mruprocess
Comment Open the Most Recent Use Revision History Author: Novalys Date Version 06/07/2000 1.0 Initial version
Parameter integer ai_row
Return value integer
Prototype event pfc_mruprocess

Source code

call  super::pfc_mruprocess; //////////////////////////////////////////////////////////////////////////////
//
//      Function             :      pfc_mruprocess
//
//      Arguments      :      integer ai_row      
//
//      Returns             :      integer
//
//      Description      :      Open the Most Recent Use 
//
//////////////////////////////////////////////////////////////////////////////
//
//      Revision       History                    Author:      Novalys
//
//      Date                    Version
//
//      06/07/2000             1.0         Initial version
//
//////////////////////////////////////////////////////////////////////////////
w_sheet_employee      lw_window
n_cst_mruattrib      lnv_mruattrib
// Check parameters.
IF IsNull(ai_row)  or  NOT IsValid(gnv_app.inv_mru)  THEN
   Return - 1
END  IF
// Retrieve row from DataStore.
gnv_app.inv_mru.of_GetItem  (ai_row, lnv_mruattrib)
message.of_setdoubleparm ( long(lnv_mruattrib.is_menuitemkey))
OpenSheet(lw_window, lnv_mruattrib.is_classname,  This.parentwindow(),  0,Original!)
Return  1

Functions and events referenced

Full name Owners
pfc_n_msg.of_setdoubleparm pfc_n_msg
pfc_n_cst_mru.of_getitem pfc_n_cst_mru
pfc_w_master.pfc_mruprocess pfc_w_master

Referenced classes

Full name
n_cst_mruattrib
w_sheet_employee

Referenced attributes

Full name Scope
pfc_n_cst_mruattrib.is_classname attribute
w_sheet_employee.pfc_mruprocess.lw_window local
pfc_n_cst_mruattrib.is_menuitemkey attribute
w_sheet_employee.pfc_mruprocess.lnv_mruattrib local
pfc_n_cst_appmanager.inv_mru attribute
pfc_w_master.pfc_mruprocess.ai_row parameter




Document created on Friday 06 June 2003 at 11:21 by Visual Expert