Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 22nd, 2006, 03:34 PM
Registered User
 
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Colla[se and expand form

Greetings,
I am trying to design a program which would hide half the form and
make it visible ( a sort of collapse and expand feature) . i am doing
this using the Docmd.Movesize. My problem is when i do
DoCmd.MoveSize , , 14700
It sets the width of the form from the left side. is there some way i
can set the width from the right side. so that i can display the right
half of the form and the left half remains hidden.
Any help appreciated,
Thank you
Sangeeta Michael

Sangeeta Michael
 
Old March 22nd, 2006, 07:11 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Docmd.Movesize? are you sure you are using VB6?

to hide the left side of the form you can put all the components of the "right" side into a bordless Frame. to hide the left side, move the frame to the left, and then go ahead and shrink the form at the right. remember to move back the frame to show the whole form

Marco





Similar Threads
Thread Thread Starter Forum Replies Last Post
JSP code to insert values from HTML form to SQL se rbyamukama Pro JSP 3 January 29th, 2013 07:42 AM
Expand/Collapse Structure kanoorani Javascript 4 June 19th, 2007 03:54 AM
Help to expand a working query mat41 SQL Language 6 February 10th, 2005 05:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.