|
constructor
|
|
Full name
|
pfc_u_calculator.constructor
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event constructor()
|
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