Jump to content
Software FX Community

Re: Questions about Annotation objects


Software FX
 Share

Recommended Posts

1) Call AnnotateList.ClearSelection. This will clear any current selection

and will finish edition of text.

2) Not possible. THe Edit box contains a copy of the text and this is

obtained when the object becomes active.

3) No.

--

Frank

SFX

"Serge S. Spiridonoff" <sss@corbina.net> wrote in message

news:aTFs9dqFAHA.1920@sfxserver.softwarefx.com...

> Hi!

>

> Supppose I put a text or balloon annotation object on the chart. By

default

> its text is a string "Text".

> If I click inside the annotation object the Chart FX displays an edit box

> that allows me to change the object's text in-place.

> When I change the text via that edit box (say to "New text") the changes

are

> not reflected in the object's Text property until I click outside the

> object's box.

> That is,

> IAnnText pObject;

> pObject = ...

> pObject->Text returns "Text" not "New text"

>

> So the questions.

>

> 1) How to programmatically get the displayed object's text? Or how to tell

> the chart to simulate a click outside the active annotation object and

thus

> synchronize Text propery with the displayed text?

>

> 2) While the annotation object is being in-place edited and I

> programmatically change its Text property the changes are not reflected in

> the edit box. How to achive this?

>

> 3) Is any way to get a HWND of that edit box?

>

> Thanks in advance,

> Serge

>

>

>

>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...