Discussion Locked
0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I'm creating an application in VB6 which requires the use of multiple frames(instead of forms). I'm having trouble rotating the frames. what i want is that when the user clicks on a command button the correct frame will be moved to the specified location and the previously visible frame should be moved away. Any help.
2 replies
You should be able to do that by using the frame properties, Left, Top, Height, Width and Visible. Use the Enabled property if you want the frame to be visible but not useable.
Don
by steve
Or try this:
Frame1.Move 50, 50, 2000, 1500
Frame1.ZOrder vbBringToFront
Then on the next frame to be displayed
Frame2.Move 50, 50, 2000, 1500
Frame2.ZOrder vbBringToFront
Of course you will have to write code to keep track of which frame is visible and which frame should be next.
As Pocket PC has no real tab control there is a good article on http://www.devbuz.com (in the archives) that demonstrates what you want to do.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
2 helpful
10 replies
1 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Question Unanswered
Best Way to Make Long WordPress Location Guides Mobile Friendly
0 helpful
0 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies