Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Selecting partial text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Selecting partial text

 Post Reply Post Reply
Author
Message
acwest View Drop Down
Groupie
Groupie


Joined: 23 April 2010
Location: Canada
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote acwest Quote  Post ReplyReply Direct Link To This Post Topic: Selecting partial text
    Posted: 23 April 2010 at 11:41am
Is there a way to allow the user to select text within an item, instead of selecting the entire row?
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2010 at 11:47am
There is a focus sub items option...should be shown in of the samples.
Back to Top
acwest View Drop Down
Groupie
Groupie


Joined: 23 April 2010
Location: Canada
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote acwest Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2010 at 1:09pm
I don't think that lets me select arbitrary text within the control, though. I want the users to be able to select any text they wish, just be clicking and dragging, but so far I haven't figured out how to get that effect.
-Craig
Back to Top
acwest View Drop Down
Groupie
Groupie


Joined: 23 April 2010
Location: Canada
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote acwest Quote  Post ReplyReply Direct Link To This Post Posted: 23 April 2010 at 3:30pm
I took a look at the samples, and as I had suspected, FocusSubItems only allows you to select individual columns within the row, not characters. If I make the item editable, the user can select it normally, but then also modify it. Is there a way to limit what actions the user is allowed to do while editing? (Ideally,  I want them to be able to Copy only, nothing else)
-Craig
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.