resize


pfcmain.pbl   >   pfc_w_master   >   resize   

Full name pfc_w_master.resize
Access public
Extend of
Return value
Prototype event resize()

Name Datatype
No Data

Name Datatype
No Data

event resize;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  resize
//
//	Description:
//	Send resize notification to services
//
//////////////////////////////////////////////////////////////////////////////
//	
//	Revision History
//
//	Version
//	5.0   Initial version
//	7.0   Change to not resize when window is being restored from a minimized state
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Notify the resize service that the window size has changed.
If IsValid (inv_resize) and This.windowstate <> minimized! Then
	inv_resize.Event pfc_Resize (sizetype, This.WorkSpaceWidth(), This.WorkSpaceHeight())
End If

// Store the position and size on the preference service.
// With this information the service knows the normal size of the 
// window even when the window is closed as maximized/minimized.	
If IsValid (inv_preference) And This.windowstate = normal! Then
	inv_preference.Post of_SetPosSize()
End If
end event

     
Name Owner
pfc_w_frame.resize pfc_w_frame
pfc_w_debuglog.resize pfc_w_debuglog

     
Name Owner
window.workspaceheight window
window.workspacewidth window
systemfunctions.isvalid systemfunctions
pfc_n_cst_winsrv_preference.of_setpossize pfc_n_cst_winsrv_preference
pfc_n_cst_resize.pfc_resize pfc_n_cst_resize

     
Full name
No Data

     
Name Scope
No Data