Xref: utzoo comp.windows.x:32525 comp.windows.open-look:562 Path: utzoo!censor!geac!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!samsung!rex!uflorida!mlb.semi.harris.com!trantor.harris-atd.com!trantor!chuck From: chuck@trantor.harris-atd.com (Chuck Musciano) Newsgroups: comp.windows.x,comp.windows.open-look Subject: Bug in XView NUMERIC_TEXT Item Message-ID: <5421@trantor.harris-atd.com> Date: 5 Feb 91 13:09:34 GMT Article-I.D.: trantor.5421 Sender: news@trantor.harris-atd.com Reply-To: chuck@trantor.harris-atd.com (Chuck Musciano) Organization: Advanced Technology Dept, Harris Corp, Melbourne, FL Lines: 27 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