Multipurpose Send Mail Form Builder

v2.0

 

Form design

List of subform groups (optional)

Here it declares groups of subforms. Group of subform mean only one of it in group is show at the same time on main form. Group of subform is similar to Group of RadioButtom.

To show many different subform type, declare different subform groups

This is optional part because user's form may not need subform.

This part is structured as following:

  • General structure of this part
<formlist>

   <formgroup>

        <form>

             [properties of subform]

        </form>

        <form>

             [properties of subform]

        </form>

        ... [other subform]

   </formgroup>

   <formgroup>

        <form>

             [properties of subform]

        </form>

        <form>

             [properties of subform]

        </form>

        ... [other subform]

   </formgroup>

   ... [other formgroup]

</formlist>

  • Properties of subform (corresponding to MSMF object)
Properties Optional Value type Default value Meaning
name No String @ Set name of form. Similar to name of other components, it must be unique in current main form. This name will be used when be called with action
x No Boolean @ X position on main form
y No String @ Y position on main form
xmlFile No String @ XML file that is designed for this subform. Because subform in fact is an MSMF object, it also need XML form file to create GUI for itself.

path to xmlFile can be relative or http link

Note: because all subforms will be loaded at startup, it may take long delay if many subforms are used in main form.

Example

With following general configuration (in XML file)

<!-- define subform -->
<formlist>
   <!--List of group form-->
   <!--1st group-->
   <formgroup>
      <!--List of form in Group. Only one of form in group is visible at the same time-->
      <form>
         <name>Grp1_Sample1</name>
         <x>120</x>
         <y>40</y>
         <xmlFile>assets/formXMLSample/Subform_Sample1/MSMF_Form1.xml</xmlFile>
      </form>
      <form>
         <name>Grp1_Sample2</name>
         <x>120</x>
         <y>40</y>
         <xmlFile>assets/formXMLSample/Subform_Sample1/MSMF_Form2.xml</xmlFile>
      </form>
      <form>
         <name>Grp1_Sample3</name>
         <x>120</x>
         <y>40</y>
         <xmlFile>assets/formXMLSample/Subform_Sample1/MSMF_Form3.xml</xmlFile>
      </form>
      <form>
         <name>Grp1_Sample4</name>
         <x>120</x>
         <y>40</y>
         <xmlFile>assets/formXMLSample/Subform_Sample1/MSMF_Form4.xml</xmlFile>
      </form>
   </formgroup>
   <!--2nd grp-->
   <formgroup>
      <!--List of form in Group. Only one of form in group is visible at the same time-->
      <form>
         <name>Grp2_Sample1</name>
         <x>10</x>
         <y>300</y>
         <xmlFile>assets/formXMLSample/Subform_Sample2/MSMF_Form1.xml</xmlFile>
      </form>
      <form>
         <name>Grp2_Sample2</name>
         <x>10</x>
         <y>300</y>
         <xmlFile>assets/formXMLSample/Subform_Sample2/MSMF_Form2.xml</xmlFile>
      </form>
      <form>
         <name>Grp2_Sample3</name>
         <x>10</x>
         <y>300</y>
         <xmlFile>assets/formXMLSample/Subform_Sample2/MSMF_Form4.xml</xmlFile>
      </form>
   </formgroup>
</formlist>

For more examples, see Examples

Back | Table of Contents | Next

 

Copyright © 2009 Best Flash Solutions, Inc. All rights reserved | Site map