TOPIC: problems with commands
#1786
problems with commands 8 Months, 1 Week ago
I have controller has toolbarbutton for refresh, it works fine. But then I uses the controller as child in parent, then I get issues:
1. seems like parent needs commands description, like this:
Commands:
(
(Cut 'Ctrl+X')
(Copy 'Ctrl+C')
(Paste 'Ctrl+V')
(Refresh)
)
But Refresh not relevant for parent controller.

2. refresh action in child controller no longer functions. Need to relay in parent first:
.Redir('On_Refresh', .FindControl('Test'))
But parent does not use Refresh, why should it takes care of relaying of message?

What I do wrong?
 
 
#1788
Re:problems with commands 8 Months, 1 Week ago
The child can redirect commands to itself. Search for Redir in stdlib and you should find some examples.
 
 
andrew