[comp.windows.x.motif] Text Widget Motif Gurus Help

nazgul@alfalfa.com (Kee Hinckley) (06/10/91)

>    1) how can I make **ANY** Text widget in my form be the default input field 
> 	   when the form opens up?
Try setting a timeout and then using XmProcessTraversal or whatever
the 1.1 call is.  That might work.

>    2) How I can  show the current field (Text widget) in "reverse video" just
> 	   as in some PC data entry forms?
Reverse the foreground and background colors when it gets the focus.

>    3) How can I show two forms in the same application, so that each form 
> 	  is independent of one another? I tried using 2 top levels but the 
> 	  second top level COULD NOT BE CUSTOMIZED FROM my $XAPPLRESDIR!!!!
> 	  nor from my  .Xdefaults
Use a different name for the the toplevel widget.  We do this
in Poste so that you can customize (and position) composition and
browser windows separately.

> --Emuleomo O.O. (emuleomo@yes.rutgers.edu)
> -- 
> Remember! It doesn't matter if you win or lose, as long as you win!

Alfalfa Software, Inc.          |       Poste:  The EMail for Unix
nazgul@alfalfa.com              |       Send Anything... Anywhere
617/646-7703 (voice/fax)        |       info@alfalfa.com

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

emuleomo@paul.rutgers.edu (Emuleomo) (06/10/91)

Hi Motif Gurus,

I am using motif 1.0 to build a data entry form and I have a few 
problem areas

   1) how can I make **ANY** Text widget in my form be the default input field 
	   when the form opens up?

   2) How I can  show the current field (Text widget) in "reverse video" just
	   as in some PC data entry forms?

   3) How can I show two forms in the same application, so that each form 
	  is independent of one another? I tried using 2 top levels but the 
	  second top level COULD NOT BE CUSTOMIZED FROM my $XAPPLRESDIR!!!!
	  nor from my  .Xdefaults

Any help will be MOST appreciated.
Please E-mail

ThanX
--
--Emuleomo O.O. (emuleomo@yes.rutgers.edu)
-- 
Remember! It doesn't matter if you win or lose, as long as you win!