Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old March 22nd, 2006, 02:34 PM
Registered User
Join Date: Dec 2005
Location: Staten Island, NY, USA.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Colla[se and expand form

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
Reply With Quote
  #2 (permalink)  
Old March 22nd, 2006, 06:11 PM
Friend of Wrox
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts

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

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 06: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 04:10 AM

All times are GMT -4. The time now is 01:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.