Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / November 2005

Tip: Looking for answers? Try searching our database.

Newbie please help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cql90 - 14 Nov 2005 18:24 GMT
Dear All Pro,

I am new with custom control and I would like to post my question, and I am
pretty sure that you can answer my question within a few minute.
I have a control which derived from System.Windows.Form.TextBox, how can I
override "BorderStyle" of the TextBox' properties? Any help is deeply
appreciated. Thanks you all Pro in advance. Have a good one.

Kate
jokiz - 17 Nov 2005 04:15 GMT
how would you want to override it?
Eric - 17 Nov 2005 22:02 GMT
Hi Kate,

You can use for example sth this in the constructor of your custom control:

public myCustomControl ()
{
           this.BorderStyle = System.Windows.Forms.BorderStyle.None;
}

does this help you ?

Have fun

Eric
MCP (C#)

>Dear All Pro,
>
[quoted text clipped - 5 lines]
>
>Kate
cql90 - 22 Nov 2005 05:13 GMT
Hi Guys,

I am deeply apologize for late responded, hope you guys forgive. I am at my
client site for last a few day, therefore cannot respond to you guys
message, I am very sorry. I want to draw a custom border of the text box,
the border style not give you much, like draw inner boder, raise outside
border, draw sunken border, etc; How can I do it?

Once again, I am very appreciated of your help. Thanks you isn't a right
word for me to say.

Take care and have a good one...

Kate,

> Hi Kate,
>
[quoted text clipped - 23 lines]
>>
>>Kate
jokiz - 22 Nov 2005 09:38 GMT
try to consult the winforms faq
http://64.78.52.104/FAQ/WinForms/FAQ_c41c.asp#q1025q

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.