jhuikku@hawk.ulowell.edu (John Huikku CPE) (05/29/91)
When I set the XtNstring value of a textfield widget, I want to be able to see the end of the string without having to scroll right. I tried setting XtNcursorPosition and XtNdisplayPosition, which are listed for another widget type, but they did not work. Does anyone know how to do this? Thanks, --Rob. Please e-mail to rsilvers@sparky.ulowell.edu From: jhuikku@hawk.ulowell.edu (John Huikku CPE) Newsgroups: comp.windows.openlook Subject: Need help with olit textFieldWidget References: Sender: Followup-To: Distribution: world Organization: University of Lowell Computer Science, Lowell MA Keywords: When I set the XtNstring value of a textfield widget, I want to be able to see the end of the string without having to scroll right. I tried setting XtNcursorPosition and XtNdisplayPosition, which are listed for another widget type, but they did not work. Does anyone know how to do this? Thanks, --Rob. Please e-mail to rsilvers@sparky.ulowell.edu
Amy.Moore@Corp.Sun.COM (Amy) (05/31/91)
>> >> When I set the XtNstring value of a textfield widget, >>I want to be able to see the end of the string without having >>to scroll right. I tried setting XtNcursorPosition and >>XtNdisplayPosition, which are listed for another widget type, >>but they did not work. Does anyone know how to do this? In USL's OPEN LOOK 4.0 or Sun's OLIT2.5: The TextField widget is built using a TextEdit widget (which has the XtNcursorPosition and XtNdisplayPosition resources) - but to set those resources, you'll have to get the id of the textfield's TextEdit widget first...which you can access by doing a GetValues() for XtNtextEditWidget. Regards, Amy Moore aim@sun.com