![]() |
TaskPanel Control Item |
Post Reply ![]() |
Author | |
TareqKhan ![]() Newbie ![]() Joined: 16 August 2004 Location: United Kingdom Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 26 August 2004 at 6:16am |
Hi I have added a control to a taskpanel item (a picture box containing a couple of checkboxes), however when the code is executed the c ontrol covers the taskpanel caption... Anybody know what I am doing wrong? The example that comes with the software works fine, but if I copy the code into my project the item covers the caption. I sure it is a very simple problem, but I have got to the point where I cannot see the wood for the trees. |
|
Tareq
|
|
![]() |
|
SuperMario ![]() Admin Group ![]() ![]() Joined: 14 February 2004 Status: Offline Points: 18057 |
![]() ![]() ![]() ![]() ![]() |
There is probably a better way, but you can try the SetMargins for the item:
|
|
![]() |
|
TareqKhan ![]() Newbie ![]() Joined: 16 August 2004 Location: United Kingdom Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() |
Thanks... that works fine... I have just realised that the offset is the amount of space take up by a ShortcutCaption that I have above the taskpanel. It appears the taskpanel control is performing all of its rendereing relative to the top of the form instead of its own top. Thanks again for you help. |
|
Tareq
|
|
![]() |
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 |