Devaroux
|
| Posted: 09/23/2005, 7:46 AM |
|
Hi
I would like to know if its possible to access behind code(grey shaded) variables from control events("label") on a form.
I need to change the path of a "Page" variable that codecharge generates at run-time.
The variable reference in the behind-code is:
"$this->SubcategoryLink->Page". In the behind-code I can use it to my delight but then codecharge will not regenerate that section of the page. The "$this->SubcategoryLink->Page", sits in a "Show()" function.
Is there any way that I can reference this variable from a control_event eg. (before_show), and is there any way that I can alter that variable without editing the behind code by making an object of the class in the control_event?
|
|
|
 |
mrachow
Posts: 509
|
| Posted: 09/23/2005, 12:36 PM |
|
Should be possible.
Look where the object referred by $this is stored.
Don't forget
global $foundName;
to have this object handy in the event code slot.
_________________
Best regards,
Michael |
 |
 |
|