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 July 24th, 2004, 02:51 AM
Authorized User
 
Join Date: Jul 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create dynamic label in vb.net

Hi,

I would like to know if it is possible to create a dynamic label, but the size of this dynamic label is based on the number of texts/chars the label show.

Snowydust

__________________
Snowydust
 
Old July 24th, 2004, 05:32 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

You can make the autosize property of label true.

But this will not fold the texts automatically. To fold the texts, you need to set wordwrap=true. But then autosize will not work.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic created buttons in Vb.Net remya1000 General .NET 1 December 6th, 2007 04:20 PM
Need Help with Dynamic Link Label Click Events chobo2 C# 4 November 8th, 2007 03:47 AM
Label Array With Dynamic Size nevincm C# 1 April 13th, 2007 11:24 AM
Dynamic Text in Label funnylearning .NET Framework 2.0 2 September 18th, 2006 12:59 PM
Dynamic images from VB .net to CR .net. Given Path Alita Crystal Reports 0 September 22nd, 2004 01:51 AM





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