Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Antonio Massouh
  Where is Antonio Massouh?
 Campinas
 Brazil
 Antonio Massouh
 To: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 Tags
Subject: RE: Context menu on a form
Thread ID: 228699 Message ID: 228705 # Views: 23 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: General VFP Topics
Date: Thursday, May 21, 2009 12:01:44 AM         
   


> > Hello dear colleagues !
> >
> > I have a form with an Editbox on it. The Editbox is populated with some text.
> > When I run the application and the form appears on screen, I click the right mouse button on the EditBox and nothing happens. I would like to open the context menu when I right click the mouse button. How to do this ?
> >
> > Thanks
> >
> > Michel
>
>
> Afternoon from Canada,
> There is a right-click event in the Editbox, use this to fire your code.
> Pete "the IceMan", from the Great White North of Canada.

Hi Pete !
Ok, I will put commands in the RightClick Event of the Editbox.
But I want to give the user 3 options in the context menu: Select all text, Copy (or Select and copy all text in just one click) and Print. What are the commands I have to write to fire selection, copy and print ?
Thanks,
Michel

ENTIRE THREAD

Context menu on a form Posted by Antonio Massouh @ 5/20/2009 11:18:35 PM
RE: Context menu on a form Posted by Pete Sass @ 5/20/2009 11:43:52 PM
RE: Context menu on a form Posted by Antonio Massouh @ 5/21/2009 12:01:44 AM
RE: Context menu on a form Posted by John Terburg @ 5/25/2009 2:03:45 PM
RE: Context menu on a form Posted by Mike Gagnon @ 5/20/2009 11:45:15 PM
RE: Context menu on a form Posted by Antonio Massouh @ 5/20/2009 11:57:09 PM
RE: Context menu on a form Posted by Stefan Wuebbe @ 5/21/2009 9:41:32 AM
RE: Context menu on a form Posted by Antonio Massouh @ 5/22/2009 2:33:30 AM
RE: Context menu on a form Posted by Yousfi Benameur @ 5/21/2009 1:35:45 AM
RE: Context menu on a form Posted by Antonio Massouh @ 5/22/2009 2:44:42 AM
RE: Context menu on a form Posted by Yousfi Benameur @ 5/22/2009 10:47:18 AM
RE: Context menu on a form Posted by Antonio Massouh @ 5/22/2009 4:17:21 PM
RE: Context menu on a form Posted by Yousfi Benameur @ 5/22/2009 6:10:40 PM
RE: Context menu on a form Posted by Antonio Massouh @ 5/23/2009 2:12:02 AM
RE: Context menu on a form Posted by Yousfi Benameur @ 3/22/2011 10:59:42 AM