Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cut, Copy and Paste toolbar buttons don't work
Message
From
10/11/1997 20:46:28
 
 
To
10/11/1997 20:36:30
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00059429
Message ID:
00059433
Views:
31
Check your form. If it's modal (ie Form.WindowType = 1), those menu options are not available.

Vlad

>I have a toolbar with cut, copy and paste buttons.
>I use the SYS(1500) function to execute the VFP functions, but it won't work.
>
>Ex.: Cut_Click():
>Sys(1500, "_med_cut", "_medit")
>
>My menu is composed as follow:
>DO PadFile.MPR &&replace current menu
>DO PadEdit.MPR &&append (contains the cut, copy and paste options (_med_cut, _med_copy and _med_paste))
>DO PadForms.MPR &&append
>...
>
>The sequence of events is as follow:
>- SET SYSMENU TO
>- CreateObject(MyToolbar)
>- MyToolbar.Show()
>- Put up the menu
>
>Is it because the menu isn't define when the toolbar is activate that the cut, copy and paste buttons don't work? I'm sceptic about that.
>
>Does anybody have a solution?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform