|
-
Nov 24th, 2002, 12:26 PM
#1
Thread Starter
Junior Member
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!
-
Nov 24th, 2002, 01:22 PM
#2
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!!
-
Nov 24th, 2002, 08:07 PM
#3
Hyperactive Member
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.
-
Nov 24th, 2002, 10:06 PM
#4
C# has a classbuilder add-in but unfortunately VB.NET does not.
-
Nov 24th, 2002, 10:26 PM
#5
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|