buttonclicked


pfcmain.pbl   >   pfc_u_calendar   >   dw_cal   >   buttonclicked   

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

Name Datatype
No Data

Name Datatype
ls_buttonname string

event buttonclicked;call super::buttonclicked;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			buttonclicked
//
//	Arguments:		
//	row
//	actionreturncode
//	dwo
//
//	Returns:  		None
//
//	Description:	Perform the Action desired.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

string ls_buttonname

If IsNull(dwo) Then Return

ls_buttonname = dwo.Name

Choose Case ls_buttonname
	Case 'prevmonth'
		// Request the previous month.
		this.Event pfc_PrevMonth()
		
	Case 'nextmonth'
		// Request the next month.
		this.Event pfc_NextMonth()
End Choose

this.SetFocus()
end event

     
Name Owner
No Data

     
Name Owner
dragobject.setfocus dragobject
systemfunctions.isnull systemfunctions
datawindow.buttonclicked datawindow
pfc_u_calendar.dw_cal.pfc_nextmonth dw_cal
pfc_u_calendar.dw_cal.pfc_prevmonth dw_cal

     
Full name
No Data

     
Name Scope
No Data