furrymonster
Programmer
Once upon a time
there was a form,
with a sub-form
subdivided into 3 pages,
on which there is an evil tabcontrol
with five pages (tabs).
On each (tab)page there is one object. When you click on the tab the entire tabcontrol jumps to the bottom edge of the form.
Why does this happen, and how can I correct it? Keep reading for my only some-time functional kludge.
-----------------------------------------------------------
Forcing a .GoToPage worked (admittedly with a flicker) - effectively making the subform jump back to where it should be. However this 'fix' crumbles when the object is an ActiveX object rather then a textbox control. The object loses focus and disappears entirely when the .GoToPage is triggered. Resetting focus makes the tabcontrol jump to the bottom edge again.
Just for fun:
While the jumping behavior is universal,
the 'fix' works on one (NT4.0/Office2000) machine
but not on another (Win2000/OfficeXP)
Any ideas would be much much appreciated.
-Sleepless in NY
there was a form,
with a sub-form
subdivided into 3 pages,
on which there is an evil tabcontrol
with five pages (tabs).
On each (tab)page there is one object. When you click on the tab the entire tabcontrol jumps to the bottom edge of the form.
Why does this happen, and how can I correct it? Keep reading for my only some-time functional kludge.
-----------------------------------------------------------
Forcing a .GoToPage worked (admittedly with a flicker) - effectively making the subform jump back to where it should be. However this 'fix' crumbles when the object is an ActiveX object rather then a textbox control. The object loses focus and disappears entirely when the .GoToPage is triggered. Resetting focus makes the tabcontrol jump to the bottom edge again.
Just for fun:
While the jumping behavior is universal,
the 'fix' works on one (NT4.0/Office2000) machine
but not on another (Win2000/OfficeXP)
Any ideas would be much much appreciated.
-Sleepless in NY