AnsweredAssumed Answered

vrf Setting Properties (color) of buttons, changing tab order

Question asked by papineni_vinod on Aug 14, 2004
Joel,

>From what little I know about VEE, my interpretation of VEE panel
behavior:

1. Generally, the focus is on the first object in the panel.
   (object order determined left -> right and top -> bottom)

2. When present, data input objects like Constants, Sliders, Toggles,
Selection, etc., have priority over "OK" object and will get the focus
irrespective of their position relative to the OK object(s).

I am not into VEE7 yet, but as Mike pointed out you could probably
define the order in VEE7.

-Vinod

--- "DUNSMORE,JOEL (A-Sonoma,ex1)" <joel_dunsmore@agilent.com> wrote:

> Hello Vinod,
>      Great Solution!
>
> I've just one "funny" which I don't understand. I was using toggle
> controls, which I changed to (OK) buttons. (I also have some other
> check boxes). When I change the tab order, the tabbing works fine.
> But the first time the panel comes up, the other check boxes have the
> focus.  Any idea why this would not respond to the set tab orders. I
> worked around this by adding 4 tabs at the beginning...but odd.  I've
> attached the modified program so you can see it too.  Delete the 4
> tabs to see the original behavior.
>
> Joel
> -----Original Message-----
> From: Vinod [mailto:papineni_vinod@yahoo.com]
> Sent: Thursday, August 12, 2004 11:29 PM
> To: VRF
> Subject: [vrf] Re: Setting Properties (color) of buttons, changing
> tab
> order
>
>
> Sorry, here is the attachment...
>
> --- Vinod <papineni_vinod@yahoo.com> wrote:
>
> > Joel,
> >
> > The attached example changes the tab order but not the colors. You
> > could modify this with the concept from Mike Grove's example to
> > change
> > color.
> >
> > -Vinod
> >
> > --- "DUNSMORE,JOEL (A-Sonoma,ex1)" <joel_dunsmore@agilent.com>
> wrote:
> >
> > > Hi Guys,
> > >     I have a User Object in a program with 4 buttons: "Meas
> Open",
> > > "Meas Short", "OK", "Cancel".  They're all in one big "repeat
> until
> > > break", with the OK going to the break, the cancel going to stop,
> > and
> > > the other two doing useful things. (They're all in a repeat so
> that
> > > the open can be repeatedly measured without starting over).
> > > 
> > > This Object pops its panel view when activiated.  The tab order
> is
> > > Meas Open first.  What I'd like to do is change the focus the
> "OK"
> > > key after either meas key has been pressed, and change the color
> of
> > > the OK key to green.  I can go into the button and change it
> > > permanently, but how to do it programatically?.  Also the tab
> > order,
> > > can I change the object tab order (or just as good, "fake a tab")
> > to
> > > get the focus on OK, after the first measurement?
> > > 
> > > Thanks, Joel
> > >



     
          
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes