Reply to thread

Hi,

I tested following:

I added a definition to common.time.xml, which is the first import in my BasicHome.xml:

[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<window>

 

<define>#submenu1.hyperlink1:30</define>

 

<controls>[/CODE]

 

BasicHome.xml imports BasicHome.submenus.xml and there is following control:

[CODE]<control>

        <description>SUB ITEM 0</description>

        <type>button</type>

        <id>20001</id>

        <label>#submenu1.label1</label>

        <width>300</width>

        <hyperlink>#submenu1.hyperlink1</hyperlink>

        <hyperlinkParameter>#submenu1.hyperlinkparameter1</hyperlinkParameter>

        <textureFocus>-</textureFocus>

        <textureNoFocus>-</textureNoFocus>

        <font>fontB14</font>

        <textcolor>FFFFFFFF</textcolor>

        <textalign>left</textalign>

        <textcolorNoFocus>60ffffff</textcolorNoFocus>

        <onleft>1900</onleft>

        <onright>1902</onright>

        <ondown>1901</ondown>

        <onup>#submenu1.label1.onup</onup>

        <visible allowhiddenfocus="true">[!string.equals(#submenu1.label1,)]+[control.isvisible(20000)]</visible>

        </control>[/CODE]

This does work here with and without property="true".

Also I figured out I will only need the property="true" attribute if I want to do some math like string.equal(#submenu1.hyperlink1)...


Top Bottom