wininichange


pfcwnsrv.pbl   >   pfc_w_statusbar   >   wininichange   

Full name pfc_w_statusbar.wininichange
Access public
Extend of
Return value
Prototype event wininichange(string)

Name Datatype
No Data

Name Datatype
li_rc Integer

event wininichange;call super::wininichange;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			wininichange
//
//	Arguments:
//	section			Name of the section changed
//
//	Returns:  		None
//
//	Description:  	
//	This is triggered whenever the appearances of the desktop are changed.
//	We need to force the window and the objects to reflect these changes.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

Integer li_rc 

// Get the new settings.
li_rc = of_GetSystemSettings() 

// Refresh the colors of all the objects.
li_rc = of_RefreshColors()

// Force a resize on the Frame to enforce the correct position of this window.
If IsValid(iw_parentwindow) Then
	li_rc = iw_parentwindow.resize(iw_parentwindow.width, iw_parentwindow.height)
End If

Return 

end event

     
Name Owner
No Data

     
Name Owner
window.resize window
systemfunctions.isvalid systemfunctions
pfc_w_statusbar.of_refreshcolors pfc_w_statusbar
pfc_w_statusbar.of_getsystemsettings pfc_w_statusbar

     
Full name
pfc_w_master

     
Name Scope
No Data