[Top] [Prev] [Next] [Bottom]
[Contents]
Using Population Callbacks
Specifying Population Callbacks in the Object Bind Editor
You specify the Population Callback function in the Results Detail Dialog, which is invoked from the Object Bind Editor. A textfield is also provided in the Results Detail Dialog for client data. The specified client data must be a valid C expression of type (void *).
When multiple columns are bound to the same Data Site, the following rules apply:
- 1. It is not necessary to supply a Population Callback name for each column when multiple columns are bound to the same Data Site.
- 2. When multiple columns are bound to the same Data Site, only the first population callback specified for the Data Site gets called. Also, only the client data for that callback gets used.
- 3. Group number is used first in determining the column order, lower numbers first. This group number appears in the Object Bind Editor and cannot be changed. The group number is determined by the number of results groups returned when executing an Object Binding.
- 4. When two columns have the same group number, the column's Order field in the Results Detail Dialog is used to determine order. Again lower numbers are used first. If two columns have the same order, then the one that appears first in the Object Bind Editor is chosen.
- 5. If all columns bound to the Data Site have no specified Population Callback functions, a default Population Callback is used.
- 6. If a callback name is specified for any non-bound columns, then that function is called once with a callback structure containing all non-bound columns.
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.