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

Shaped Form

4 Answers 169 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
justin coon
Top achievements
Rank 1
justin coon asked on 19 Mar 2007, 01:35 PM
How to add a border to the shaped form?

Thanks
Justin

4 Answers, 1 is accepted

Sort by
0
justin coon
Top achievements
Rank 1
answered on 19 Mar 2007, 02:03 PM
edited..problem
0
justin coon
Top achievements
Rank 1
answered on 19 Mar 2007, 02:40 PM
No i did not resolve the problem.
The border shows up in design time, but when i run the project the border disappears.
I designer.vb i am setting
me.shape = new roundrectshape(6)
me.bordercolor = somecolor
me.borderwidth = 6

it disappears in runtime

and also why cant we just set the border and color in design time with out having to go into the designer code and set me.shape = new roundrectshape?

0
justin coon
Top achievements
Rank 1
answered on 19 Mar 2007, 03:01 PM
FYI I have a radribbonbar on the form.

After I type the code in to give the shaped form a border....when i click on the [Design] form to see it and click back to the designer.vb code ....what I just typed is gone!!
very annoying...
this seems very buggy to me...any help please?
0
justin coon
Top achievements
Rank 1
answered on 20 Mar 2007, 07:08 PM
found solution....apologies, apologies...i had a ridiculous erroneous oversight in my code


thanks justin
Tags
General Discussions
Asked by
justin coon
Top achievements
Rank 1
Answers by
justin coon
Top achievements
Rank 1
Share this question
or