|
-
Jan 30th, 2008, 11:00 AM
#19
Thread Starter
Lively Member
Re: [2005]TextBox with just numbers and points, other stuff
Sorry.
Control Arrays.
According to the value of a NumericUpDown, I need to make Visible and Enable a number of controls. If the number in the NUD is 3, then the first 3 labels, the first 3 textboxes and so on will be visible, while the elements from 4 to 10 will be hidden.
By the way, this NumericUpDown also controls the size of the GroupBoxes and Form too. I'm not too familiar with the code in VB2005, but the migration of an older program shows me this:
Code:
Frame2.Height = VB6.TwipsToPixelsY(1440 + 285 * NZX + 75 * (NZX - 1) + 285)
That "VB6" part is worrying me. Is this the general way to change the size of a general container in 2005?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|