Tagged: properties
- AuthorPosts
Hello, I will test your question in the next few days and get back to you.
Please be patient and thank you for your cooperation.ST<{"cmd_code":"set_visible","type":"widget","widget":"AlertText","visible":false}>ET
ST<{"cmd_code":"set_font_size","type":"widget","widget":"AlertText","state":"normal","size":32}>ET
ST<{"cmd_code":"set_color","type":"widget","widget":"AlertText","color_object":"bg_color", "color":00000000}>ETThere was a partial problem with your command, it has been modified for you, please test it with the above command.
If there are still problems please communicate with me.
Should the type be a widget or a label? When I send text I use type label and it works well.
ST<{“cmd_code”:”set_text”,”type”:”label”,”widget”:”AlertText”,”text”:”Sample Text”}>ET
But your modified commands use a type widget to update the label.
The commands you sent did not work either.
ST<{“cmd_code”:”set_visible”,”type”:”widget”,”widget”:”AlertText”,”visible”:false}>ET
Did nothing.
ST<{“cmd_code”:”set_font_size”,”type”:”widget”,”widget”:”AlertText”,”state”:”normal”,”size”:32}>ET
Did nothing.
ST<{“cmd_code”:”set_color”,”type”:”widget”,”widget”:”AlertText”,”color_object”:”bg_color”, “color”:00000000}>ET
Set the background color to white but I can’t seem to set it to any other color. what would the command be to set bg_color to red.
Also, how do I update text on a list item contained by another widget? I want to update alert_1 to alert_3 in the following data.
<label name=”AlertText” x=”225″ y=”386″ w=”282″ h=”82″ text=”Label” visible=”true” style:normal:font_size=”24″ style:normal:border=”none” style:normal:bg_color=”#ff4500″ style:normal:text_color=”#147a14″>
<list_item name=”alert_1″ x=”0″ y=”0″ w=”282″ h=”16″ text=”Alert 1″ style:normal:bg_color=”#1e90ff” style:normal:text_align_h=”left”/>
<list_item name=”alert_2″ x=”0″ y=”16″ w=”282″ h=”16″ text=”Alert 2″ style:normal:border=”none” style:normal:bg_color=”#90ee90″ style:normal:text_align_h=”left”/>
<list_item name=”alert_3″ x=”0″ y=”32″ w=”282″ h=”16″ text=”Alert 3″ style:normal:bg_color=”#1e90ff” style:normal:text_align_h=”left”/>
<list_item name=”alert_4″ x=”0″ y=”48″ w=”282″ h=”16″ text=”Alert 4″ style:normal:text_align_h=”left”/>
<list_item name=”alert_5″ x=”0″ y=”64″ w=”282″ h=”16″ text=”Alert 5″ style:normal:text_align_h=”left”/>
</label>Hello, can you send your test project to the email address of the person who sent you the tutorial on how to change your logo and we will test your problem once we receive it?
Thank you for your cooperation.- AuthorPosts
You must be logged in to reply to this topic.