| To: | REALbasic NUG <realbasic-nug at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: CallByName function in VB + WithEvents |
| From: | Yves Vindevogel <yves dot vindevogel at implements dot be> |
| Date: | Wed, 30 Jun 2004 19:09:01 +0200 |
| Delivered-to: | realbasic-nug at lists dot realsoftware dot com |
| List-help: | <mailto:realbasic-nug-request@lists.realsoftware.com?subject=help> |
| List-id: | REALbasic NUG <realbasic-nug.lists.realsoftware.com> |
| List-post: | <mailto:realbasic-nug@lists.realsoftware.com> |
| References: | <791C18B0-CA34-11D8-9C0E-003065D61478 at implements dot be> <AB7FA2BE-CA37-11D8-AADC-000A95DB6C90 at fireyesoftware dot com> <4173BF67-CA39-11D8-A8A8-000A95DB6C90 at fireyesoftware dot com> <F4AD04C8-CA72-11D8-9C0E-003065D61478 at implements dot be> <3539212C-CAB4-11D8-8E68-000A95DB6C90 at fireyesoftware dot com> |
Any workaround is briljant if it solves the problem ... On 30 Jun 2004, at 18:40, Asher Dunn wrote: On Jun 30, 2004, at 4:53 AM, Yves Vindevogel wrote:For Each Field in myRecord myObject.PropertyWithTheSameName = Field.Value NextYou could put each "property" of myObject in a dictionary, and have a method, MyClass.Property(Name As String, Assigns Value As Variant) to set them.Of course, that's just another work around. Asher Dunn --------------------------------------------------------President and Head Developer of Fireye Software <http://www.fireyesoftware.com/>_______________________________________________ Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://support.realsoftware.com/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Copying a program file through code, Charles Yeomans |
|---|---|
| Next by Date: | Re: Copying a program file through code, Dave DeLong |
| Previous by Thread: | Re: CallByName function in VB + WithEvents, Asher Dunn |
| Next by Thread: | Re: CallByName function in VB + WithEvents, Chad J McQuinn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |