Re: Cursor and Caret

Brendan Murphy wrote:
Leo Van den Brande wrote:

1. After saving an RTF doc as XML, similar to the save method in the demo but with a few preparative actions, the cursor does not reappear and it does not reappear on mouse click either (the position is registered though and I can see something in a flash).

I can't tell what is happening from your description. As you said,
the demo application works fine, so the obvious question is, are
the "preparative actions" affecting the control?


No, just preparing the path, moving the previous version to a backup folder and saving a text file. I traced the demo but I lost track there. Can you give me a hint?


Another cause of this might be that the control has lost the focus
which will turn off the insertion caret. After you complete your
saving operation, try setting the focus back to the control and
see if it makes a difference.


I had tried that, but it had no effect. Other actions: .fullupdate and simply 
.show, as attempts to force the system to prepare itself for a next action, 
where of no avail either.
I understand that it is not really possible to guess what the problem may be in 
view of its embedding in a rather complex context. Unless you or others have 
different ideas, as a next move, I'll incorporate the relevant code into the 
demo. That may perhaps unveil something.

Leo

FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in the subject field.




--
Leo Van den Brande J.Buziaulaan 61
3584 ZT Utrecht
Tel: (+31) 30 2511767
Fax: (+31) (0)84 756 5233

FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.


Other related posts: