Rank: Member
Groups: Guest
Joined: 9/7/2008(UTC) Posts: 19
|
Hi, I need help.
How to move and resize VObject programmatically in WinApp?
Regards.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
|
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Guest
Joined: 9/7/2008(UTC) Posts: 19
|
Thanks, but this is not exactly what I want. I want programmatically change vObject's size and position. For example: VObject target = ...; // get target object target.SetWidth(newWidth);
Now I use scaling to do that, but it doesn't work with TextVObject - font's size is scaling too.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Quote:Now I use scaling to do that, but it doesn't work with TextVObject - font's size is scaling too. Could you please explain what you mean and which behavior of TextVObject you expect? |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 9/7/2008(UTC) Posts: 19
|
I've attached sample screenshot for better understanding my task. There're VTextObject on MultilayerViewer and panel with this object's properties: width, heigth (marked with red on screenshot) and other. I need next: when user types new value for width or height - set programmatically this value in selected VTextObject. Please provide me code snippet how to do this. HabaHaba attached the following image(s):
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hello,
Thanks for your explanation. As far as I understand, you need to scale a text area only, leaving a text without scaling. Unfortunately, it is not possible. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Member
Groups: Guest
Joined: 9/7/2008(UTC) Posts: 19
|
Dmitry.Obukhov wrote:As far as I understand, you need to scale a text area only, leaving a text without scaling. Yes, you're right. Dmitry.Obukhov wrote: Unfortunately, it is not possible. It's not good :( Is it possible to implement this feature in next release?
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
I will report about to our developer team. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
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.