> Hi,
> It gives a message such that "Password property defined before font one
> ,switch
> them!".But it did not give that error message before.
> What does it mean ?
> Thanks...
You must downgrade your picogui src to an old version ... say ... last year. :-(
NO. I'm laughing...
This is due to the new password property for field widget.
To add password property to the field, the widget need to have a defined font.
Then if you want your field widget use password property _and_ you don't use the
default font for this widget, you have to define the font property first and then the
password one.
And the password property will add itself to the previous defined font.
use:
pgSetWidget(PGDEFAULT,
PG_WP_FONT,fnt_handle,
PG_WP_PASSWORD,'*'
0);
And _not_:
pgSetWidget(PGDEFAULT,
PG_WP_PASSWORD,'*'
PG_WP_FONT,fnt_handle,
0);
Maybe the error message isn't clear enough, but it's the best one that reach my brain
... :-)
-philippe
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel