Web Development

General discussion


VB6 Frames

By sharman ·
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.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

VB6 Frames

by Don Christner In reply to VB6 Frames

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.


Collapse -

by steve In reply to VB6 Frames

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.

Related Discussions

Related Forums