Solved

parameters

Posted on 2000-03-20
1
150 Views
Last Modified: 2010-05-02
I want to send parameters to a procedure such as form_load, how can I do that without using a public vaiable or a public procedure?
0
Comment
Question by:makris
1 Comment
 
LVL 5

Accepted Solution

by:
Voodooman earned 50 total points
ID: 2637024
You cant change the Standard from load events.

What I do is Create a Property on the form.

In the General Declarations of a testForm add this

Public EditMode as Boolean

Now before you load your form

TestForm.EditMode=True


You can then use this in the form load event to set the edit mode setup of you form.

Like this

Form Load

If editmode=true then
     TB_Something.visible=false
else
     TB_Something.visible=true
end if





Calling this type of Property does not load the form.

Be Carefull to set it to false when the form closes.

Good Luck

Voodooman!




0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How does CurrentUser work? 10 37
Using an encrypted  value to decrypt and display contents in vb6 9 51
TT Auto Dashboard 13 92
fso.FolderExists("\\server\HiddenFolder$") 4 65
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question