True!

pgSetWidget(PGDEFAULT, PG_WP_PASSWORD, '*', 0);

Is a better choice to avoid further problems.

-philippe



> Just a thought- it might be better to go ahead and use '*' instead of 1 
> for the parameter. Even though it's not implemented, that way existing 
> programs wouldn't break when it is implemented.
> 
> On 2002.01.18 09:52 Philippe Ney wrote:
> > Hi all,
> > I just added password support for the field widget. Use it as follow
> > 
> >   pgSetWidget(PGDEFAULT, PG_WP_PASSWORD, 1, 0);
> > 
> > Current restrictions:
> > - supported only by field widget
> > - display '*' instead of the typing char
> > 
> > In the future, it will support any char replacement, with something
> > like
> > 
> >   pgSetWidget(PGDEFAULT, PG_WP_PASSWORD, '#', 0);
> > 
> > and any widget that support a font parameter.

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to