Dialog tab order implementation

- Defaults to order of definition in file
- tab-order attribtue can be set to a postive number to force towards the start, or a negative number to force towards the end
This commit is contained in:
2014-11-29 16:03:54 -05:00
parent 6f9b5c8f69
commit 84f53a8a7d
4 changed files with 67 additions and 13 deletions

View File

@@ -163,6 +163,7 @@
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tab-order" type="xs:integer"/>
<xs:attributeGroup ref="rect"/>
</xs:complexType>
</xs:element>
@@ -284,5 +285,9 @@
<xs:attribute name="fore" default="black"/>
<xs:attribute name="defbtn" type="xs:IDREF"/>
</xs:complexType>
<xs:unique name="FieldTabOrder">
<xs:selector xpath="*" />
<xs:field xpath="@tab-order" />
</xs:unique>
</xs:element>
</xs:schema>