Subject: | |
From: | |
Reply To: | |
Date: | Fri, 11 Feb 2005 16:32:53 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
In article <[log in to unmask]>, [log in to unmask]
says...
> The screen buffer is not read if a function key is pressed, only if enter
> is pressed. If the user pressed a function key, and you want to know the
> contents of the screen buffer, you have to force a read with VGETBUFFER.
Thanks for the replies - I know there isn't much point in running the
VFIELDEDITS when no buffer is present (as they hit a function key).
I'm trying to figure out how some customers code is working. In the
code sample I gave, you can see that there is no conditinal execution of
code. I think they do this is it's a generic library of calls but I
wrote a simple example program showing the behaviour.
Without the VSETERROR and without setting numerrs, I get an error from
VREADFIELDS (due to the required fields) whether I hit a function key or
enter.
With the VSETERROR and setting numerrs, I only get an error from
VREADFIELDS if enter is pressed.
Anyone know why?
Cheers
Peter
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|