FZ_PanDAForm.SetTextWindow
Sets a text display window
Public Shared Function SetTextWindow( _
ByVal handle As IntPtr _
) As Integer
Public Shared Function SetTextWindow( _
ByVal unitNo As Integer, _
ByVal visible As Integer _
) As Integer
Parameters
handle
|
Panel control handle
|
Input
|
unitNo
|
Processing unit number to be displayed
|
Input
|
visible
|
Display
0: Window invisible
1: Window visible
|
Input
|
Return Value
Returns 0 when the text display window is successfully set.
Otherwise returns a non-zero value.
Description
Performs the setting of the text display window.
Associates the text display window and the Panel control of the custom control.
Example
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim textWindow As Panel
' Sets a text display window
SetTextWindow(textWindow.Handle)
' Sets a text display window
SetTextWindow(textWindow.Handle, 0, 1)
End Sub