Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
How does one get the cursor in a text widget to jump to the next input field when pressing CR? -------------------------------- | MIKE MATHEWS | | fskmjm@puknet.puk.ac.za | | | | ANTARCTIC RESEARCH GROUP | | PHYSICS DEPT | | POTCHEFSTROOM UNIVERSITY | | SOUTH AFRICA | | | | Phone: +27 (148) 992419 | | Fax : +27 (148) 992421 | ________________________________
In article 29@puknet.puk.ac.za, fskmjm@puknet.puk.ac.za (Mathews, MJ) writes: > How does one get the cursor in a text widget to jump to the next input field > when pressing CR? > -------------------------------- > | MIKE MATHEWS | > | fskmjm@puknet.puk.ac.za | ... I did the following: NAME = TAG_NAMES (EVENT, /STRUCTURE_NAME) CASE NAME OF "WIDGET_TEXT": BEGIN POS = WHERE ( T_EV EQ EVENT.ID ) POS = (POS(0) + 1) < (N_LIST-1L) WIDGET_CONTROL, T_EV(POS), /INPUT_FOCUS END ENDCASE where T_EV is a long-array with the events according to the different TEXT_WIDGETS. Karl ____________________________________________________________ __________________ __ ____ __ / // _ \ / / Karlheinz Knipp phone: +49 511 - 762 4922 / // /_/ // / University of Hannover fax: +49 511 - 762 2483 / // ____// / Institute for Photogrammetry / // / / / Nienburger Str.1 /_//_/ /_/ FRG 30167 Hannover 1 email: knipp@ipi.uni-hannover.de