|
-
Apr 4th, 2005, 08:24 AM
#1
Thread Starter
Member
Child form problem [RESOLVED]
I posted this last week but now the thread has disappeared. I assume that there were just no replies and threads are kept for long periods of time here. I assume this because there is only 4 pages of topics. Anyway, I digress...
I have attached images of the problem. When I toggle between the two forms, the second form drops down a little bit. I've tried fixing this but I can't...I don't know the property to move it up...I thought I did, but maybe it's just not working.
On an odd note, if I load the first form second, then it is the one that drops down. I was told it had something to do with cascading forms...unfortunately, that doesn't really mean much to me.
Last edited by Myriad_Rocker; Apr 4th, 2005 at 08:59 AM.
Myriad Rocker
The ability to speak does not make you intelligent
I haven't had VB since college...go easy.
-
Apr 4th, 2005, 08:44 AM
#2
Need-a-life Member
Re: Child form problem
 Originally Posted by Myriad_Rocker
I posted this last week but now the thread has disappeared. I assume that there were just no replies and threads are kept for long periods of time here. I assume this because there is only 4 pages of topics. Anyway, I digress...
I have attached images of the problem. When I toggle between the two forms, the second form drops down a little bit. I've tried fixing this but I can't...I don't know the property to move it up...I thought I did, but maybe it's just not working.
On an odd note, if I load the first form second, then it is the one that drops down. I was told it had something to do with cascading forms...unfortunately, that doesn't really mean much to me.
It did not disappear. Your thread is located at http://www.vbforums.com/showthread.php?t=331834. Next time, you can search for it and bump it up by replying any text like "anyone knows" or "^BUMP^" or anything you make up or just a more detailed question or add more questions to the thread. In other words... you need to reply anything so that the thread is moved back to the top ones (latest threads).
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Apr 4th, 2005, 08:45 AM
#3
Re: Child form problem
I assume this because there is only 4 pages of topics.
Well, down near the bottom you can click Display Options->From time: and pick to show threads from the last week, since forever, whatever.
When I toggle between the two forms, the second form drops down a little bit.
I can see the form moving in the pics, but the rest of it looks the same, so I assume you mean toggling between the main form and the sidebar form.
I don't know the property to move it up...
Form.Move [x], [y], [width], [height] 
Or alternatively Form.Top, etc.
I was told it had something to do with cascading forms...unfortunately, that doesn't really mean much to me.
I'm assuming its MDI. I don't know about cascading forms, but if it was me I would make the sidebar out of a PictureBox instead of a form... and that way it will stay in front of your child forms. You can set it to Align=Right and it will autosize itself.
HTH
Last edited by penagate; Apr 4th, 2005 at 09:03 AM.
-
Apr 4th, 2005, 08:47 AM
#4
-
Apr 4th, 2005, 08:58 AM
#5
Thread Starter
Member
Re: Child form problem
My bad...I didn't know I could bump like that.
Anyway, using form.top=true worked. Thanks. I don't know why I didn't think of that.
Myriad Rocker
The ability to speak does not make you intelligent
I haven't had VB since college...go easy.
-
Apr 4th, 2005, 09:02 AM
#6
Need-a-life Member
Re: Child form problem
 Originally Posted by Myriad_Rocker
My bad...I didn't know I could bump like that.
Anyway, using form.top=true worked. Thanks. I don't know why I didn't think of that.
Actually, you should Form.Top=0. If you do form.top=true you're actually doing form.top=-1. Although... the "-1" might be the reason why VB does not change the top anymore.
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Apr 4th, 2005, 09:02 AM
#7
Re: Child form problem [RESOLVED]
Yeah, I was just going to post that. And I still think a picturebox would be better
-
Apr 4th, 2005, 10:05 AM
#8
Thread Starter
Member
Re: Child form problem [RESOLVED]
 Originally Posted by penagate
Yeah, I was just going to post that. And I still think a picturebox would be better 
I've tried a picture box...it doesn't work like I want it to. Thanks, though!
Myriad Rocker
The ability to speak does not make you intelligent
I haven't had VB since college...go easy.
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
|