Re: scrolling a user control
From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 10/15/04
- Next message: Chavez: "RE: Using different font in TreeView cuts text"
- Previous message: Steve Bugden: "scrolling a user control"
- In reply to: Steve Bugden: "scrolling a user control"
- Next in thread: Steve Bugden: "Re: scrolling a user control"
- Reply: Steve Bugden: "Re: scrolling a user control"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 15 Oct 2004 23:23:36 +0200
"Steve Bugden" <SteveBugden@discussions.microsoft.com> schrieb:
> I have created a user control which I then add standard controls to
> prgramatically i.e. picture box, text box etc.
>
> I'm just wondering if it is possible to scroll to given position in the
> scrollable region? So lets say the control has a height of 300 pixels and
the
> scrollable height is 1000 pixels then I'd like to be able to just make
pixel
> 500 appear in the top left of the controls visible area.
>
> If this isn't possible what alternatives are there for scrolling a user
> control programatically.
Take a look at the control's 'AutoScrollPosition' property.
-- Herfried K. Wagner [MVP] <URL:http://dotnet.mvps.org/>
- Next message: Chavez: "RE: Using different font in TreeView cuts text"
- Previous message: Steve Bugden: "scrolling a user control"
- In reply to: Steve Bugden: "scrolling a user control"
- Next in thread: Steve Bugden: "Re: scrolling a user control"
- Reply: Steve Bugden: "Re: scrolling a user control"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|