Thread
:
Adding controls in code
View Single Post
#
3
(
permalink
)
April 6th, 2010, 09:03 PM
Rod Stephens
Wrox Author
Points: 2,456, Level: 20
Activity: 16%
Join Date: Jan 2006
Location: , , .
Posts: 493
Thanks: 1
Thanked 75 Times in 74 Posts
I think they're on top of each other
I think the first piece of code might be creating both controls but they're appearing on top of each other. Try adding this code after you create the second control:
Optionr2.Top = Optionr1.Bottom + 5
__________________
Rod
Rod Stephens, Visual Basic MVP
C# 24-Hour Trainer
http://www.csharphelper.com/24hour.html
(Please post reviews at Amazon or wherever you shop!)
Rod Stephens
View Public Profile
Visit Rod Stephens's homepage!
Find all posts by Rod Stephens