Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 27 :: Page 220
Next Lesson: Course 3:: Session 27 :: Page 240
Using Proprietary Dictionaries

Using Proprietary Dictionaries

Sometimes you may already have dictionaries that you built over a period of time and want to make use of those dictionaries. No problem, You can use it. However, you need to write some code. Similar to the custom class user objects, i.e. 'uo_international', 'uo_MessageManager' we used so far in the application, there is one more custom class user object, 'uo_UserDictionary'. However, there is a difference in the usage of the user objects. In case of the first two user objects, we are making calls to the user object functions from our application. But, we don't have to call any function from 'uo_UserDictionary' user object. It has the few functions as listed in the 'Translation Assistant's Function Reference' section and are called by the translation utility. However, these are just dummy functions which have no code. To implement proprietary dictionary you need to write code in these functions, that's all.

For the sample code to write in these functions please refer to the Translation Assistant user's guide. To see the list of functions available at the 'uo_UserDictionary' refer to the 'Translation Assistant's Function Reference' section listed in this section.

HomePrevious Lesson: Course 3:: Session 27 :: Page 220
Next Lesson: Course 3:: Session 27 :: Page 240