> 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".

I have a test form with just two tabs (standard. Not enhanced), in each tab is
an onchange eep with the following code:

pause 2 using 'TabChange'
ret


in the Form OnAfterStart EEP I have:

--property tabone activepageindex '1'
property tabone tabindex '1'
ret

I have two Speed Buttons with the Following:
--speed button one
getproperty tabone ActivePageIndex 'vindex'
if vIndex = '0' then
  property tabone ActivePageIndex '1'
else
  property tabone ActivePageIndex '0'
endif
return

--speed button two

set var vIndex text = null
getproperty tabone ActivePageIndex 'vindex'
if vIndex = '0' then
  property tabone tabIndex '1'
else
  property tabone tabIndex '0'
endif
return


The code just toggles between the two pages and regardless of which speed
button is pressed, the OnChange EEP doesn't fire.

The onAfterStart EEP in effect changes the default page (0) to (1) which should
force the eep to fire and it also does not...

Please take your time as this is not a pressing issue for me and there is a
workaround, but it is not working the way I have described and I think I am
doing it right... maybe not, but I think I am ;-)


> 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
> > >
>

Reply via email to