LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot change control

Hi,

I have a binary control in a UIR. I'm able to change it's value
(position) in the uir edit window without any problem.

When I run the project, I cannot change the switch position anymore
with my mouse.
I checked evrything and cannot see any problems. I've never seen this
before.
(Win 98 CVI 5.0)

Any hints?
Thanks
Urs
0 Kudos
Message 1 of 4
(3,502 Views)
Some possible reasons :
- The control-mode is set to 'indicator'
- You didn't call RunUserInterface()
- You did call RunUserInterface(), but then you started a loop out of an
event, and forgot to call ProcessSystemEvents() within the loop.

Check this and tell us, if you succeeded or if you need more information !

Regards,
Manfred

urs schrieb in im Newsbeitrag:
e5cb2278.0108130121.e34e6ef@posting.google.com...
> Hi,
>
> I have a binary control in a UIR. I'm able to change it's value
> (position) in the uir edit window without any problem.
>
> When I run the project, I cannot change the switch position anymore
> with my mouse.
> I checked evrything and cannot see any problems. I've never seen this
> before.
> (Win 98 CVI 5.0)
>
> Any hin
ts?
> Thanks
> Urs
Message 2 of 4
(3,502 Views)
Thanks for the hints, Manfred

The Switch is on control mode 'hot'.
The application is running and I'm able to change all the other cotnrols on
the same panel.

So there must be another problem ?!
Urs

Manfred Schininger schrieb:

> Some possible reasons :
> - The control-mode is set to 'indicator'
> - You didn't call RunUserInterface()
> - You did call RunUserInterface(), but then you started a loop out of an
> event, and forgot to call ProcessSystemEvents() within the loop.
>
> Check this and tell us, if you succeeded or if you need more information !
>
> Regards,
> Manfred
>
> urs schrieb in im Newsbeitrag:
> e5cb2278.0108130121.e34e6ef@posting.google.com...
> > Hi,
> >
> > I have a binary control in a UIR. I'm able to change it's value
> > (po
sition) in the uir edit window without any problem.
> >
> > When I run the project, I cannot change the switch position anymore
> > with my mouse.
> > I checked evrything and cannot see any problems. I've never seen this
> > before.
> > (Win 98 CVI 5.0)
> >
> > Any hints?
> > Thanks
> > Urs
0 Kudos
Message 3 of 4
(3,502 Views)
If you like, you can send me a piece of code and the .uir, to take a look on
it !

Regards,
Manfred

aritron schrieb in im Newsbeitrag:
3B78C5FB.6A0B9CA@my-dejay.com...
> Thanks for the hints, Manfred
>
> The Switch is on control mode 'hot'.
> The application is running and I'm able to change all the other cotnrols
on
> the same panel.
>
> So there must be another problem ?!
> Urs
>
> Manfred Schininger schrieb:
>
> > Some possible reasons :
> > - The control-mode is set to 'indicator'
> > - You didn't call RunUserInterface()
> > - You did call RunUserInterface(), but then you started a loop out of an
> > event, and forgot to call ProcessSystemEvents() within the loop.
> >
> > Check this and tell us, if you succeeded or if
you need more information
!
> >
> > Regards,
> > Manfred
> >
> > urs schrieb in im Newsbeitrag:
> > e5cb2278.0108130121.e34e6ef@posting.google.com...
> > > Hi,
> > >
> > > I have a binary control in a UIR. I'm able to change it's value
> > > (position) in the uir edit window without any problem.
> > >
> > > When I run the project, I cannot change the switch position anymore
> > > with my mouse.
> > > I checked evrything and cannot see any problems. I've never seen this
> > > before.
> > > (Win 98 CVI 5.0)
> > >
> > > Any hints?
> > > Thanks
> > > Urs
>
0 Kudos
Message 4 of 4
(3,502 Views)