|
-
May 31st, 2007, 09:41 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Form - Vertical Scroll Position - ????
I am trying to view a form with it scrolled to the top when it comes into view, I have tried this
Code:
Form3.ScrollControlIntoView(Form3.Label34)
With no luck, at the moment when the form is viewed it is in the same position as last time it was visible which is not what I want to happen.
Is this possible
-
May 31st, 2007, 11:16 AM
#2
Fanatic Member
Re: Form - Vertical Scroll Position - ????
Barry
Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
.NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0
SQL Server 2005/2000/SQL Server CE 2.0
If you like, rate this post
Compact Framework for Beginners
-
May 31st, 2007, 11:38 AM
#3
Thread Starter
Fanatic Member
-
Jun 8th, 2007, 05:59 AM
#4
Thread Starter
Fanatic Member
Re: Form - Vertical Scroll Position - ????
Come come Guys it's nearly a week now - any ideas on this one ??
-
Jun 8th, 2007, 08:18 AM
#5
Frenzied Member
Re: Form - Vertical Scroll Position - ????
Hi,
try
Me.AutoScrollPosition = New Point(label234.left, label234.top)
Pete
-
Jun 10th, 2007, 04:23 PM
#6
Thread Starter
Fanatic Member
Re: Form - Vertical Scroll Position - ????
Pete
You are the man!
Many thanks (again!)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|