Ecrion Software Inc. Homepage
Forum Home Forum Home > XF Desktop Edition > Generic Support
  New Posts New Posts RSS Feed: How do you programatically change a document?
  FAQ FAQ  Forum Search   Register Register  Login Login

How do you programatically change a document?

 Post Reply Post Reply
Author
Message / View First Unread Post
Fitz View Drop Down
Newbie
Newbie


Joined: 24 Nov 2008
Posts: 2
Post Options Post Options   Quote Fitz Quote  Post ReplyReply Direct Link To This Post Topic: How do you programatically change a document?
    Posted: 24 Nov 2008 at 7:39am
I am looking at using the XF Editor in a C# Windows Forms project to perform some drag and drop actions amongst other things. I have become stuck so hope that somebody can help. My problems are:-
 
1. Can you find and move the location of the caret or edit a selection, programmatically?
MoveCaretEnd and MoveCaretHome are not sufficient. I would like to be able to change the selection based on where the user clicks so that a paragraph is highlighted with one click. I need something like a selection/caret position property and set selection method.
 
2. Can you handle mouse events within the document?
The Mouse events are only fired from the container control and not the actual document area. When you click on a document none of the mouse events fire, you have to be over the "border" of the control to raise the events. The same is true of the drag and drop events.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.139 seconds.