home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sun-barr!news2me.EBay.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!spdev.East.Sun.COM!nitehawk!jdf
- From: jdf@nitehawk.East.Sun.COM (Jim Fiori - Special Projects)
- Newsgroups: comp.windows.open-look
- Subject: Re: XView Question: Changing Focus
- Date: 25 Jan 1993 14:16:22 GMT
- Organization: Sun Microsystems, Inc.
- Lines: 17
- Distribution: world
- Message-ID: <1k0snmINNfic@spdev.East.Sun.COM>
- References: <1993Jan22.212142.27485@tc.cornell.edu>
- Reply-To: jdf@nitehawk.East.Sun.COM
- NNTP-Posting-Host: nitehawk.east.sun.com
-
- In article 27485@tc.cornell.edu, fielding@theory.TC.Cornell.EDU (David L. Fielding) writes:
- >
- > How does one change the focus from a text field in one
- >panel to a text field in a different panel in the same window?
- >I'm using XView 3.0.
- >
- > xv_set (panel, PANEL_CARET_ITEM, another_item, NULL);
- > This code only works in the same panel.
- >
-
- Use the WIN_FOCUS attribute for the panel:
-
- xv_set (panel, WIN_FOCUS, PANEL_CARET_ITEM, another_item, NULL);
-
- Jim Fiori
-
-
-