Hi all,
Does anyone know of a way to change the color options developers can choose from for elements in a dialog box? Im imagining there may be a file somewhere with hex codes that Venus uses to present the dropdown list of colors.
Hi all,
Does anyone know of a way to change the color options developers can choose from for elements in a dialog box? Im imagining there may be a file somewhere with hex codes that Venus uses to present the dropdown list of colors.
Just curious is there a particular reason you want to do this? Match dialog designs to your company colors?
Yeah this is the primary reason. Also, this would be nice to allow us to match colors used on other platforms.
There might be a Hamilton custom dialog template creator tool. Someone that used to work at my company created a custom dialog template that had our company logo. Makes it easy to replicate custom dialogs across methods.
Hi all,
There is a tool for creating a Custom Dialog Template, which can be downloaded at this link. Note that it is currently incompatible with VENUS 6; I will update this thread when a compatible version is released. Instructions on how to use the Template Creator software are included in the .zip.
The software requires generation of a .xaml file from the Custom Dialog Editor, which can be exported using the Export button along the top of the window:
This .xaml file, along with an image file, is used to create a .cdt file which is stored in the Hamilton\Config folder. These .cdt files allow template selection in the first window that pops up when calling a new Custom Dialog step:
Note that the Template Creator tool is not required to be able to use exported .xaml templates, as the files can be imported into new Custom Dialog commands using the Import button along the top of the Custom Dialog Editor window:
Alternatively, the Custom Dialog command can be copied/pasted directly in the Method Editor window as needed.
Thank you,
Dan
Hi Dan, any idea when this will be available for Venus 6? We’re stuck using the Vector dialog library for our custom dialogs, which is nice but fairly limited in terms of what a user can do within one window, so we’re hoping we can get a version of the custom dialog editor in Venus 6 soon. Thanks!
Hi @LordNorm,
There is currently no timeline for the template software compatibility updates for VENUS 6. That said, this shouldn’t stop you from using Custom Dialogs, as the instructions in my original post work in much the same way as a template does. Whether using the template software or not, a .xaml file will still need to be generated from an originally designed Custom Dialog. The difference is the template software will further create a .cdt file for choosing from the “Select a Template” window, while the raw .xaml can still be imported into a new Custom Dialog window to the same effect.
Thank you,
Dan