IScriptingEventsOnBeforeGeneratePrototype Method |
Called before a prototype is generated
Namespace:
SuperOffice.COM.ScriptEvents
Assembly:
Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntaxvoid OnBeforeGeneratePrototype(
int identity
)
Sub OnBeforeGeneratePrototype (
identity As Integer
)
Dim instance As IScriptingEvents
Dim identity As Integer
instance.OnBeforeGeneratePrototype(identity)
void OnBeforeGeneratePrototype(
[InAttribute] int identity
)
Parameters
- identity
- Type: SystemInt32
ExamplesDescriptoin
This text may be copied to the notepad, and saved as a *.vbs file.
Sub OnBeforeGeneratePrototype
If Time$ > "15:00" And Time$ < "17:30" Then
SOMessageBox "Do you really want to start generating a new prototyp now, it takes time and the users will start going home soon?"
End If
End Sub
See Also