Custom control on toolbar ! |
Post Reply |
Author | |
Voha
Newbie Joined: 22 March 2004 Location: Canada Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 22 March 2004 at 5:33pm |
Hi all I see xtpControlCustom type of Control but cannot find information about it. I have to put custom control on toolbar. This control is Label. In real life i have to create an information row. Something like Outlook has. And i thought that this Custom style is designed specialy for this. Does anybody know about this? Tnx. |
|
robs
Groupie Joined: 09 November 2003 Status: Offline Points: 84 |
Post Options
Thanks(0)
|
Here's how you can add a Vb6 comboBox. Combo1 is a comboBox on the form:
Dim mCustom As ICommandBarControlCustom Set mCustom = CommandBars.Add(xtpControlCustom, 990, "Search:") Edited by robs |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
You might be looking for a ShortcutBarCaption control. From your
description it wounds like you are looking for the bar at the bottom of
the toolbar that says something like "Inbox". If that is the
case, take a look at the ShortcutBar sample.
|
|
Voha
Newbie Joined: 22 March 2004 Location: Canada Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Thank you all This helped ! |
|
Voha
Newbie Joined: 22 March 2004 Location: Canada Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi all again I looked at ShortcutBarCaption control and noticed that it can not be put on MDI form. Is this possible? tnx |
|
Woody
Newbie Joined: 07 July 2004 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
hi,
expanding on this question - how can I add standard Label control to the end of my toolbar (after the last button), to take up the remaining client width and display to the user the current form title? I need to do this on an MDI form, and can't just draw a label on the form. using a label gives me control over font, size etc unless I can modify font attributes/width in the last CommandBars button?
thanks
Woody
|
|
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 |