Lengkap

Workaround for Autosize prob in .NET

There is apparently a small buglet in the way Microsoft Visual Basic .NET handles labels with the Autosize property set to True. I have read about other users with the same problem. What I need should be very simple for someone who may have experienced this before. What I need is code that works around this problem and lets me place labels on a windows form where the autosizing works properly.

## Deliverables

Please create a sample form with 4 labels and a button. When the button gets clicked I need to have each of the 4 labels populated with data. When the labels are populated, I need each label positioned below the preceeding label. i.e. Each of the 4 labels will have the same left property, but when they are populated their heights/widths would adjust automatically (like they are supposed to). The button can simply toggle back and forth between just two sets of data so you do not need to create a lot of sample data. But, the sample data should vary in size from one line of data to about 15 rows of data just so I can see that the labels move and size dynamically. Yes, the labels will need to move UP or DOWN depending on the size of the previous label. All of this is about 5~10 minutes of code in VB6, but it must be done in Viusal Basic .NET -- Not ASP.NET

## Platform

VB.NET

Kemahiran: .NET, Kejuruteraan, MySQL, PHP, Kejuruteraan Perisian, Ujian Perisian, Visual Basic

Lihat lagi: line in problem, in vb6.0, and in vb6, what is microsoft visual, vb6 to vb.net, VISUAL BASIC net, prob, vb6 read code, microsoft vb6 sample, vb6 sample, vb6 create code, visual basic problem, php prob, small windows net, basic net, windows form sample, code read net, php toggle, vb6 asp, net windows form

Tentang Majikan:
( 10 ulasan ) United States

ID Projek: #2912421

Dianugerahkan kepada:

SaudSami

See private message.

$42.5 USD dalam 14 hari
(4 Ulasan)
4.5

4 pekerja bebas membida secara purata $37 untuk pekerjaan ini

relement

See private message.

$42.5 USD dalam 14 hari
(10 Ulasan)
4.7
neelemtechn

See private message.

$38.25 USD dalam 14 hari
(19 Ulasan)
3.6
lweinberg

See private message.

$25.5 USD dalam 14 hari
(0 Ulasan)
0.0