|
-
Dec 19th, 2009, 01:45 PM
#10
Thread Starter
Fanatic Member
Re: Want to check all labels on form to see if Label name has certain string within i
I created a new project from scratch. Made it very simple. 2 labels on the form that opens and I had the same problem even when using different code. I tried using Me.AutoScrollPosition = New Point(0, 1100) and Me.AutoScrollPosition = New Point(0, 0). And it would again open at the proper position the first time but would keep opening at the same position after that. I traced it to using Form2.ShowDialog()instead of using Form2.Show(). If I use Show instead of ShowDialog then the problem disappears. Thanks for your help everyone.
 Make as many mistakes as you can as quickly as you can. We want to make sure that we make a great enough number of mistakes in a given amount of time so that we can be successful.
"Persistence is the magic of success." Paramahansa Yogananda
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
|