pfc_preopen


demopfc.pbl   >   w_sheet_employee   >   pfc_preopen   

Full name w_sheet_employee.pfc_preopen
Access public
Extend of
Return value
Prototype event pfc_preopen()

Name Datatype
No Data

Name Datatype
No Data

event pfc_preopen();call super::pfc_preopen;//////////////////////////////////////////////////////////////////////////////
//
//	Function		:	pfc_preopen
//
//	Arguments	:	
//
//	Returns		:	(none)
//
//	Description	:	Initialize the window
//
// Subject     :  Version2,Version3,employee
//
//////////////////////////////////////////////////////////////////////////////

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 ()

end event

     
Name Owner
No Data

     
Name Owner
datawindow.insertrow datawindow
systemfunctions.string systemfunctions
pfc_w_master.of_setpreference pfc_w_master
pfc_n_msg.of_getstringparm pfc_n_msg
pfc_n_msg.of_getdoubleparm pfc_n_msg
pfc_n_cst_winsrv_preference.of_SetToolbars pfc_n_cst_winsrv_preference
pfc_n_cst_winsrv_preference.of_SetWindow pfc_n_cst_winsrv_preference
pfc_w_master.pfc_mrusave pfc_w_master
w_master.pfc_preopen w_master

     
Full name
w_sheet_employee
demopfc

     
Name Scope
No Data