> Here comes your solution:
> When your dialog is opened as a ToolDialog the framework "knows" that your
> commands are supposed to operate not on this but on the document "below" it
> (probably always the former focus). Therefore, it gives you what you want,
> when you use e.g. TextControllers.Focus(). In a nutshell: use simply the same
> commands that you would use from a menu. - Yes, it sounds a bit mystical in
> the first place, but it works great.
So that's how it works. Thanks for the info. I wish the above
paragraph had been in the online documentation!
Stan Warford
Pepperdine University
warford@pepperdine.edu