在形状数据和图形表示之间同步数据 [英] Synchronizing data between shape data and graphic representation

查看:85
本文介绍了在形状数据和图形表示之间同步数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,首先,我使用的是Visio 2007,但找不到合适的类别。我的问题如下:

Hi, first of all, I am using Visio 2007 but couldn't find a suitable category. My problem is the following:

我有一个主形状,附有一些形状数据。一个数据(一个简单的字符串)以图形方式表示在形状上。更改"形状数据窗口"中的值显然,改变了形状上显示的文字。但是,反过来可以这么做吗?我想更改形状上的文本(通过双击形状并键入其他内容)并使形状数据中的相应值也更改。我尝试使用SETF函数:

I have a master shape that has some shape data attached to it. One piece of data (a simple string) is graphically represented on the shape. Changing the value in the "shape data window" changes the text shown on the shape, obviously. But is it possible to do it the other way around? I want to change the text on the shape (by double clicking on the shape and typing something else) and have the corresponding value in shape data change as well. I've tried to do it with a SETF function:

SETF(GETREF( Prop.row地址),SHAPETEXT(TheText))。

SETF(GETREF(Prop.row address),SHAPETEXT(TheText)).

问题是,当我把这个函数放在"TheText"中时事件,它说该函数是指自己(显然),因此,它产生一个错误。除此之外,我认为它无论如何都不会起作用,因为将此函数放在
的任何地方也不起作用。我认为这是"SHAPETEXT(TheText)"。位不正确。

The problem is, when I am putting this function in the "TheText" event, it says that the function is referring to itself (obviously) and, thus, it produces an error. Apart from that, I think it wouldn't work anyway since putting this function anywhere else doesn't work either. I thing this "SHAPETEXT(TheText)" bit is not correct.

有没有办法实现我的目标?理想情况下,我希望每次直接在形状上更改文本时都会刷新形状数据值。

Is there any way to achieve my goal? Ideally, I would want the shape data value to refresh every time when I am changing the text directly on the shape.

推荐答案

您好PH92 ,

Hi PH92,

感谢您访问我们的论坛。

Thanks for visiting our forum.

>>理想情况下,我希望每次直接在形状上更改文本时都会刷新形状数据值。

>> Ideally, I would want the shape data value to refresh every time when I am changing the text directly on the shape.

如果可能,请您通过OneDrive分享样本图表(< a href ="https://onedrive.live.com/"> https://onedrive.live.com/ 并在此处粘贴链接,然后我们可以更好地了解您的要求以及我们的社区成员是b $ b熟悉这个可以相应地分享他们的建议吗?  

If possible, could you please share a sample drawing via OneDrive (https://onedrive.live.com/ ) and paste a link here then we can understand better about your requirement and our community members who might be familiar with this can share their suggestions accordingly?  

最好的问候,

Yuki Sun

Best regards,
Yuki Sun


这篇关于在形状数据和图形表示之间同步数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