constructor


pfcmain.pbl   >   pfc_u_calculator   >   dw_calculator   >   constructor   

Full name pfc_u_calculator.dw_calculator.constructor
Access public
Extend of
Return value
Prototype event constructor()

Name Datatype
No Data

Name Datatype
No Data

event constructor;call super::constructor;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  Constructor
//
//	Description:
// Make sure there is one row.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	6.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 Sybase, Inc. and its subsidiaries.  All rights reserved.
//	Any distribution of the PowerBuilder Foundation Classes (PFC)
//	source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////

// This is not an updateable object.
this.of_SetUpdateable(False)

// Make sure there is one row.
If this.RowCount() <> 1 Then
	this.Reset()
	this.InsertRow(0)
End If
end event

     
Name Owner
No Data

     
Name Owner
datawindow.insertrow datawindow
datawindow.reset datawindow
datawindow.rowcount datawindow
pfc_u_dw.of_SetUpdateable pfc_u_dw
u_dw.constructor u_dw

     
Full name
No Data

     
Name Scope
No Data