||User Contributed Notes:
|A.M. | 2006-09-24 08:17:58|
|Burkhard Stiller noticed that the user-defined control menu items disappeared upon the form's BorderStyle property changed during runtime.|
|jetimms | 2006-09-29 16:51:50|
|The are nice examples, except I can't figure out how to get the menu items to do anything. In other words, how do I get "Option 1" to open another form, or run a .prg?|
|A.M. | 2006-09-30 08:58:11|
|Inside the code, PROCEDURE OnMenuItemClicked clearly shows how to do that. Note that this is only available in VFP9 due to its improved BINDEVENT() function.|
VFP8 displays UDF menu items but is not capable to link them to UDF procedures or methods without using external libraries.
|JETimms | 2006-10-02 08:32:16|
|Oi vey, sorry for the previous complaint. I didn't know this was a subscription site. I'll sniff the answer out elsewhere.|
Great site, otherwise. It helped get me a quarter of the way finished with my project.
I'll try and convince my manager to get us an account.
|Christophe Chenavier | 2007-02-25 02:29:32|
|Well done, |
But in your example, if we replace oForm.Visible=.T.
with oForm.Show(1), the user-defined control menu items disappeared.
Question : Why that code does not work with modals forms ?
|runtimedll | 2007-04-30 02:14:15|
|Put VFP runtime Dll In your Program Forld.|