Config Library: 4.10 Object Class Reference: PrefTextClass

Up: GEOS SDK TechDocs | Up | Prev: 4.9 PrefDialogClass | Next: 4.11 PrefControlClass

Objects of this class act like GenText objects, but have mechanisms to write their text string to the .INI file.

Code Display 22-11 PrefTextClass Instance Data

@class PrefTextClass, PrefClass;
@instance ChunkHandle  PTI_originalText = 0;
@vardata ChunkHandle  ATTR_PREF_TEXT_INIT_FILE_CATEGORY_TARGET;
/* PrefTextClass has the wonderful ability that it can set another
 * object's .INI. file category from its text. Category gets updated
 * whenever the text object receives MSG_GEN_TEXT_SEND_STATUS_MSG.
 * To make this happen, put the ChunkHandle of the object in this field. */

Up: GEOS SDK TechDocs | Up | Prev: 4.9 PrefDialogClass | Next: 4.11 PrefControlClass