Mastering PowerBuilder

HomePrevious Lesson: PowerBuilder Function Overloading � CORBA Methods
Next Lesson: Activate/Deactivate Events

Programming Jaguar CTS Component

Open the n_product_master user object and declare the following instance variables. Please notice that all of them are protected. Recall that we have selected 'Expose Public variables' option in the wizard. If you don't declare them as protected, the wizard try to generate IDL for them and will fail because they are not CORBA supported types.
Protected:
TransactionServer its_Jaguar
ErrorLogging iel_Jaguar
DataStore ids_data

Another reason is being that, we don't want other objects to read or change these variables directly.
HomePrevious Lesson: PowerBuilder Function Overloading � CORBA Methods
Next Lesson: Activate/Deactivate Events