<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <!-- <!DOCTYPE Movie SYSTEM "dtd/RVML.dtd"> --> <Movie version='6' width='600' height='600' rate='12' backgroundColor='white' compressed='No' xmlns="http://www.kineticfusion.org/RVML/2.0"> <Title> EditField Examples </Title> <Desc> Illustrates the EditField symbol and provides examples demonstrating the use of the EditField general attributes and the EditField properties attribute. </Desc> <Definitions> <FontDefinition id='Arial' fontName='Arial' fontStyle='(bold)' fontRange='defined' /> <EditField id='autoSizeTextField' bounds='bounds(0,0,0,0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, autosize)'> <InitialText>Autosized Text Field</InitialText> </EditField> <EditField id='truncatedTextField' bounds='bounds(-2,-2,70,12)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont)'> <InitialText>Truncated Text Field</InitialText> </EditField> <EditField id='trTextFieldMulti' bounds='bounds(-2,-2,70,32)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, border)'> <InitialText>Large Truncated Text Field</InitialText> </EditField> <EditField id='trTextFieldMultiWrap' bounds='bounds(-2,-2,70,42)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, border, wordWrap)'> <InitialText>Large WordWrap Text Field</InitialText> </EditField> <EditField id='lfTextField' bounds='bounds(-2,-2,70,32)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, border)'> <InitialText>Text Field
With LF</InitialText> </EditField> <EditField id='lfTextFieldAutoSize' bounds='bounds(-2,-2,70,32)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, border, autosize)'> <InitialText>Autosized Text Field
With LF</InitialText> </EditField> <EditField id='autoSizeTextFieldBorder' bounds='bounds(0,0,0,0)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, border, autosize)'> <InitialText>Autosized Text Field</InitialText> </EditField> <EditField id='truncatedTextFieldBorder' bounds='bounds(-2,-2,70,12)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='black' properties='(systemFont, border)'> <InitialText>Truncated Text Field</InitialText> </EditField> <!-- Examples of left margins--> <EditField id='asLeft0' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="0" properties='(systemFont, border)'> <InitialText>leftMargin = 0</InitialText> </EditField> <EditField id='asLeft1' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="-10" properties='(systemFont, border)'> <InitialText>leftMargin = -10</InitialText> </EditField> <EditField id='asLeft2' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="10" properties='(systemFont, border)'> <InitialText>leftMargin = 10</InitialText> </EditField> <EditField id='asLeft3' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="0" alignment="centre" properties='(systemFont, border)'> <InitialText>leftMargin = 0</InitialText> </EditField> <EditField id='asLeft4' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="-10" alignment="centre" properties='(systemFont, border)'> <InitialText>leftMargin = -10</InitialText> </EditField> <EditField id='asLeft5' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="10" alignment="centre" properties='(systemFont, border)'> <InitialText>leftMargin = 10</InitialText> </EditField> <EditField id='asLeft6' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="0" alignment="right" properties='(systemFont, border)'> <InitialText>leftMargin = 0</InitialText> </EditField> <EditField id='asLeft7' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="-10" alignment="right" properties='(systemFont, border)'> <InitialText>leftMargin = -10</InitialText> </EditField> <EditField id='asLeft8' bounds='bounds(-2, -2, 95, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='purple' leftMargin="10" alignment="right" properties='(systemFont, border)'> <InitialText>leftMargin = 10</InitialText> </EditField> <!-- Examples of right margins--> <EditField id='asRight0' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="0" properties='(systemFont, border)'> <InitialText>rightMargin = 0</InitialText> </EditField> <EditField id='asRight1' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="-10" properties='(systemFont, border)'> <InitialText>rightMargin = -10</InitialText> </EditField> <EditField id='asRight2' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="10" properties='(systemFont, border)'> <InitialText>rightMargin = 10</InitialText> </EditField> <EditField id='asRight3' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="0" alignment="centre" properties='(systemFont, border)'> <InitialText>rightMargin = 0</InitialText> </EditField> <EditField id='asRight4' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="-10" alignment="centre" properties='(systemFont, border)'> <InitialText>rightMargin = -10</InitialText> </EditField> <EditField id='asRight5' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="10" alignment="centre" properties='(systemFont, border)'> <InitialText>rightMargin = 10</InitialText> </EditField> <EditField id='asRight6' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="0" alignment="right" properties='(systemFont, border)'> <InitialText>rightMargin = 0</InitialText> </EditField> <EditField id='asRight7' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="-10" alignment="right" properties='(systemFont, border)'> <InitialText>rightMargin = -10</InitialText> </EditField> <EditField id='asRight8' bounds='bounds(-2, -2, 115, 14)' fieldName='' fontID='Arial' fontSize='10.0' color='blue' rightMargin="10" alignment="right" properties='(systemFont, border)'> <InitialText>rightMargin = 10</InitialText> </EditField> <!-- Line spacing symbols --> <EditField id='lsTest0' bounds='bounds(-2,-2,70,62)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='red' lineSpacing="-6" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF -spacing=-6</InitialText> </EditField> <EditField id='lsTest1' bounds='bounds(-2,-2,70,62)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='red' lineSpacing="0" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF -spacing=0</InitialText> </EditField> <EditField id='lsTest2' bounds='bounds(-2,-2,70,62)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='red' lineSpacing="2" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF -spacing=2</InitialText> </EditField> <EditField id='lsTest3' bounds='bounds(-2,-2,70,62)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' charLimit='0' color='red' lineSpacing="12" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF -spacing=12</InitialText> </EditField> <!-- Indentation with newlines --> <EditField id='inTest0' bounds='bounds(-2,-2,80,72)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' leftMargin="10" charLimit='0' color='green' indentation="0" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF over several lines-indent 0</InitialText> </EditField> <EditField id='inTest1' bounds='bounds(-2,-2,80,72)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' leftMargin="10" charLimit='0' color='green' indentation="-10" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF over several lines-indent -10</InitialText> </EditField> <EditField id='inTest2' bounds='bounds(-2,-2,80,72)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' leftMargin="10" charLimit='0' color='green' indentation="10" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field
With LF over several lines-indent 10</InitialText> </EditField> <!-- Indentation symbols with no LF--> <EditField id='inTest3' bounds='bounds(-2,-2,80,72)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' leftMargin="10" charLimit='0' color='green' indentation="0" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field With No LF over several lines-indent 0</InitialText> </EditField> <EditField id='inTest4' bounds='bounds(-2,-2,80,72)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' leftMargin="10" charLimit='0' color='green' indentation="-10" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field With No LF over several lines-indent -10</InitialText> </EditField> <EditField id='inTest5' bounds='bounds(-2,-2,80,72)' fieldName='' fontID='Arial' fontSize='10.0' alignment='left' leftMargin="10" charLimit='0' color='green' indentation="10" properties='(systemFont, border, wordWrap)'> <InitialText>Text Field With No LF over several lines-indent 10</InitialText> </EditField> <!-- Dynamic content and input--> <EditField id='dynTest0' bounds='bounds(-2,-2,80,32)' fieldName='dynValue' fontID='Arial' fontSize='10.0' charLimit='0' color='red' properties='(systemFont, border, wordWrap)'/> <EditField id='dynTest1' bounds='bounds(-2,-2,80,32)' fieldName='' fontID='Arial' fontSize='10.0' charLimit='0' color='red' properties='(systemFont, border, wordWrap, editable)'> <InitialText>Type Here- No LFs</InitialText> </EditField> <EditField id='dynTest2' bounds='bounds(-2,-2,80,32)' fieldName='' fontID='Arial' fontSize='10.0' charLimit='0' color='red' properties='(systemFont, border, wordWrap, editable, multiLine)'> <InitialText>Type Here And use LFs</InitialText> </EditField> <EditField id='dynTest3' bounds='bounds(-2,-2,80,32)' fieldName='' fontID='Arial' fontSize='10.0' charLimit='5' color='red' properties='(systemFont, border, wordWrap, editable)'> <InitialText>Type Here- Limit=5</InitialText> </EditField> <!--HTML and HTML input--> <EditField id='html0' bounds='bounds(-2,-2,80,32)' fieldName='' fontID='Arial' fontSize='10.0' charLimit='0' color='red' properties='(systemFont, border, wordWrap, html)'> <InitialText><![CDATA[Hello]]></InitialText> </EditField> <EditField id='html1' bounds='bounds(-2,-2,100,32)' fieldName='' fontID='Arial' fontSize='10.0' charLimit='0' color='red' properties='(systemFont, border, wordWrap, html, editable)'> <InitialText><![CDATA[<Font face="Times New Roman"><P ALIGN="RIGHT">Right Aligned text.<BR> <B>Bold</B></P></Font>]]></InitialText> </EditField> </Definitions> <Timeline> <Frame> <Place name="autoSizeTextField" depth="1" x="10" y="30"/> <Place name="truncatedTextField" depth="2" x="130" y="30"/> <Place name="trTextFieldMulti" depth="3" x="230" y="30"/> <Place name="trTextFieldMultiWrap" depth="4" x="315" y="30"/> <Place name="lfTextField" depth="5" x="395" y="30"/> <Place name="lfTextFieldAutoSize" depth="6" x="480" y="30"/> <Place name="autoSizeTextFieldBorder" depth="30" x="10" y="60"/> <Place name="truncatedTextFieldBorder" depth="31" x="140" y="60"/> <!-- Left margin examples --> <Place name="asLeft0" depth="41" x="10" y="100"/> <Place name="asLeft1" depth="42" x="120" y="100"/> <Place name="asLeft2" depth="43" x="230" y="100"/> <Place name="asLeft3" depth="44" x="10" y="120"/> <Place name="asLeft4" depth="45" x="120" y="120"/> <Place name="asLeft5" depth="46" x="230" y="120"/> <Place name="asLeft6" depth="47" x="10" y="140"/> <Place name="asLeft7" depth="48" x="120" y="140"/> <Place name="asLeft8" depth="49" x="230" y="140"/> <!-- Right margin examples --> <Place name="asRight0" depth="51" x="10" y="170"/> <Place name="asRight1" depth="52" x="130" y="170"/> <Place name="asRight2" depth="53" x="250" y="170"/> <Place name="asRight3" depth="54" x="10" y="190"/> <Place name="asRight4" depth="55" x="130" y="190"/> <Place name="asRight5" depth="56" x="250" y="190"/> <Place name="asRight6" depth="57" x="10" y="210"/> <Place name="asRight7" depth="58" x="130" y="210"/> <Place name="asRight8" depth="59" x="250" y="210"/> <!--Line spacing examples --> <Place name="lsTest0" depth="61" x="10" y="240"/> <Place name="lsTest1" depth="62" x="110" y="240"/> <Place name="lsTest2" depth="63" x="210" y="240"/> <Place name="lsTest3" depth="64" x="310" y="240"/> <!--Indentation examples --> <Place name="inTest0" depth="71" x="10" y="310"/> <Place name="inTest1" depth="72" x="110" y="310"/> <Place name="inTest2" depth="73" x="210" y="310"/> <Place name="inTest3" depth="74" x="310" y="310"/> <Place name="inTest4" depth="75" x="410" y="310"/> <Place name="inTest5" depth="76" x="510" y="310"/> <!-- Dynamic edit fields --> <Place name="dynTest0" depth="81" x="10" y="420"/> <Place name="dynTest1" depth="82" x="110" y="420"/> <Place name="dynTest2" instanceName="dyn2" depth="83" x="210" y="420"/> <Place name="dynTest3" depth="84" x="310" y="420"/> <!-- HTML edit fields --> <Place name="html0" depth="91" x="10" y="500"/> <Place name="html1" depth="92" x="110" y="500"/> <FrameActions>_root.dynValue=_root.dyn2.text;</FrameActions> </Frame> </Timeline> </Movie>