Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 27 :: Page 260
Next Lesson: Course 3:: Session 27 :: Page 280
Translation Assistant's Function Reference

Translation Assistant's Function Reference

Functions available at w_frame

Function Name Description
XLCloseAllSheets() Closes all open sheets in the MDI frame window

Functions available at uo_InstallManager

Function Name Description
CurrentLanguageExtension() Returns the current language extension
FirstLanguage() Returns the name and extension of the first language from the language list.
GetLanguage() Returns the current language and extension
GetLanguageExtension() Returns the specified language extension
GetLanguageName() Returns the specified extension's language
GetLanguageSection() Returns the INI file section name for the specified language
InstallCustomLanguages() Installs a new language list, called by SetLanguage() to change the language dynamically.
InstallINIFile() Creates the multilingual environment as specified in the passed INI file settings.
InstallLanguage() Adds the specified language and its extension to the list of existing languages.
InstallLanguages() Adds the languages list and sets the current language.
InstallMessageManager() Creates an instance of uo_InstallMessageManager user object.
LanguageDependent() Returns the object name for the specified language.
NextLanguage() Returns the next language from the list of installed languages.
Reset() Clears the language list.
SetLanguage() Sets the specified language and extension as the current language
SetLanguageName() Changes the language name to the specified language
SetLanguageSection() Sets the language section to the specified one.
StripPath() Strips the directory name from the full filename.
UsedLanguage() Returns the specified language.

Functions available at uo_MessageManager

Function Name Description
GetDBMessage() Retrieves the current language version of the message from the database.
GetDWMessage() Retrieves the current language version of the message from the DataWindow.
GetMessage() Retrieves the current language version of the message from the INI file.
GetMessageDW() Returns the DataWindow name that contains the message
GetMessageFile() Returns the file name that contains the message
GetMessageTable() Returns the table name that contains the message
InstallConnection() Connects to the database using the specified transaction object.
InstallMessageDW() Registers the DataWindow that has the messages.
InstallMessageFile() Registers the file that has the messages.
InstallMessageTable() Registers the database table name that has the messages.
MessageParameter() Sets the message parameters.
ResetParameters() Resets the parameters list.
ReplaceParameters() Replaces the symbolic parameters in the message text with the message parameters.
ShowDBMessage() This is an alternate to the MessageBox(). This function automatically retrieves the message from the database table and displays it to the user.
ShowDWMessage() This is an alternate to the MessageBox(). This function automatically retrieves the message from the DataWindow and displays to it the user.
ShowTextMessage() This is an alternate to the MessageBox(). This function automatically retrieves the message from the file and displays it to the user.

Functions available at uo_UserDictionary

Function Functionality
Install Creates your proprietary dictionary environment
InstallDW Overwrites the TU's dictionary with your DataWindow
Reset Resets the DataWindow
Restore Reset and retrieves data into the DataWindow
Retrieve You know what it means
UnInstall Closes and destroys objects created in the Install()
Update Updates the database
UpdateOne Updates your DataWindow, not the database
Verify Looks up a translation for the specified text
HomePrevious Lesson: Course 3:: Session 27 :: Page 260
Next Lesson: Course 3:: Session 27 :: Page 280