|
|
#1 |
|
Lively Member
Join Date: Mar 05
Posts: 124
![]() |
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!
|
|
|
|
|
|
#2 |
|
Frenzied Member
Join Date: Mar 05
Location: Bradford UK
Posts: 1,477
![]() |
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.
|
|
|
|
|
|
#3 |
|
Lively Member
Join Date: Mar 05
Posts: 124
![]() |
Re: Different 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!
|
|
|
|
|
|
#4 |
|
Addicted Member
Join Date: Oct 04
Posts: 150
![]() |
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 |
|
|
|
|
|
#5 |
|
Lively Member
Join Date: Mar 05
Posts: 124
![]() |
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. |
|
|
|
|
|
#6 |
|
Frenzied Member
Join Date: Mar 05
Location: Bradford UK
Posts: 1,477
![]() |
Re: Different Form.
It just looks like a normal windows form to me with the usual background colour, buttons border typ etc.
|
|
|
|
|
|
#7 |
|
Dream Theater Fan
Join Date: Aug 02
Location: #!/bin/bash
Posts: 5,639
![]() ![]() ![]() ![]() ![]() ![]() |
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. |
|
|
|
|
|
#8 |
|
Lively Member
Join Date: Mar 05
Posts: 124
![]() |
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!
|
|
|
|
|
|
#9 |
|
Frenzied Member
Join Date: Nov 02
Location: Egypt
Posts: 1,040
![]() |
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
|
|
|
|
|
|
#10 |
|
.NUT
Join Date: May 05
Location: Sydney, Australia
Posts: 61,543
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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* |
|
|
|
|
|
#11 |
|
Frenzied Member
Join Date: Nov 02
Location: Egypt
Posts: 1,040
![]() |
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 |
|
|
|
|
|
#12 |
|
.NUT
Join Date: May 05
Location: Sydney, Australia
Posts: 61,543
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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* |
|
|
|
|
|
#13 |
|
Frenzied Member
Join Date: Nov 02
Location: Egypt
Posts: 1,040
![]() |
Re: Different Form.
thx a million for this real help
BST RGDS |
|
|
|
|
|
#14 |
|
.NUT
Join Date: May 05
Location: Sydney, Australia
Posts: 61,543
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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* |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|