Getting creative

Galan

Registered User.
Local time
Today, 21:13
Joined
Oct 6, 2003
Messages
19
Hiya


I would like to add my Icons to the Custom made Menu, not edit them....Cut and paste type of thing..Anyone know how to?? Also add my coding to that menu...exit_click Unload me....


Thanx
 
If you already have your icons on a Microsoft menu you can cut and paste them. Otherwise, I'm not sure. To run a function when you click a menu button, go into customize mode for the menu, right-click on the button you want to configure, and click Properties. With 'On Action' you can specify a function name.
 
:confused:
Sorry Im afraid I dont understand how to add my own code under the menu, for example if I want to Create a Backup when the user clicks on backup on the Customize menu, where do I go do input my code?? On the action I dont think is apropiate to put some 5 lines of code....well thanx
 
In a module you would create a function like this:
Code:
Function fSomeFunction()
   do this stuff...
End Function
Then in the On Action field on the button properties you would type 'fSomeFunction'.

The On Action field has a drop-down list where you can choose from any of the macros stored in your database. You can either pick from one of them or type in the name of a function.
 
Last edited:
Forgot the brackets =fSomeFunction() in the on action property, at least in 97 it is:confused:
 
I get an error when I put the parentheses in. I think it wants me to pass a parameter. (Using Access2k)
 
Hehe, I tried it one time with only an equals sign and once with only the parentheses. It works fine with the equals sign and the parentheses. In fact, if you want to pass a parameter, you must have it that way. Thanks, Rich. =)
 
Hiya,


I have completed my module, but I dont have the option to pick which funtion, on the "on Action" of the menu properties:-(
 
The only options you'll have are macros you have saved in the database. You'll have to type in the function manually with the format '=functionName()'
 

Users who are viewing this thread

Back
Top Bottom