Kbase P118373: What is the PRIVATE-DATA attribute and how is it used?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  8/30/2006 |
|
Status: Unverified
GOAL:
What is the PRIVATE-DATA attribute and how is it used?
FIX:
The PRIVATE-DATA attribute is an arbitrary CHARACTER string associated with the handle of a Progress object or a widget that may be used in any desired fashion. gress does not check the value of this attribute. It is readable and writeable. For example the statement:
BUTTON-1:PRIVATE-DATA IN FRAME {&FRAME-NAME} = "I am a button widget!".
writes the value of the PRIVATE-DATA attribute of the referenced button widget handle.
and the statement:
MESSAGE BUTTON-1:PRIVATE-DATA IN FRAME {&FRAME-NAME}
VIEW-AS ALERT-BOX INFO BUTTONS OK.
reads the value of the PRIVATE-DATA attribute of the referenced button widget handle.
The PRIVATE-DATA attribute applies to the following Progress objects and widgets:
Asynchronous request object handle, BROWSE widget (browse and column), Buffer-field object handle, Buffer object handle, BUTTON widget, COMBO-BOX widget, CONTROL-FRAME widget, ProDataSet object handle, Data-relation object handle, Data-source object handle, DIALOG-BOX widget, EDITOR widget, FIELD-GROUP widget, FILL-IN widget, FRAME widget, IMAGE widget, LITERAL widget, MENU widget, MENU-ITEM widget, Query object handle, RADIO-SET widget, RECTANGLE widget, SAX-attributes object handle, SAX-reader object handle, SELECTION-LIST widget, Server object handle, Server socket object handle, SLIDER widget, SOAP-header object handle, SOAP-header-entryref object handle, Socket object handle, SUB-MENU widget, TEXT widget, THIS-PROCEDURE system handle (and all procedure handles), TOGGLE-BOX widget, WINDOW widget