Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!zephyr.ens.tek.com!tektronix!reed!intelhf!gleeson From: gleeson@hfglobe.intel.com (Gary Gleeson) Newsgroups: comp.windows.x.motif Subject: X Toolkit Warning : Invalid Columns, must be > 0 ? Message-ID: <1991May22.164017.23088@intelhf.hf.intel.com> Date: 22 May 91 16:40:17 GMT Sender: gleeson@intelhf.hf.intel.com (Gary Gleeson) Organization: Development Tools Operation, Intel Corp., Hillsboro, OR Lines: 29 Keywords: I am using a row-column widget with an array of 9 text widgets as siblings. The text widgets are arranged in VERTICAL orientation and set up in a tab group. I can tab between the text widgets without any problem, but when I add an event handler to the widget to highlight the colour when I enter the text widget I get the following X Toolkit Warning : X Toolkit Warning : Name : col2text Class: XmText Invalid Columns, must be > 0. This warning is at run-time only, and if I take the event handler out - the warning does not appear. I have based this code on a similar piece of code that I wrote for a row-column widget set-up with a HORIZONTALorientation, which works fine, changing the text widgets colours when I Focus-In on that particular text widget. I also cannot find this warning documented anywhere. Has anyone had anysimilar experience and what if any was the solution ? Interested to hear any solutions. Gary. ======================================================================= Gary Gleeson, Intel Corp. 5000 W. Chandler Blvd., Chandler, AZ 85226. phone : (602) - 554-3437. =======================================================================