To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Visual Basic .NET

Reply Post New Thread
 
Thread Tools Display Modes
Old Jun 9th, 2005, 03:59 AM   #1
martw
Lively Member
 
Join Date: Mar 05
Posts: 124
martw is an unknown quantity at this point (<10)
Arrow Different Form.

Hi, long time... I would like to ask you guys if you know how I can create my own custom form. Many programs have specific colours, shapes and other qualities which I can't achieve in VB.NET. I would like to create my own custom form design but I don't know where to go about starting this. The shape can reamain the same or can be a perfect rectuangular shape. I would really like to change colours in the form and some other controls. Oh and before I forget, is it possible to draw a gradient BackColour for contorls?

If this going to end up being too difficult, or even impossible, then please tell me now, as I don't want to have to go deep and then realise I have to turn back, or ditch everything.

Thanks
__________________
I never know what to put in this section...



So sue me... ... ... I'm just kidding...


www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!
martw is offline   Reply With Quote
Old Jun 9th, 2005, 04:32 AM   #2
FishGuy
Frenzied Member
 
FishGuy's Avatar
 
Join Date: Mar 05
Location: Bradford UK
Posts: 1,477
FishGuy  is on a distinguished road (40+)
Re: Different Form.

Im not sure i understood your question.. why dont you just go to the form or control properties and change the background colour.
FishGuy is offline   Reply With Quote
Old Jun 10th, 2005, 12:00 AM   #3
martw
Lively Member
 
Join Date: Mar 05
Posts: 124
martw is an unknown quantity at this point (<10)
Re: Different Form.

OK. I will try to provide an example.

Has anyone used Steam or something like that?



This is the form design for the main screen. It is able to be moved around and has all of the capabilities of a normal form.
Is this achievable in VB.NET?
__________________
I never know what to put in this section...



So sue me... ... ... I'm just kidding...


www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!
martw is offline   Reply With Quote
Old Jun 10th, 2005, 04:14 AM   #4
haihems
Addicted Member
 
haihems's Avatar
 
Join Date: Oct 04
Posts: 150
haihems is an unknown quantity at this point (<10)
Re: Different Form.

You can make a same form like this using vb.Net...but I'm not sure about using the gradiant colors for the controls
__________________
Think Before Ink

Visual Studio .NET 2002/.NET Framework 1.0
haihems is offline   Reply With Quote
Old Jun 10th, 2005, 04:17 AM   #5
martw
Lively Member
 
Join Date: Mar 05
Posts: 124
martw is an unknown quantity at this point (<10)
Re: Different Form.

You can? How? Any info or a point in the right direction would be helpful.
__________________
I never know what to put in this section...



So sue me... ... ... I'm just kidding...


www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!

Last edited by martw; Jun 10th, 2005 at 04:22 AM.
martw is offline   Reply With Quote
Old Jun 10th, 2005, 09:30 AM   #6
FishGuy
Frenzied Member
 
FishGuy's Avatar
 
Join Date: Mar 05
Location: Bradford UK
Posts: 1,477
FishGuy  is on a distinguished road (40+)
Re: Different Form.

It just looks like a normal windows form to me with the usual background colour, buttons border typ etc.
FishGuy is offline   Reply With Quote
Old Jun 10th, 2005, 09:39 AM   #7
wossname
Dream Theater Fan
 
wossname's Avatar
 
Join Date: Aug 02
Location: #!/bin/bash
Posts: 5,639
wossname is a glorious beacon of light (400+)wossname is a glorious beacon of light (400+)wossname is a glorious beacon of light (400+)wossname is a glorious beacon of light (400+)wossname is a glorious beacon of light (400+)wossname is a glorious beacon of light (400+)
Re: Different Form.

martw: look at the FormBorderStyle of your form. Mess around with it.

You'll need to provide some custom code for dragging the form around.
wossname is offline   Reply With Quote
Old Jun 11th, 2005, 04:27 AM   #8
martw
Lively Member
 
Join Date: Mar 05
Posts: 124
martw is an unknown quantity at this point (<10)
Re: Different Form.

