Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Turn Cursor to I while wanted to Add Text VObject
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Hi, By using the Aurigma Example, we can actually add textVobject to the multilayer viewer by click on the button and click on the design area again. but, now, the question is, how can I make it so, once I click on the button to add text, my cursor will become "I" and change to normal once it's added? Okay, that question is simple, where, when i click on the button, i just put Cursor.Current, then when it's added, change it back to default.... But, the tricky part is, if the user click on the add button, and decided to change to add something else, means cancel the "TextVObjectCreateDesigner"....I would prefer it to change back to default. Is there any good way to control this?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hi, What do you think about such method: subscribe to the DesignerChanged event and turn cursor to "I" each time when TextVObjectCreateDesigner is attached? |
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 3/3/2008(UTC) Posts: 185
Thanks: 8 times
|
Alex Kon wrote:Hi, What do you think about such method: subscribe to the DesignerChanged event and turn cursor to "I" each time when TextVObjectCreateDesigner is attached? Yes, to turn the cursor to I is simple, but, how could i change back to normal if TextVobjectCreateDesigner is being cancel? means that after I click on the "add text" button, and found that, actually i would like to add image, or do some other job... how could i detect is a textvobjectcreatedesigner is being cancel? Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
Hi, When any other designer except TextVObjectCreate designer is attached to the control. So, only when mouse click will cause text addition - cursor will be "I", in all other cases it will looks as arrow, or anything else what you wish. |
|
|
|
|
Aurigma Forums
»
Graphics Mill
»
Discussions – Graphics Mill
»
Turn Cursor to I while wanted to Add Text VObject
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.