chuck@trantor.harris-atd.com (Chuck Musciano) (02/05/91)
I have discovered that you cannot set the panel input focus (the caret)
to a specific numeric text item. Calls of the form
xv_set(panel, PANEL_CARET_ITEM, num_item, NULL);
remove the caret from the current item, but do not place it in the numeric
item.
I have traced this to a bug in the XView toolkit. Specifically, the
numeric text item is a regular text item with a wrapper to build and manage
the specific numeric text item features. When you try to set the caret to
a numeric item, the toolkit fails to extract the enclosed text item and set
the caret on the real text item.
Does anyone know of a workaround? Insufficient types are exported to the
programmer to extract the actual textitem pointer from the numeric text item.
--
Chuck Musciano ARPA : chuck@trantor.harris-atd.com
Harris Corporation Usenet: ...!uunet!x102a!trantor!chuck
PO Box 37, MS 3A/1912 AT&T : (407) 727-6131
Melbourne, FL 32902 FAX : (407) 729-3363
A good newspaper is never good enough,
but a lousy newspaper is a joy forever. -- Garrison Keillor