A Stupid Question

D

DavidW

Can you deifne your own procedure(if that is the right word)

Private Sub Form_Current() is the default

can it be made to work as and will it work as
Private Sub Form_Current(Cancel as Integrer)
if so how do you do that?

or am I barking up the wrong tree?
 
D

Dan Artuso

Hi,
Not sure what you're asking. You can create your own Sub Routines and functions.
In your example, you have chosen an event, which is a sub that is called when a particular
message is sent by Windows to a form.
So, are you asking whether you can create an event or a sub that *you* will call elsewhere
in your code?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top