This is a migrated thread and some comments may be shown as answers.

office style 1

1 Answer 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 17 Aug 2008, 01:46 PM
Hi there,

created a shaped form :: 

Telerik.WinControls.UI.

ShapedForm

Applied the shape theme ::  officeShape1

Drag and dropped RibbonBar onto this form.

What I want is to be able to set a border for the entire form, but soon as applying the officeShape1 attribute, the border is lost (in terms of being able to set a colored edge).

Obviously, would like to be able to apply a colored edge as the when moving the window created over other windoews, it get lost as no edge definition etc.

I have tried setting the border width and color in the form attributes -- but this only does the bottom left and bottom row of the form (below the ribbonbar) and does not draw a border around the offceshape1 edge?

What am I missing please?

Many thanks.

1 Answer, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 18 Aug 2008, 07:14 AM
Hi Andrew,

Since ShapedForm is using the form's client to paint the borders, any control placed on the form would hide the border. You can use the form's Padding property to prevent this. You can also take a look at the following KB that describes a bit more on the ways you can tweak ShapedForm:
http://www.telerik.com/support/kb/article/b454K-ttk-b454T-ckd-b454c-ckd.aspx

 
All the best,
Mike
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Mike
Telerik team
Share this question
or