Hi,As you can see from the attachment i've created a ControlContainerTool that holds a time control, as well as a ToolButton control. However I have two issues with the ControlContainer:
1. The caption is actually "Working Day" but it gets trimmed to only the first word.
2. The caption fontcolor is not the same.
What am I missing?
Thanks
Ryan
Is the "Working Day" label part of the contained control or is it the caption for the tool? If it is part of the control, then you can just increase the width of the tool by dragging its edge at design time or by setting its InstanceProps.Width.
When you say the caption font color is not the same, what is it not the same as?
Thanks for the reply Mike.
1. "Working Day" is the caption for the control. Changing its width only increased the the appearance of the numericeditor control. The caption remains as "Working"
2. You will notice that the caption for the buttontool "Test Test" is blue in color while the caption for containter tool "Working" is black.
Thanks.
RyanEK said:"Working Day" is the caption for the control. Changing its width only increased the the appearance of the numericeditor control. The caption remains as "Working"
If I understand correctly, you have a UserControl defined with a label with the text "Working Day" and numeric editor control on it. An instance of this UserControl is on your Form and that is used as the container control for the tool? If so, there might be a problem with the anchors of control on your user control.
However, if the caption is the caption for the tool, then it looks like a bug and I would recommend submitting it to the support group: http://ko.infragistics.com/gethelp.
RyanEK said:You will notice that the caption for the buttontool "Test Test" is blue in color while the caption for containter tool "Working" is black.
If the label is a control on a UserControl like I described above, this is correct behavior because the toolbars manager will not change the appearance of these tools. You would have to set the font color of the label to match the tool's font colors.
If the caption is the caption for the tools, it might also be a bug.
I just installed NetAdvantage for .NET 2008 Vol. 3 CLR 2.0 and I get the same problem with the font color. The caption on the ControlContainerTool remains black--it does not change its color when I load a different .isl file for the Office 2007 style. Is there a workaround for this?
John
I know this thread is pretty old now but I'm posting in the hope that there is a workaround for this issue. I am using NetAdvantage for .NET 2011.2 and this problem still exists, all ControlContainerTools added to the toolbar have black Caption colours. Is there anyway around this or any fix in the pipeline?
Thanks,
Denis
Hi all,
I didn't see any workaround for this issue on the forum. Is there anyone?
Hector.