|
getfocus
|
|
Full name
|
pfc_u_lb.getfocus
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event getfocus()
|
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
// 5.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.
//
//////////////////////////////////////////////////////////////////////////////
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