組合檢視 平均檢視 瀏覽樹狀資料
相關串連 [ 前一個 | 下一個 ]
toggle
Change GRAPHREP attribute via AdoScript
graphrep adoscript
答覆
2018/5/14 下午 12:23
Is there a way to modify a GRAPHREP attribute (eg. change the background color of the exact object that invokes the call) via AdoScript?

RE: Change GRAPHREP attribute via AdoScript
graphrep aval attribute adoscript adoxx set_attr_val
答覆
2018/5/14 下午 12:44 作為回覆給Nena Basina
Dear Nena,

you can use the SET_ATTR_VAL method to set/change the value of an attribute via AdoScript. Thus, e.g. to change the background color of an object you can create an attribute for the color and use the value of this attribute in the GraphRep code. Consequently, every time you change the value of the attribute using AdoScript (SET_ATTR_VAL method) the graphical representation of the object will also change (or in this case the color of the object).

RE: Change GRAPHREP attribute via AdoScript
答覆
2018/7/25 上午 7:00 作為回覆給Mateusz Dziedzic
Thanks for the answer. It worked well!