We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

VB6 - Resource with object passing to procedures

Thread ID:

Created:

Platform:

Replies:

5720 Jul 15,2003 11:59 AM UTC WinForms 0
loading
Tags: FAQ
Lextar
Asked On July 15, 2003 11:59 AM UTC

When you declare a procedure and pass an object to it, e.g. Public Sub MakeVisible(item as Object) item.visible = true end sub How does VB handle the resource? when you call the procedure Call MakeVisible(Button1) Call MakeCisible(Form1) Does it make a copy of the object and pass to the procedure, or does the ByRef default actually just pass a refernce? Its the passing a whole copy of the object that I am worried about if it does do that.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;