BBjSysGui::resClose

Description

In BBj 2.03 and higher, this method closes a resource handle. 

Syntax

Return Value

Method

void

resClose(int handle)

Parameters

Variable

Description

handle

Specifies a resource handle from a previous call to BBjSysGui::resOpen.

Return Value

None.

Remarks

This method is equivalent to RESCLOSE Verb - Close Resource File.

Example

let SYSGUI=UNT; OPEN (SYSGUI)"X0"
BBj!=BBJAPI()
Sysgui!=BBj!.getSysGui()

let RESOURCE$="createWindow.ARC"
let RESOURCE_ID=101

let RESOURCE=sysGui!.resOpen(RESOURCE$)
myWindow! = Sysgui!.createTopLevelWindow(RESOURCE,RESOURCE_ID)
sysGui!.resClose(RESOURCE)

escape

See Also

BBjAPI

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.