Re: Cursor and Caret
- From: Leo Van den Brande <leo_van_den_brande@xxxxxx>
- To: ftcdev@xxxxxxxxxxxxx
- Date: Thu, 22 Nov 2007 01:06:41 +0100
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.
- Follow-Ups:
- Re: Cursor and Caret
- From: Leo Van den Brande
- References:
- Cursor and Caret
- From: Leo Van den Brande
- Re: Cursor and Caret
- From: Brendan Murphy
- Re: Cursor and Caret
- From: Leo Van den Brande
- Re: Cursor and Caret
- From: Brendan Murphy
Other related posts:
- » Cursor and Caret
- » Re: Cursor and Caret
- » Re: Cursor and Caret
- » Re: Cursor and Caret
- » Re: Cursor and Caret
- » Re: Cursor and Caret
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.
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/ftcdevUnsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in the subject field.
- Re: Cursor and Caret
- From: Leo Van den Brande
- Cursor and Caret
- From: Leo Van den Brande
- Re: Cursor and Caret
- From: Brendan Murphy
- Re: Cursor and Caret
- From: Leo Van den Brande
- Re: Cursor and Caret
- From: Brendan Murphy