constructor


pfcmain.pbl   >   pfc_u_calculator   >   constructor   

Full name pfc_u_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
//
//	(Arguments:		None)
//
//	(Returns:  		None)
//
//	Description:	The Calculator object.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

If IsValid(Message.PowerObjectParm) Then
	If inv_calculatorattrib.ClassName() = Message.PowerObjectParm.ClassName() Then
		inv_calculatorattrib = Message.PowerObjectParm
		
		// Is the object to behave as a dropdown object?
		If inv_calculatorattrib.ib_dropdown Then
			// Yes, it is a dropdown object.  
			// Immediately hide the object and Create the dropdown service.
			this.Visible = False	
			of_SetDropDown(True)
		End If
	End IF
End If

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

     
Name Owner
No Data

     
Name Owner
powerobject.classname powerobject
systemfunctions.isvalid systemfunctions
pfc_u_calculator.of_setdropdown pfc_u_calculator
pfc_u_base.of_setupdateable pfc_u_base
pfc_u_base.constructor pfc_u_base

     
Full name
demopfc

     
Name Scope
No Data