-
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 :thumb:
-
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.
-
Re: Different Form.
OK. I will try to provide an example.
Has anyone used Steam or something like that?
http://img298.echo.cx/img298/9291/steam9wi.jpg
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?
-
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
-
Re: Different Form.
You can? How? Any info or a point in the right direction would be helpful. :D
-
Re: Different Form.
It just looks like a normal windows form to me with the usual background colour, buttons border typ etc.
-
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.
-
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?
-
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 :confused:
-
Re: Different Form.
This question has been asked and answered several times on the forums.
-
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. :mad:
thc
-
Re: Different Form.
-
Re: Different Form.
thx a million for this real help :thumb: :thumb:
BST RGDS
-
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.