4d / docs

Products Documentation
Creative Commons Attribution 4.0 International
6 stars 20 forks source link

Comment on: Picture #248

Open protee opened 2 years ago

protee commented 2 years ago

Enter your comment here: Hi, is it possible in the documentation to be more explicit about the "var:" syntax ? What about ? Somehow it is possible to use a form object syntax ? My goal is to be able to put some images for buttons not only from the component RESOURCES, or Form, but from host. Thanks

arnaud4d commented 2 years ago

the "var:" syntax only accepts a variable name; with this tag you can use a picture coming from anywhere, provided that is loaded in the variable. vPicture:=$ob.mypict Then for Pathname in the property list: "var:vPicture"

protee commented 1 year ago

Arnaud ! The question is not about how to do it, as it is explained in the doc. And using a process variable is just something to fully avoid.

What is not explained is the capacity to use a form object as a variable, like $form_237.

Cordialement,


Olivier Grimbert - Protée sarl, 31 rue Sainte-Marthe 31000 Toulouse • tél : +33(0) 970 465646 • mob : +33(0) 6 3718 5941 • skype : info-protee - www.protee.org Le 28 juil. 2022 à 14:36 +0200, arnaud-4d @.***>, a écrit :

the "var:" syntax only accept a variable name; with this tag you can use a picture coming from anywhere, provided that is loaded in the variable. vPicture:=$ob.mypict Then for Pathname in the property list: "var:vPicture" — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

arnaud4d commented 1 year ago

I'm not sure to understand what you want to know. "var:vPicture" is the only supported syntax with "var:" "var:$vpict" or "var:"Form.mypict" syntaxes are not supported. Thanks