Text Box P Directive

Syntax

%P%

Description

The P directive allows hides the input to the text box, allowing it to be used to accept passwords.

Example

DIM SHARED U_Name as C
DIM SHARED U_Pass as C
DIM SHARED varC_result as C
ok_button_label = "&Accept"
cancel_button_label = "&Cancel"
varC_result = ui_dlg_box("Logon",<<%dlg%
{ymargin=.5,1}
{xmargin=2,1.5}
{frame=1,1}{region2};
{font=MS Sans Serif,11}{justify=right} User Name:|{justify=left} [.30U_Name];
{ysize=.5};
{justify=right}Password:| [%p%.30U_Pass];
{endregion2}|{sp}|
{region3};
{sp=1}{font=MS Sans Serif,8}<*10,1.5=ok_button_label!OK>;
{ysize=.25}
<10,1.5=cancel_button_label!CANCEL>;
{endregion3}
%dlg%)

Thanks To: 

Jerry Brightbill

See Also