Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
Unchangeable strings
university of vienna - omilab
Câu trả lời
07:25 18/01/2018
Dear ADOxx Team
 
In my modelling method, I want to use pictures from a third party. The usage is allowed, but only if a reference to the creator or the licence is given. The shown picture depends on a class attribute. Therefore, I wanted to know if it is possible to show an unchangeable string in the notebook, which is also depended on the class attribute?
 
Thank you in advance.
 
Kind regards
Christian

RE: Unchangeable strings
attrrep attribute
Câu trả lời
14:28 18/01/2018 gửi bài phản hồi tới Christian Muck.
Dear Christian, 

in order to show an unchangeable String in the Notebook you can:
1) Create a class attribute and define the String, which should be unchangeable, as the Standard value of this created class attribute

2) Create an attribute and define the String, which should be unchangeable, as the Standard value of this created attribute + add “write-protected” in the AttrRep attribute of the class:f.e.: ATTR "NameOfCreatedAttribute" write-protected