bug-ncurses
[Top][All Lists]
Advanced

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

Re: Forms and catching keys


From: Dulek
Subject: Re: Forms and catching keys
Date: Mon, 25 Oct 2010 03:36:31 -0700 (PDT)

Thanks, it worked. :)

Got another question - is there a way to move to specified (x, y) position
inside field? I cannot find any in manual. Also - is there a way to obtain
cursor position in field?

Clemens Ladisch wrote:
> 
> Dulek wrote:
>> First one is with fields in ncurses forms. I want to create a field,
>> where
>> user can enter path to open. Unfortunately when I create it and enter
>> some
>> characters, I'm getting empty buffer with field_buffer function.
> 
> http://docsrv.sco.com/SDK_charm/_Setting_and_Reading_Field_Buffe.html
> says:
> | The function field_buffer always returns the correct value if the field
> | is not current. However, if the field is current, the function is
> | sometimes inaccurate because data is not moved to field buffer 0
> | immediately upon entry. You may rest assured that field_buffer is
> | accurate on the current field if
> | * it is called from the field check validation routine, if any
> | * it is called from the form or field initialization or termination
> |   routines, if any
> | * it is called just after a REQ_VALIDATION request to the form driver 
> 
> (Is that documented anywhere else?)
> 
> 
> Regards,
> Clemens
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-ncurses
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Forms-and-catching-keys-tp30042202p30046560.html
Sent from the Gnu - Ncurses mailing list archive at Nabble.com.




reply via email to

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