![]() |
ShortcutCaption at runtime |
Post Reply
|
| Author | |
Newm
Newbie
Joined: 13 March 2006 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: ShortcutCaption at runtimePosted: 13 March 2006 at 6:33am |
|
Hi, I am trying to create a ShortcutCaption at runtime in VB .NET 2005 and no matter what I try I cannot adjust the height or width of the control. I have this on Load of my form and no matter what values I use for Height and Width the control appears the same size, Dim scc As AxXtremeShortcutBar.AxShortcutCaptionscc = New AxXtremeShortcutBar.AxShortcutCaption With scc.Top = 10 .Left = 10 .Height = 20 .Width = 100 End With Me.Controls.Add(scc)Thanks |
|
![]() |
|
Newm
Newbie
Joined: 13 March 2006 Location: United Kingdom Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 March 2006 at 6:53am |
|
not wanting to answer my own question it seems to work if you change the Height/Width after the control has been added into the container. For example if I do the Me.Controls.Add(scc) before scc.Height = xxx then it works. Is there any way around this? |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |