|
of_redirectfocus
|
|
Full name
|
pfc_u_calculator.of_redirectfocus
|
Access
|
protected
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_redirectfocus()
|
protected function integer of_redirectfocus ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_RedirectFocus
//
// Access: Protected
//
// Arguments: None
//
// Returns: Integer
// 1 if it succeeds.
// -1 if an error occurs.
//
// Description:
// Prevent this object from having focus while not visible.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// Prevent this object from having focus while not visible.
If this.Visible = False Then
Return of_SetFocusOnRequestor()
End If
Return 1
end function