>>>How do you make a form scroll to the control with focus as you tab from control to control?
>>
>>An added note of detail: you can use the Viewporttop & Left properties in design to approximate the parameters of the runtime SetViewPort calls, you'll get close to where you want to go...there are also Viewportheight & width properties if you want to programmatically calculate where to jump to...
>
>Thank you very much, your seemingly the only one who knows about this. I didn't receive any other comments except that I couldn't do it.
>Again thanks,
>Steve
Not to be critical, just pointing out an interface semi-standard: most people don't know much about making scrollbars on forms work because it's considered only a "last resort" to design a form with scrollbars. Considered pretty bad interface design by most. (I know, I really shouldn't try to speak for "most".)
In
my (not-so-humble) opinion, if you're putting scrollbars on a form, you should at least
consider whether you could break the form into more than one form, or use page frames.
Also in defense of others who didn't respond: most of the people who read the thread may have just decided that you had already gotten the right answer and not added theirs to it.
Cheers,
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing