At 09:18 AM 2/12/2005, Mike Byerley wrote:
> It seems odd to me that the page's code runs if you arrive there in one
manner
> (the tab) but not in another manner (through code). I do recall seeing, in
the
> most recent What's New in v79, something about this EEP being renamed,
perhaps
> to ON TAB CLICK or something, so perhaps someone else had the same issue and
OnTabChange ..
The only caveat here, as it is in 79, is that the OnTabChange doesn't fire
using either ActivePageIndex or TabIndex in the OnAfterStart Form eep. It only
fires if you click with mouse, it does not fire using either ActivePageIndex or
TabIndex in code.
Mike,
"On After Start EEP" does NOT change the tab, it simply brings up the form to display and focus the tab accordingly.
Once the form is displayed, now if you use the ActivePageIndex or TabIndex PROPERTY to "Change the Tab", it WILL fire the EEP, if defined.
And that is the exact reason we had to change the tab name from "On Focus EEP" to "On Tab Change EEP", as explained in "What's New in Update 79".
Hope that explains!
I'm teaching the R:BASE 7.x class today and will be happy to explain more this evening, if you have any questions.
Very Best R:egards,
Razzak.
> reported it to RDCC.
>
> I suspect this is simply a property of the underlying Windows control and not
> something that RBTI could easily change. I was thrown mostly by the name of
> the EEP -- changing the name will make it clearer when it will fire.
> --
> Larry
>
