Results 1 to 3 of 3

Thread: Custom form.

  1. #1

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Custom form.

    I want to create a custom form, for skinning an app. at the moment I have made a title bar with minimize, maximize etc (user controll), What I am also doing is just making this and dropping it onto a form, I know I could inherit from form but what im not sure of how to do, is to make my new controll a form, I can add user controlls to a normal form but I want my user control with its nice borders and title bar to able to edit in the designer, without adding it to an existing form. Can I create a custom form, "myform" and make the designer use this when I create a new windows application, rather than use the standard windows form?

    Thanks in advance and sorry for the somewhat cryptic post

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Custom form.

    If you want to create a form then you do it in exactly the same way as you normally do. If you then want to inherit that form later you select Inherited Form instead of Windows Form in the Add New Item dialogue. When you create a new project just delete the default form and create a new inherited form, then set that as your startup object.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Custom form.

    Problem solved....

    Thanks allot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width