Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To 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 November 6th, 2006, 02:35 AM
Registered User
Join Date: Feb 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to resize a control using mouse at run time in

How to resize a control using mouse at run time in vb 6.0? and set the property box at runtime

Old November 6th, 2006, 03:36 PM
Friend of Wrox
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts

I am unclear as to what you mean by "property box", however:

You aren't going to be able to set the "property box" at runtime - assuming that by "Property Box" you mean the values in the property window or dialog box that you see at design time for controls.

You can resize controls to your hearts content by handling mouse events. If you then want to save that off so the next time the user uses the application, the control will resize itself to the previous setting, then you need to store that away into some kind of persistant preferences settings. This can be in a file, in the registry, or in a database for a few ideas.

So then the question is -

Woody Z http://www.learntoprogramnow.com

Similar Threads
Thread Thread Starter Forum Replies Last Post
Control resize and positioning at run time. VB.Net TechNik .NET Framework 2.0 5 November 14th, 2008 09:00 AM
How to control mouse C#??? nhutcmos General .NET 1 June 2nd, 2006 03:42 AM
I need control to resize other active windows danny1 Visual C++ 0 May 20th, 2005 01:58 PM
Show server control at run time minhpx General .NET 1 March 2nd, 2005 12:08 PM
Resize controls at run time using mouse harini19 VB How-To 1 December 19th, 2003 02:37 PM

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