![]() |
Set DialogBar Width in code at runtime |
Post Reply ![]() |
Author | |
stefanadelbert ![]() Groupie ![]() Joined: 29 October 2008 Location: Australia Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() Posted: 18 March 2009 at 9:46pm |
Hi
I would like to set the width of a DialogBar at runtime, but am not sure how to do this. I've tried resizing the child before associating it with the dialog bar; I've tried resizing the child after associating it with the dialog bar; I've tried resizing the dialog bar, which seems to have no effect. How should this be done? Stefan |
|
![]() |
|
stefanadelbert ![]() Groupie ![]() Joined: 29 October 2008 Location: Australia Status: Offline Points: 31 |
![]() ![]() ![]() ![]() ![]() |
The trick with setting the DialogBar width is to use the SetSize method. Take a look in the documentation.
I have no clue why the DialogBar Width property is defined as read-write, as writing to it seems to have no effect. Also, why is the Width property defined and not Height? Some inconsistencies there. |
|
![]() |
|
younicke ![]() Senior Member ![]() ![]() Joined: 11 March 2005 Status: Offline Points: 107 |
![]() ![]() ![]() ![]() ![]() |
how about setting the max width the dialogbar can be resized?
how do u do it? thanks |
|
![]() |
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 |