getfocus


pfcmain.pbl   >   pfc_u_sth   >   getfocus   

Full name pfc_u_sth.getfocus
Access public
Extend of
Return value
Prototype event getfocus()

Name Datatype
No Data

Name Datatype
lw_parent window

event getfocus;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			getfocus
//
//	(Arguments:		None)
//
//	(Returns:  		None)
//
//	Description:	If appropriate, notify the parent window that this
//						control got focus.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	7.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1999 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.
//
//////////////////////////////////////////////////////////////////////////////

window 	lw_parent

//Check for microhelp requirements.
if gnv_app.of_GetMicrohelp() then
	//Notify the parent.
	of_GetParentWindow(lw_parent)
	if IsValid(lw_parent) then
		lw_parent.dynamic event pfc_ControlGotFocus (this)
	end if
end if

end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_appmanager.of_getmicrohelp pfc_n_cst_appmanager
pfc_u_sth.of_getparentwindow pfc_u_sth

     
Full name
demopfc

     
Name Scope
No Data