« Quay về Foundation for Research and Technology - Hellas (FORTH)

RE: Change GRAPHREP attribute via AdoScript

Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
Change GRAPHREP attribute via AdoScript
graphrep adoscript
Câu trả lời
12:23 14/05/2018
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
Câu trả lời
12:44 14/05/2018 gửi bài phản hồi tới 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
Câu trả lời
07:00 25/07/2018 gửi bài phản hồi tới Mateusz Dziedzic.
Thanks for the answer. It worked well!