FZ_FormBase.GetText
Gets message data
Public Function GetText( _
ByVal textIdent As String _
) As String
Public Function GetText( _
ByVal pf As IntPtr, _
ByVal textIdent As String _
) As String
Parameters
pf
|
The string resource of message
|
Input
|
textIdent
|
Identification name of the message string to be gotten
|
Input
|
Return Value
Returns the message string of the specified identification name.
If failed to get, returns NULL.
Description
Gets the message data of the specified identification name.
Using this method, you can create a multi-language application.
Wherever you handle messages, be sure to display messages after getting the message string by using this method.
* For a message string, see "4. Multi-Language Support" in "FZ-XXXPanDA Creation Guide".
Example
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim message As String
' Gets message string
message = GetText("Message0")
Dim pf As IntPtr
pf = OpenTextData(FZ_SharedClass.IDENT_FZMAIN, 0)
' Gets message string
message = GetText(pf, "Message0")
End Sub