Changes

Jump to navigation Jump to search
1,023 bytes added ,  18:33, 27 August 2020
Line 133: Line 133:  
# As '''ImageBasePath''' enter the directory to your checkbox images, then click '''Save & Close'''.<br>[[File:New checkbox style.png]]
 
# As '''ImageBasePath''' enter the directory to your checkbox images, then click '''Save & Close'''.<br>[[File:New checkbox style.png]]
 
# Add the parameter "Do not allow E-mails" to your form and on the Properties pane, set '''Style''' to "Checkbox".<br>[[File:Set style to checkbox.png|600px]]
 
# Add the parameter "Do not allow E-mails" to your form and on the Properties pane, set '''Style''' to "Checkbox".<br>[[File:Set style to checkbox.png|600px]]
 +
 +
=== Configurable on/off images on a view ===
 +
 +
A similar function is also available on a view. This time, however, the images have to be called exactly as the options. For example, in the case of "Do not allow E-mails", the options are "Allow" and "Do Not Allow".
 +
 +
# Select '''Design > Images''' from the '''Project''' menu.
 +
# Add a new directory, for example "Checkbox".
 +
# Add two images to the directory, with the names "Allow" and "Do Not Allow", then click '''Save'''.<br>[[File:Two images.png]]
 +
# Edit the [[view]] of the Account entity.
 +
# Click '''Edit Styles''' and add a new image cell style, for example, "check".
 +
# As '''FormatString''', enter the directory, placeholder for image name, and the file extension, then click '''Save & Close'''.<br>[[File:New view style.png]]
 +
# Add the parameter "Do not allow E-mails" to your view and on the '''Properties''' pane, set '''Style''' to "check" and '''Kind''' to '''Image-DirectEdit'''.<br>[[File:Editing the view.png]]
 +
Result:
 +
::[[File:View checkbox in the app.png]]
    
== Dynamic images ==
 
== Dynamic images ==

Navigation menu