Peter Hart wrote on 2010-09-08: 
> Hi Folks
> 
> I have a grid on a pageframe  which I want to copy the details of the
> current record to the Clipboard.
> 
> I have create a short cut menu and generated it.
> 
> In the Right Click of the first columns text box I have place the code
> 
> Do sctCopyToClipboard.mpr
> 
> Nothing happens when you right click.
> 
> It doesn't happen if you put it in the Right click of the Grid or any
> of the other columns text box's.
> 
> I have a breakpoint on each line of code and the Right click does not
> appear to be activated.
> 
> I have also tried all combination of read only and enabled
> 
> Any Ideas
> 
> Peter
> 
> Peter Hart Computers
> 

Peter,

If the grid is not editable, set the AllowCellSelection = .F. then call the
code from the grids RightClick event.

Otherwise, are you adding the column via code?

Tracy Pearson
PowerChurch Software




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/001a01cb4f91$bfac1850$3f0448...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to