Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
HabaHaba  
#1 Posted : Friday, October 12, 2012 1:04:12 AM(UTC)
HabaHaba

Rank: Member

Groups: Member
Joined: 9/7/2008(UTC)
Posts: 19

Hi, I need help.

How to move and resize VObject programmatically in WinApp?

Regards.
p.shirykalova  
#2 Posted : Friday, October 12, 2012 1:29:45 AM(UTC)
p.shirykalova

Rank: Advanced Member

Groups: Member
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hi Sergey,

Please find a sample in this forum post.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
HabaHaba  
#3 Posted : Sunday, October 14, 2012 12:08:57 PM(UTC)
HabaHaba

Rank: Member

Groups: Member
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.
Dmitry.Obukhov  
#4 Posted : Sunday, October 14, 2012 7:45:11 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
HabaHaba  
#5 Posted : Monday, October 15, 2012 12:53:33 PM(UTC)
HabaHaba

Rank: Member

Groups: Member
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):
sample.png
Dmitry.Obukhov  
#6 Posted : Tuesday, October 16, 2012 1:18:22 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
HabaHaba  
#7 Posted : Thursday, October 18, 2012 11:43:13 AM(UTC)
HabaHaba

Rank: Member

Groups: Member
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?
Dmitry.Obukhov  
#8 Posted : Friday, October 19, 2012 2:22:18 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.
Users browsing this topic
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.