User Tools

Site Tools


reset_resets_the_windowresizeclass_object_.htm
Navigation:  ABC Library Reference > WindowResizeClass > WindowResizeClass Methods >====== Reset (resets the WindowResizeClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Reset, VIRTUAL

blk2blue.jpg

The Reset method resets the WindowResizeClass object to conform to the window in its present state.

Implementation:

The Init method calls the Reset method. The Reset method stores the initial coordinates for the window and its controls. The WindowResizeClass object uses the stored coordinates to restore the window, establish parent-child relationships between controls, etc.

Example:

ThisWindow.Init PROCEDURE()

ReturnValue          BYTE,AUTO

 CODE

!procedure code

 Resizer.Init(AppStrategy:Surface,Resize:SetMinSize)

 SELF.AddItem(Resizer)

 Resizer.AutoTransparent=True

 Resizer.SetParentDefaults

 INIMgr.Fetch('BrowseMembers',QuickWindow)

 Resizer.Resize              !Resize needed if window altered by INIMgr

 Resizer.Reset               !Reset needed if window altered by INIMgr

 SELF.SetAlerts()

 RETURN ReturnValue

See Also:     Init

reset_resets_the_windowresizeclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1