Results 1 to 5 of 5

Thread: Is Delphi one up on VB.Net?

  1. #1

    Thread Starter
    Junior Member RvA's Avatar
    Join Date
    Oct 2002
    Location
    USA
    Posts
    19

    Question Is Delphi one up on VB.Net?

    Hello All,

    I've done some programming in Delphi and I was wounding if there might be a way in .Net to implement the neat little feature that Delphi has for Class Completion? For those of you who have not used Delphi here is a little description of what this does.

    You build your list all of your properties you want for your class, then you right click on the the editor then click "Complete Class" Delphi's editor then creates all of the listed properties "Get" and "Set" values listed in the class at that time. It's really slick and saves on this nasty tedious work we all must do when building classes.

    If there is a way please let me know. I'm build classes right now, and my fingers are in knots!
    Best,

    Roger

    VB6.0 SR5 & VB.Net Pro
    -----------------------------------------------
    Do or do not, there is no try!

  2. #2
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    well it's just easier in vb.net
    You type the first line of the property defenition, and when you press enter, VS writes the set and get blocks for you.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  3. #3
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    Well thats not easier at all. I think what rva meant is that all you do is declare your variables and delphi creates property procedures for all of them in one go wheras with vs.net you can get the procedure's skeleton created for you as you type each one but you still have to type the code for the set and get.
    vb6 had a class builder and I would expect to see one for vs.net soon as an add-in if there isn't already one.

  4. #4
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    C# has a classbuilder add-in but unfortunately VB.NET does not.

  5. #5

    Thread Starter
    Junior Member RvA's Avatar
    Join Date
    Oct 2002
    Location
    USA
    Posts
    19
    Hello All,

    Yes Musician, that is exactly what I was trying to put across!

    MrPolite, I know about the Code Completion and that is really nice "Feature" but the way Delphi handles building the "Get" and "Set" section of a class is really slick. I think that even a Class builder for VB.Net would be a good start, but a add-in that could do what Delphi does would be really great!

    Maybe I'll get to that after I finish my current project.
    Best,

    Roger

    VB6.0 SR5 & VB.Net Pro
    -----------------------------------------------
    Do or do not, there is no try!

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