[AccessD] Populating a form with attributes of a class

Drew Wutka DWUTKA at marlow.com
Tue Mar 25 13:14:02 CST 2003


Are you saying that you want to 'see' the properties of the class?  I wrote
a Properties Property Add-In for VB, that creates a 'Properties' property,
where you can programmatically list the properties of a class (names, types
and values(read/write)).

Drew

-----Original Message-----
From: Arthur Fuller [mailto:artful at rogers.com]
Sent: Tuesday, March 25, 2003 9:54 AM
To: AccessD
Subject: [AccessD] Populating a form with attributes of a class


Suppose I have a class that represents a person, a car, a network, whatever.
What would you suggest is the best way to present the attributes of an
instance of said class on a form? Somehow the form has to be able to see the
object. Pass its name and then derefence it inside the form_open()? It's
simple enough in debug.print because you can deal with the object as an
object and just interrogate it. 

I don't want to declare a global because there could be any number of them.
Any suggestions, you object guys?

"Prediction is difficult, especially of the future." 
- Werner Heisenberg

_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com


More information about the AccessD mailing list