I think, one reason why its not possible to read the values of controls out
of eventdatas is that control values can have various data types like
integer, double or even strings. But the eventdata fields are always
integers !
Read more about events and eventdatas in the online-help :
"User Interface Library / Events / List of Events / ..."
Regards,
Manfred
urs schrieb in im Newsbeitrag:
3B78C878.58DEF77A@my-dejay.com...
> Manfred,
> thanks for the information.
> So it is a fact that the value of the control is in one of the parameters
of
> the callbackfunction ?
> Would this not be a nice feature?
> Urs
>
> Manfred Schininger schrieb:
>
> > Look into userint.h and search for the #defines of the EVENTs (e.g.
> > EVENT_NON
E, which is the first).
> > In the comments after the defines are the descriptions of the
eventdatas.
> >
> > Regards,
> > Manfred
> >
> > urs schrieb in im Newsbeitrag:
> > e5cb2278.0108122357.492eda25@posting.google.com...
> > > hi,
> > >
> > > I could not find any informations about the eventdata which are
> > > defined in a callback function (automatically defined from uir).
> > >
> > > I'm wondering what they should be used for.
> > > Often in my applications I have a callback (EVENT_VAL_CHANGED)where I
> > > need the value of the changed numeric control.
> > > Why is this new value not transmitted automatically?
> > >
> > > So I always need getCtrlVal??
> > >
> > > Best Regards
> > > Urs
>