Re: Default Focus?

Illini1970@aol.com
Tue, 25 Jun 1996 09:02:43 -0400

Hi Jerry,

You can use HINT_DEFAULT_FOCUS on any object. If you want a certain object
to become the focus at a given point in the user's interaction you can juat
send that object MSG_META_GRAB_FOCUS_EXCL.

For both these to work you need to make sure that the VisText object is, in
fact, focusable, selectable and editable. You might want to try this for the
VisText:
VTI_state = @default | VTS_SELECTABLE | VTS_EDITABLE;
and this for the view:
GVI_attrs = @default | GVA_FOCUSABLE;

John ;-)