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
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.