of_setholidaycolor


pfcmain.pbl   >   pfc_u_calendar   >   of_setholidaycolor   

Full name pfc_u_calendar.of_setholidaycolor
Access public
Extend of integer
Return value integer
Prototype public function integer of_setholidaycolor(long)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setholidaycolor (long al_color);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  	of_SetHolidayColor
//
//	Access:    	Public
//
//	Arguments:
//		al_color Text Color for the holidays.
//
//	Returns:   		Integer
//   					1 if successful, otherwise -1
//
//	Description:  	Sets the Holiday text color for the calendar.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Check the argument.
IF IsNull(al_color) THEN 
	Return -1
End If

il_holidaycolor = al_color

Return 1
end function

     
Name Owner
pfc_u_tabpg_dwproperty_srvcalendar2.pfc_propertyapply pfc_u_tabpg_dwproperty_srvcalendar2

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data