Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically Add a Property...?
Message
From
15/12/2005 10:16:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01078195
Message ID:
01078249
Views:
27
>I thought about using an array, but that would mean I would have to add the array to all my forms that could possibly be modified in this way. That in it of itself is a pain, plus, the code that I am converting actually references the Property directly off of the form's for example after creating them. So, if I use an array, I would have to loop through the array each time to find the proper "property" and then do what I need to with the value. I know I could do it that way, just a bit more coding. I was just hoping that there was an internal function I could use in VB.Net that maybe I was not aware of that mimics FoxPro's AddProperty method.
>
>Thanks for the input though! :-)

You don't need to add to each form. You can initialize a class that serves like oApp application class in VFP and is available to all application. Also saying ArrayList I meant the family and more the Collection class which you can use with keys.
PS: At least I don't know something as simple as VFP's addproperty:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform