FZ_FormBase.RaiseOptionEvent
Send "Option Event"
Public Shared Function RaiseOptionEvent( _
ByVal eventNo As Integer _
ByVal parameter As Integer _
) As Integer
Parameters
eventNo
|
Event id
|
Input
|
parameter
|
Event parameter
|
Input
|
Return Value
Returns 0 if sending "Option Event" succeed.
Otherwise returns a non-zero value.
Description
Sends "Option Event" with event id end event parameter to the system.
Then all the FZ_PanDAForm receives
Option Event if it is defined.
When FZ-PanDA receives this event with event id = 0, it switches to the layout number, which is given as event parameter.
Example
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Change Display Layout to Layout No.7
RaiseOptionEvent(0, 7)
End Sub