Interface IStdGlobalClass
MS-VBAL 6.1.3.3 Global Class
ℹ️ These runtime semantics implicate MSForms, which is out of scope for the language core
and isn't specified directly as an intrinsic part of MS-VBAL.
public interface IStdGlobalClass
Remarks
Formalizes the public interface of the Global class.
👉 This object is a singleton that is referenced by the Global global/static symbol.
Methods
StdGlobalClass_Load(VBObjectValue)
MS-VBAL 6.1.3.3.1.1 Load Loads a form or control into memory.
RuntimeSemanticsEvaluationResult StdGlobalClass_Load(VBObjectValue value)
Parameters
valueVBObjectValue
Returns
- RuntimeSemanticsEvaluationResult
A RuntimeSemanticsEvaluationResult object encapsulating the result of the successful operation, or the error metadata otherwise.
Remarks
🎯 A UserForm designer would absolutely be in-scope for a client IDE, however:
- Using
MSFormsdirectly would tie RDCore to MS-VBA, which must be avoided to keep RDCore portable; - The implication is that we will eventually need a managed library that can reinterpret MSForms and render it without the MSForms library or MSVBA runtime;
- 👉 It's probably best for everyone to move on from legacy MSForms.
StdGlobalClass_Unload(VBObjectValue)
MS-VBAL 6.1.3.3.1.2 Unload Unloads a form or control from memory.
RuntimeSemanticsEvaluationResult StdGlobalClass_Unload(VBObjectValue value)
Parameters
valueVBObjectValue
Returns
- RuntimeSemanticsEvaluationResult
A RuntimeSemanticsEvaluationResult object encapsulating the result of the successful operation, or the error metadata otherwise.