ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Text object highlighting at moving of cursor
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

328 Posts

Posted - Nov 05 2015 :  17:07:28  Show Profile  Reply
How to switch off highlighting of text in the text object at moving cursor outside the text object?

This complicates the input text for editing, if the cursor is moved.
Text is highlighted, and all replaced during typing.

There is no issue with the memo object.

xequte

39100 Posts

Posted - Nov 08 2015 :  16:51:49  Show Profile  Reply
Hi

Sorry, I cannot reproduce that. Can you give me the steps?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Nov 09 2015 :  11:43:22  Show Profile  Reply
See attached video.
If you move cursor inside or outside the text object, all text is highlighted and typing replaces the entire text.

attach/graph_man/2015119114520_text_object_highlight.zip
91.19 KB
Go to Top of Page

graph_man

328 Posts

Posted - Nov 09 2015 :  11:47:57  Show Profile  Reply
Type text in the text object and move cursor inside and outside this area.
Go to Top of Page

xequte

39100 Posts

Posted - Nov 09 2015 :  14:41:36  Show Profile  Reply
Hi

Hmm, I still can't get that to occur. There must be a property that is different. Can you create a very small demo and email it to me.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Nov 10 2015 :  12:47:58  Show Profile  Reply
I have created a project and found workaround.
But I don't understand a reason of this issue.

I see the issue (subj) if I use

void __fastcall FormMain::ImageEnVect1MouseEnter(TObject *Sender)
{
ImageEnVect1->SetFocus();
}
Go to Top of Page

xequte

39100 Posts

Posted - Nov 10 2015 :  16:49:26  Show Profile  Reply
OK, you shouldn't do that. It triggers the text entry code.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Nov 10 2015 :  16:52:24  Show Profile  Reply
Why? I use this action for ImageEnVect, not for the text object.
Go to Top of Page

xequte

39100 Posts

Posted - Nov 10 2015 :  17:07:26  Show Profile  Reply
Hi

What are you trying to achieve? The TImageEnVect is already focused as it clicked?



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

graph_man

328 Posts

Posted - Nov 10 2015 :  18:05:46  Show Profile  Reply
I need this action at moving mouse from outside of ImageEn into EmageEn.
Go to Top of Page

graph_man

328 Posts

Posted - Nov 10 2015 :  18:08:29  Show Profile  Reply
I don't know why this event (ImageEnVect1MouseEnter) is triggered when editing text? and why this event does not have the same effect with the memo objects.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: