constructor


pfcmain.pbl   >   pfc_u_calendar   >   constructor   

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

Name Datatype
No Data

Name Datatype
No Data

event constructor;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			Constructor
//
//	(Arguments:		None)
//
//	(Returns:  		None)
//
//	Description:	Intialize values for the Calendar 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_calendarattrib.ClassName() = Message.PowerObjectParm.ClassName() Then
		inv_calendarattrib = Message.PowerObjectParm
		
		// Is the object to behave as a dropdown object?
		If inv_calendarattrib.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

// Make sure the object is not updateable.
of_SetUpdateable(False)
end event

     
Name Owner
No Data

     
Name Owner
powerobject.classname powerobject
systemfunctions.isvalid systemfunctions
pfc_u_calendar.of_setdropdown pfc_u_calendar
pfc_u_base.of_setupdateable pfc_u_base

     
Full name
demopfc

     
Name Scope
No Data