<Password>

The Password tag renders as a single-line text input box at run time that masks user input so that passwords and other sensitive data isn't viewable by others looking at the screen.

Syntax

<Password
    AccessKey="string"
    BackColor="color name|#dddddd"
    BorderColor="color name|#dddddd"
    BorderStyle="NotSet|None|Dotted|Dashed|Solid|Double|Groove|Ridge| Inset|Outset"
    BorderWidth="size"
    CssClass="string"
    DataField="string"
    DataType="string|int32|int64|boolean|...."
    Font-Bold="True|False"
    Font-Italic="True|False"
    Font-Names="string"
    Font-Overline="True|False"
    Font-Size="string|Smaller|Larger|XX-Small|X-Small|Small|Medium| Large|X-Large|XX-Large"
    Font-Strikeout="True|False"
    Font-Underline="True|False"
    ForeColor="color name|#dddddd"
    Height="size"
    ID="string"
    MaxLength="integer"
    Nullable="True|False"
    ReadOnly="True|False"
    Style="string"
    TabIndex="integer"
    ToolTip="string"
    Visible="True|False"
    Width="size"

/> 
 

Remarks

If no value is supplied for the "datatype" attribute, a data type of string is assumed.

Back to top

Example

<addform>
  ...
  <table>
    <tr>
      <td>
        <label for="txtFirstName" text="First Name" />
        <textbox id="txtFirstName" datafield="FirstName" datatype="string" />
       </td>
    </tr>
    <tr>
       <td>
         <label for="txtPassword" text="Enter your password" />
         <password id="txtPassword" datafield="Password" datatype="string" />
       </td>
    </tr>
    <tr>
       <td colspan="2">
         <addbutton text="Add"/> <cancelbutton text="Cancel"/>
       </td>
    </tr>
  </table>
</addform>
Back to top