Subject | Re: [IBO] TIB_SpinEditEnh OnChange event |
---|---|
Author | Geoff Worboys |
Post date | 2001-03-03T03:34:47Z |
> Geoff, this solution will only delay firing of the eventOr set up so that I check csLoading in the OnChange generator. I did
> but won't stop it. I think that components whose values
> are generated from the DFM don't call OnChange or an
> equivalent event. Would it work with a cheap solution?
> I mean assigning the OnChange property's value to a temp,
> then using "try", disabling the event, doing the value
> assignment and restoring the OnChange's
> value in the "finally" part?
think of trying something along these lines but I was a little
uncertain of the possible side effects. Not sure what or how, but it
seemed possible. Since the VCL does not explicitly prevent events
(but seems to rely on load order), I was reluctant to implement in
this manner.
Another possibility may be to simply change the DefineProperties
override so that I call inherited last instead of first. Not sure if
this would have the desired effect or not, I will have a play and see
what turns up.
Geoff Worboys
Telesis Computing