Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Knowledge Base > Code Library > RoundTextBox by Bucky


Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2002, 02:09 PM
ChiefRedBull's Avatar
ChiefRedBull ChiefRedBull is offline
ISearchGoogle

Retired Moderator
* Expert *
 
Join Date: May 2001
Location: england
Posts: 6,321
Post RoundedTextBox by Bucky


'---------------------------------------------------------------------------------------
' Module : RoundedTextBox
' Date : 6/8/2002
' Author : Bucky (bucky@kathyschrock.net)
' Purpose : Get rid of boring, square textboxes!
'---------------------------------------------------------------------------------------

' Just a few notes:
'
' -To set a property to its default, set it to -1, except for
' BorderColor, which should be set to vbBlack. To reset all
' properties, just use the ResetProperties sub.
'
' -Thanks to EVERYONE on the Extreme Visual Basic Forum,
'
' www.visualbasicforum.com ,
'
' who helped with this, especially to kulbak, who gave me the idea in this thread:
'
' http://www.xtremevbtalk.com/sho...&threadid=28905 ,
'
' and to ChiefRedBull for posting the class for me, and to The Hand for helping with GDI stuff,
' and VolteFace for writing a great tutorial on EliteVB (www.elitevb.com),
' and to everyone else again!
'
' Have fun with this class, and make your forms pretty with it!
'
' -Bucky
Attached Files
File Type: cls roundedtextbox.cls (5.6 KB, 306 views)
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.

Last edited by Banjo; 06-08-2002 at 03:59 PM.
Reply With Quote
  #2  
Old 06-08-2002, 02:45 PM
Volte's Avatar
Volte Volte is offline
Ultimate Contributor

Retired Leader
* Guru *
 
Join Date: Aug 2001
Posts: 5,343
Default

One word:

Awesome



Great work! Even if you don't want round text boxes, you can
set the radius to 0 and use a custom border color.

Nice work!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->