John W. Colby
jcolby at colbyconsulting.com
Thu Feb 27 22:47:00 CST 2003
John, I would but as I discovered the other day, I have to directly email you to send a file and I don't have your email address. This email doesn't provide it for some reason. Email me at jcolby at colbyconsulting.com, include your email address and I'll send it along. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] Sent: Thursday, February 27, 2003 9:11 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] need ideas Hi John, Could you send this new demo to me? -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] Sent: Wednesday, February 19, 2003 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] need ideas John, I forgot to mention that you will also need to add a collection in the form where you will store the pointer to the classes so that they don't immediately unload again. Using the method I showed previously, you had a physical variable dimensioned for each class. Now you want to automate the thing so that as many classes load as are needed. This works but the pointer to the class has to be stored somewhere. That somewhere would be the collection. You also need to build a function specifically for instantiating the class. The new form code would look like: I have modified my demo to add another form that adds the classes into a collection and it is available to anyone who wants it. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: accessd-admin at databaseadvisors.com [mailto:accessd-admin at databaseadvisors.com] Sent: Wednesday, February 19, 2003 10:16 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] need ideas John, Is it acceptable to reference the collection of the OptionGroup which was passed by ref to the class? I was thinking that if it was then I could traverse the collection to find the OptionButton which has the same value as the OptionGroup and the based on the value color the label. My goal being that I could traverse the Form's control collection on the OnOpen event and instantiate all of the OptionGroups in one statement rather than having to organically know and type in the names of all the frames and option buttons. JB ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com ---------------------------------------------------- Is email taking over your day? Manage your time with eMailBoss. Try it free! http://www.eMailBoss.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2748 bytes Desc: not available URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030227/dd7ba8dc/attachment-0001.bin>