|
Previous Top Next |
Prototype: | (Long pInstanceToSelect) |
pInstanceToSelect | Instance number to select when window is activated if multiple instances are allowed |
This method sets the InstanceToSelect property. Note that this is not currently implemented and the last instance is the default instance to be selected.
Example:
ITThreadLocal Class(ITThreadLimitClass)
TakeLimit Procedure,VIRTUAL
End
ThisWindow.Run PROCEDURE
Code
ITThreadLocal.Init('Browsepeople')
ITThreadLocal.SetProcedureLimit(5)
ITThreadLocal.SetInstanceToSelect(5) !! Last instance
If Not ITThreadLocal.CheckProcedure(ITThreadLimit)
Return LEVEL:Fatal
End
ReturnValue = PARENT.Run()
RETURN ReturnValue
ThisWindow.Init PROCEDURE
Code
If Not ITThreadLocal.AddProcedure(QuickWindow)
Return LEVEL:Fatal
End
See also: