sykes
Well-known Member
- Joined
- May 1, 2002
- Messages
- 1,885
- Office Version
- 365
- Platform
- Windows
Hi all
I'm using a label within a frame, on a form, so that I can have a lot of lines of info in the label, and allow the user to scroll down through them.
The number of lines of info on the label change, so the height of the label control needs to change dynamically.
I'm having trouble changing the height of the label at runtime - if I set the label's height to say, 500, then at runtime (in the initialize event) - using:
.......doesn't alter the height, so I can't see the rows of info at the bottom of the label.
I've even tried incrementing the label's height as each additional line of data's added to it, but that doesn't work either.
Any bright ideas, anyone.
Thanks, in advance
I'm using a label within a frame, on a form, so that I can have a lot of lines of info in the label, and allow the user to scroll down through them.
The number of lines of info on the label change, so the height of the label control needs to change dynamically.
I'm having trouble changing the height of the label at runtime - if I set the label's height to say, 500, then at runtime (in the initialize event) - using:
Code:
userform1.label1.height = 1500
I've even tried incrementing the label's height as each additional line of data's added to it, but that doesn't work either.
Any bright ideas, anyone.
Thanks, in advance