Hi Thomas:
>Hi Fabio,
>>use the input interface for to control the program it is a "desperate's job".
>
Sorry, i have misinterpreted this:
yup, that is the approach I was thinking about:
if it works with a mouse, hop like a mouse <g>.
>I was a bit unclear in my sentence above: I meant an _assign method on .activePage.
This I supposed it.
>
>>Rule: don't set ActivePage
>Problem here is that I distinctly remember reading this as a "preferred way" to switch, so presumably lots of code is already written this way.
>If the proposed assign method uses the interface methods on the page planned to activate, everything should work [again] - and since this fix is kept in the pageframe/page "complex" it is not that desperate as calling the interface from keyboard events.
>
Yes, but this have 2 problems:
- if Pageframe is a baseclass
- if pages are reodered.
<snip>
>Regards
>
>thomas
The problem is always the same one:
- in VFP there are various ways of get, apparently, the same result,
but inner VFP uses various code, generating many side effects.
The documentation is superficial and don't help.
Little example:
show a Form
Visible = .T.
Show
SHOW WINDOW
ACTIVATE WINDOW
...
Regards
Fabio