Mapping a xtpControlLabel to a variable |
Post Reply |
Author | |
LeeHayton
Senior Member Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
Post Options
Thanks(0)
Posted: 18 December 2006 at 5:59am |
How do I define a variable to SET = to a control created as a type xtpControlLabel?
dim myLabel as ? (what type)
Thanks
Lee
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
CommandBarControl.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
LeeHayton
Senior Member Joined: 25 November 2005 Location: United Kingdom Status: Offline Points: 102 |
Post Options
Thanks(0)
|
I am trying to create the same effect as above (Caption and Drop Down Triangle only) using the command bar. I can do it by creating a custom control for the "Announcements" bit and pointing the handle to a label(in a picture box to get a .hwnd) and that works fine. I would like to have just used the label function for the word and changed the font to Tahoma size 9 - you can do this globally but it effects the drop down menu as well. So i was hoping to be able to get hold of such properties as font, size, bold, etc for the label.
Secondly, the drop down triangle on the right I can mimic by placing an icon (which is a picture of a triangle) in the 2nd control having stetched the 1st control.
Set cbp = .ActiveMenuBar.Controls.Add(xtpControlButtonPopup, ID_DROPDOWN, "")
cbp.IconId = 1 But, how can I use the control's own drop down triangle (don't know it's technical term).
Thanks.
Lee
|
|
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 |