Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problems with some events of some components
#1
Good afternoon, creating a simple Indy application working with Delphi 11.1 and IW15.2.51 I have noticed some problems with the components IWCheckBox, IWDBCheckBox, IWRadioButton and IWRadioGroup

For IWCheckBox and IWDBCheckBox
---------------------------------------

1.- The OnAsyncClick event is executed 2 times when we make a single click in the LABEL element of the component. It behaves normally when we make a single click on the INPUT element of the component.

2.- The OnAsyncEnter event does not work.

3.- The OnAsyncExit event does not work.

4.- The OnChange event behaves as an asynchronous event.

5.- The OnClick event does not change the state of the checkbox when we click on the LABEL element of the component. It behaves normally when we click on the INPUT element of the component.

For IWRadioButton
---------------------------------------------

1.- The OnAsyncChange event only works when the component is initially in UnChecked state and we click on it, it does not work if its state is changed asynchronously from another component, for example from a button, or when clicking on another IWRadioButton.

2.- The OnAsyncEnter event does not work.

3.- The OnAsyncExit event does not work.

4.- The OnClick event only works if we click on the INPUT element of the component. If we click on the LABEL element of the component, it changes its state (as if it were an asynchronous event) but the OnClick event is not executed.

For IWRadioGroup
------------------------------------------

1.-The OnAsyncChange event is only executed if we click on any of the items of the component. If we change the itemIndex from another component asynchronously, for example from a button, the index changes but the OnAsyncChange event is not triggered.

The OnClick event behaves as an asynchronous event if we click on the LABEL element of the component. It behaves normally if we click on the INPUT element of the component.

Please if someone could confirm this for an eventual correction I would be grateful.
Reply


Messages In This Thread
Some problems with some events of some components - by raulevm - 03-29-2022, 07:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)