bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: E_CURRENT


From: Thomas Dickey
Subject: Re: E_CURRENT
Date: Wed, 21 Jan 2004 19:47:56 -0500
User-agent: Mutt/1.5.4i

On Wed, Jan 21, 2004 at 08:15:24AM +0000, Mike Aubury wrote:
> I've got a form that I've posted, and I need to change the field opts of 
> one/all  of the fields (I need to set it to be non-static)..
...
> So - is there a way to say there is no current field ?
> Do I have to unpost/change/repost & repopulate or something ?

Reading the code: set_current_field() looks like it would allow you to
set it with a different field (not null) if the form is not posted.  But
as I read your description it is posted.  And unpost_form() will erase it
from the screen - probably not what you want.  But it doesn't necessarily
repaint the screen, so you probably could make a function that did the
juggling, saving/restoring the information to get the screen back without
a repaint.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]