Re: Dynamically creating a control array

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Ken,

That worked very well, thank you.

George

"Ken Halter" <Ken_Halter@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:OvNslhUiFHA.320@xxxxxxxxxxxxxxxxxxxxxxx
> "George Hutto" <yougott@xxxxxxxxxxxxx> wrote in message
> news:eeeT7UUiFHA.1788@xxxxxxxxxxxxxxxxxxxxxxx
> > Since you've been so helpful, maybe you can give me some more
information.
> >
> > I'm modifying the height of the form depending on how many controls I
> > load.
> > Eventually I can see this form getting to be too long.
> >
> > I would like to define an area on the form to contain the textboxes I'm
> > creating and have that area have scroll bars. Do you (or anyone else)
> > know
> > of a way to accomplish this?
> >
> > Thanks,
> >
> > George
>
> This article shows.....
>
> How To Create Scrollable Viewports
> http://support.microsoft.com/default.aspx?scid=kb;en-us;186429
>
> ....if you're creating controls at runtime, just make sure to...
>
> Set NewControl.Container = TheScrollableViewport
>
> ...so it'll show up in the frame/picturebox that's getting scrolled.
>
> --
> Ken Halter - MS-MVP-VB - http://www.vbsight.com
> DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
> Please keep all discussions in the groups..
>
>


.



Relevant Pages

  • Re: simple app needs optimization?
    ... but here's a version that at least corrects what I felt were the most problematic issues: ... Because the things affecting the minimum size are controls, the Form automatically updates the scroll bars to account for changes in the location of the child controls. ... keeps track of the current selection, so that when you select a new child control, you can deselect the old selection. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Testing Original Script
    ... advertise plus scroll changes and close button in the controls. ... This is the Original Script that Richard posted a couple of years ago, ... controls in the Popup to control midi volume and scrolling. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress.stationery)
  • Re: Positioning Form
    ... have to scroll down or right to get to all of your controls. ... Private Sub Position_Click ... It still opens up a little way down from the top, ...
    (microsoft.public.access.formscoding)
  • Re: Questions about ScrollableControl
    ... When I resize the window, the scrollbars on the top and left controls ... This seems to happen in the ScrollableControl OnLayout ... and scroll vertically so the entire "resource row" (i.e. ResourceStrip ... each resource event (i.e. the square boxes that make up the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Positioning Form
    ... have to scroll down or right to get to all of your controls. ... This would move the form to the top left corner of the Access window, ... Private Sub Position_Click ...
    (microsoft.public.access.formscoding)