Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp6- how to add property
Message
From
03/05/2004 06:00:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/05/2004 05:03:48
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00900306
Message ID:
00900310
Views:
17
>hi all,
>May be many of u have gone through this.
>
>At a late stage in development i need to add a property to all the members of the form. I know i can do it at the class level but when it involves about 2000 objects and not many from classes i am looking for a way to hack the scx in order to achive this.
>
>Any ideas?
>
>suhas

Suhas,
At scx level it wouldn't do any good for you. As I said in other post addproperty() might help. But think for a moment do you really need to add it per object applicable. Instead you might have that property as a column of an array (as I understood from other post you're after a very simple property storage). ie:
form.aObj[m.ix,1] = 'objFullHierarchy'
form.aObj[m.ix,2] = 'PropertyValueForThisObject'
This might also represent the User field of scx or better if you're not using Tag property for something else it's a ready storage property.
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
Next
Reply
Map
View

Click here to load this message in the networking platform