OnAction

J

JonWayne

If the calling function of a CommandBars menu item requires a few string
arguments, how do you enter the OnAction property setting for that menu
item? Lets say the function was declared as :

Function DownloadFile(SiteAddress$, Login$, Password$, SomeNum%, FileSpec$)
 
W

Wolfgang Kais

Hello "JonWayne".

JonWayne said:
If the calling function of a CommandBars menu item requires a few
string arguments, how do you enter the OnAction property setting
for that menu item? Lets say the function was declared as :

Function DownloadFile(SiteAddress$, Login$, Password$, ...[snip]

I suggest to create the function without any argument and let the
function get the values from somewhere else (from controls on a
form or global variables...)
 

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