Wossy, that is what I did with my old assingment. I made custom close and minimize buttons but never got the form to move. I was kind of hoping for a different method, but if thats all I need to do, then could you please explain how I could code Drag & Drop code for the form?
__________________
I never know what to put in this section...



So sue me... ... ... I'm just kidding...


www.fat-pie.com Flash Movies... You gotta see 'em to believe 'em!
martw is offline   Reply With Quote
Old Dec 19th, 2005, 05:52 PM   #9
maged
Frenzied Member
 
maged's Avatar
 
Join Date: Nov 02
Location: Egypt
Posts: 1,040
maged will become famous soon enough (50+)
Re: Different Form.

i am poping it up because i need to know how too ???

anyone now knows what is the drag and drop code for the window
__________________
Maged A. Reda
CEO of Softex Software House - Check Softex Superior Websites Here
maged is offline   Reply With Quote
Old Dec 19th, 2005, 06:30 PM   #10
jmcilhinney
.NUT
 
jmcilhinney's Avatar
 
Join Date: May 05
Location: Sydney, Australia
Posts: 61,543
jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)
Re: Different Form.

This question has been asked and answered several times on the forums.
__________________

2007-2010

Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (Nullable Data Extensions *NEW*) (Serial Code TextBox *NEW*) | C# (ForumAccount has translated some of my VB submissions to C#)
My Blog: Defining and Raising Custom Events | Using Parameters in ADO.NET | Keyboard Events *NEW*
jmcilhinney is online now   Reply With Quote
Old Dec 20th, 2005, 03:51 AM   #11
maged
Frenzied Member
 
maged's Avatar
 
Join Date: Nov 02
Location: Egypt
Posts: 1,040
maged will become famous soon enough (50+)
Re: Different Form.

i am not that lazy but really i have tried to search the forums for this code and never able to find it.

More real help will be appreciated if you could advise me the link and prove me wrong.

thc
__________________
Maged A. Reda
CEO of Softex Software House - Check Softex Superior Websites Here
maged is offline   Reply With Quote
Old Dec 20th, 2005, 04:46 PM   #12
jmcilhinney
.NUT
 
jmcilhinney's Avatar
 
Join Date: May 05
Location: Sydney, Australia
Posts: 61,543
jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)
Re: Different Form.

__________________

2007-2010

Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (Nullable Data Extensions *NEW*) (Serial Code TextBox *NEW*) | C# (ForumAccount has translated some of my VB submissions to C#)
My Blog: Defining and Raising Custom Events | Using Parameters in ADO.NET | Keyboard Events *NEW*
jmcilhinney is online now   Reply With Quote
Old Dec 21st, 2005, 03:18 AM   #13
maged
Frenzied Member
 
maged's Avatar
 
Join Date: Nov 02
Location: Egypt
Posts: 1,040
maged will become famous soon enough (50+)
Re: Different Form.

thx a million for this real help

BST RGDS
__________________
Maged A. Reda
CEO of Softex Software House - Check Softex Superior Websites Here
maged is offline   Reply With Quote
Old Dec 21st, 2005, 07:36 PM   #14
jmcilhinney
.NUT
 
jmcilhinney's Avatar
 
Join Date: May 05
Location: Sydney, Australia
Posts: 61,543
jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)jmcilhinney has a reputation beyond repute (3000+)
Re: Different Form.

You may also like to check out the ElementsEx library mentioned in my signature. It has a ShapedControl that seems to look after at least some of the details for you. I've never used it myself but the demo allows you to drag the form around, so either they have included code in the sample to do that or the control includes that functionality itself.
__________________

2007-2010

Why is my data not saved to my database? | Communicating between multiple forms | MSDN Data Walkthroughs
MSDN "How Do I?" Videos: VB | C#
VBForums Database Development FAQ
My CodeBank Submissions: VB (Nullable Data Extensions *NEW*) (Serial Code TextBox *NEW*) | C# (ForumAccount has translated some of my VB submissions to C#)
My Blog: Defining and Raising Custom Events | Using Parameters in ADO.NET | Keyboard Events *NEW*
jmcilhinney is online now   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic .NET


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


All times are GMT -5. The time now is 05:26 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.