[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: field_opts_off bug??
From: |
Thomas Dickey |
Subject: |
Re: field_opts_off bug?? |
Date: |
Wed, 21 Jul 2010 06:45:28 -0400 (EDT) |
On Wed, 21 Jul 2010, pcazallas wrote:
Trying to switch off the flag O_ACTIVE in some fields of a form, after
calling post_form, all the fields become inactive, except the first one.
perhaps/perhaps not - there's some state-sensitivity in forms,
where for example you have to force it to revalidate.
I've seen some cases where it seems to be a problem, but then
found that it behaves the same as the original form library.
So a (short) test-program demonstrating the problem would be
helpful.
This is the code:
field_opts_off(aField[0], O_ACTIVE); // this doesn't work
field_opts_off(aField[1], O_ACTIVE); // this works fine
field_opts_off(aField[2], O_ACTIVE); // this works fine
What could be the problem??
Do I need to call any other function after doing that??
Thanks in advance,
Pablo Cazallas.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net