There is a way to use 'Image u32' , which allows an unlimited number of gif's. The first image is 0 and counting up. Just need to make a few Gifs (i used irfan view for the example, 200/50px). the set 'theError' to the corresponding number, and maybe need to convert.
I had no time to make the example fancy
Code:
<labelframe text="Error TXT">
<font>("Helvetica",10)</font>
<hbox>
<label text="Error: "/>
<image name="err1" file="err1.gif"/>
<image name="err2" file="err2.gif"/>
<image name="info1" file="info1.gif"/>
<image name="message1" file="message1.gif"/>
<vbox>
<image_u32 halpin="selectimage" images="err1 err2 info1 message1"/>
</vbox>
</hbox>
</labelframe>
Code:
net Err-type-in theError => conv-s32-u32.0.in
net Err-type-out conv-s32-u32.0.out => pyvcp.selectimage