Choose Color Programmatically

SiriosDev

New member
I searched a bit on this forum to no results, but I was wondering, is there a way to choose a color, for example that of pop up messages, through a variable? The workaround would be a brutal if-else, but it's not the best thing in the world. 😅

It's my first post on this forum, if something is wrong let me know
 

sampleuserhere

Active member
If it's not predefined, you can rely on UItask. It has colour dialog.

If it is then I guess you show the list with UItask as well.

Enable html and show a list separated with comma with the following format.

Red<#hex>,Blue<#hex>,Green<#hex>

To get the hex code, you just need extract the hex from the selected text with Text manipulation.
 
Top