Kbase 16157: How the cursor is implemented in V7 / V8 TTY CHARACTER mode
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
How the cursor is implemented in V7 / V8 TTY CHARACTER mode
This knowledgebase applies to CHARACTER-MODE (TTY) clients
only. It does *not* apply to MS-Windows or Motif.
When widgets were implemented in event-driven PROGRESS
(Version 7 and subsequent) it became necessary to modify cursor
behavior slightly from what was seen in Version 6.
Under some conditions, there can be two cursors in Version 7:
the one that the hardware knows about and the one that the user
sees. This dual-cursor effect arises when it is necessary to
signify widget focus with something other than the standard
hardware cursor. One example is the selection list, where a
highlight bar is used to indicate focus. In such cases,
it is necessary to create the highlight bar and "hide" the
hardware cursor elsewhere. What PROGRESS does is turn off
the hardware cursor and place it in the lower righthand
corner of the screen. When focus leaves the widget, the
cursor will then be handled in the manner appropriate to the
next widget to get focus.
Widgets such as fill-ins use the standard hardware cursor to
denote focus, so no such cursor hiding is needed.
If a user reports that the hardware cursor is appearing in the
lower righthand corner when focus is actually on a widget in
the interface, the first thing to check is whether the user
is running character-mode PROGRESS on an unsupported
terminal. The unsupported terminal may be refusing PROGRESS's
request to turn off the cursor or is turning it back on
when the cursor position is queried.
Progress Software Technical Support Note # 16157