Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamically Add a Property...?
Message
De
15/12/2005 10:16:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01078195
Message ID:
01078249
Vues:
28
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform