Respondido
Enumerations in Xml
How can I create an enumeration that if I pass the value 1 is equal to Yes and if I pass the value 2 is equal to No, all this in XML code.
How can I create an enumeration that if I pass the value 1 is equal to Yes and if I pass the value 2 is equal to No, all this in XML code.
In Schema, with the above mentioned enum structure, try the same by replacing the enum attribute as below (defining type as byte)
<enumeration basetype="byte" name="myEnum">
<value label="Yes" name="yes" value="1"/>
<value label="No" name="no" value="2"/>
</enumeration><attribute enum="myEnum" label="My Enum" name="abcd" type="byte"/>
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.