Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problems with some events of some components
#5
> The problem occurs when I want to insert code in the OnAsyncChange and OnClick events simultaneously

Can you please elaborate what's your use case here?

As I mentioned in my response this is the rule of thumb regarding CheckBoxes:

- If you want to respond to state change (checked/unchecked), OnChange/OnAsyncChange are the events you must use.

- If you want to respond to mouse clicks over the control (regardless of the state), OnClick/OnAsyncClick are the events you must use

I'm curious to know what's your use case where you need to use both... (and yes, they both work)
Reply


Messages In This Thread
RE: Some problems with some events of some components - by Alexandre Machado - 04-02-2022, 10:27 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)