General information
Category:
Coding, syntax & commands
>Is it possible in VFP to pass an object by value as a parameter.
Objects are always passed by reference. I'm not even really sure what passing an object by value would look like.
>I need to build an array of toolbars but I would like to keep a copy of the toolbar object in an array instead of a reference to it. There isn't an object copy function, yet.
Interesting. So you'd have two toolbars instead of one? May I ask why you don't want to use the reference? Just curious.
IAC, back to your question. I presume your toolbars are classes. Does it not work for you to simply tell your toolbar "factory" that you want a new toolbar of class "XYZ" and have it create one for you?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only