-
Combobox with borderstyle fixedsingle
Hi,
I am customizing the look of my forms and I think that the textboxes in the form look much better when the borderstyle is fixedsingle.
When I wanted to give the combobox the borderstyle the fixedsingle value I saw that their wasn't a borderstyle property.
I wonder if their is any way that I can use a combobox with fixedsingle borderstyle???
-
You can use a third-party combobox, such as this one:
http://www.vbaccelerator.com/home/VB...es/article.asp
Or, if your users are running Windows XP, you can allow your program to use XP's visual styles:
http://www.vbaccelerator.com/home/VB...VB/article.asp
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
-
VB.NEt
Thanks for the information. The only problem is that the codes are for VB6 and I'm using VS.NET. Are their also similar methodes for VB.NET?
-
Sorry, most users of FreeVBCode are using VB6. In the future, you may wish to post VB.NET questions to the .NET Technical forum at DevX: http://forums.devx.com/forumdisplay.php?f=120
The second method above (using a .manifest file) also works for VB.NET. Or, you may simply call Application.EnableVisualStyles from your form's startup code (before any controls are created on the form).
If your users are not using Windows XP, you'll need to use a third-party control or make the combobox owner-drawn and draw the border yourself. Here's a .NET version of vbAccelerator's flat combobox: http://www.vbaccelerator.com/home/NE...es/article.asp
Phil Weber
http://www.philweber.com
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
Similar Threads
-
By Narasimhan in forum .NET
Replies: 6
Last Post: 03-27-2010, 01:49 AM
-
By Laurel in forum Database
Replies: 4
Last Post: 03-24-2005, 12:51 PM
-
By Stan Shankman in forum .NET
Replies: 2
Last Post: 09-07-2001, 03:06 AM
-
Replies: 6
Last Post: 04-09-2001, 02:40 PM
-
By xiao_john@yahoo.com in forum VB Classic
Replies: 0
Last Post: 02-20-2001, 01:23 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks