donb
|
| Posted: 07/04/2002, 3:34 PM |
|
I'd like to utilize the events available with CCS ((in particular, BeforeExecuteSelect).
I can't find anything at all that describes what objects/variables are in scope or how to reference them.
Is this so obvious that I'm just overlooking it?
don
|
|
|
 |
Chris K.
|
| Posted: 07/04/2002, 11:14 PM |
|
In CCS events are functions with local scope. You can access page components using global variables. CCS has object model for page components. You can access top level page components from event handlers. Top level components are connections, grids, records and controls you've put outside them. Those objects are named after its components. Subcomponents are accessible using member variables. Review Properties and Methods sections of CCS Reference for object model details.
(If you use PHP remember to declare global variables in function to be visible)
If you have grid called EventsGrid you can access it properties using
EventsGrid.<property>
If you have event_name control within this form use this to set its value:
EventsGrid.event_name.Value = ....
etc.
|
|
|
 |
|