Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Cannot copy the cell of a string grid when in readonly


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Philippe Watel

Posts: 13
Registered: 10/20/06
Cannot copy the cell of a string grid when in readonly  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 14, 2014 11:44 PM
Hello
A Tedit even in Readonly mode, on can still copy the cell content with the Ctl-C or the right click pop menu
however in the tstringgrid, if in read only mode this option disappear : the cursor is there no access to the content.
Logically preventing a user to change data and the ability to copy it to the clipboard are non related - I do not understand this choice.

Is there a work around that please or a combination of options (grid or column) that would allow to have this native behavior enabled ?

now given it is also for mac OS trapping for key-pressed etc is a pain (figure out which correspond to copy on the mac) and the have to create a popup menu etc - or using the grid instead of string grid this component might be smarter ?
Thank you
PW
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02