guillaume
13 years agoContributor
WinForm.ComboBox ClickItem raises an "out of window bounds" exception.
Hi.
I am using TC 8.70.
I called ClickItem function on a WindowsForms10.COMBOBOX component.
The parameter passes is a string that matches the first item of the list.
At run time, the event fails :
There was an attempt to perform an action at point (-720, 817), which is out of the window bounds.
The window size is (144, 42); screen rectangle: the left top corner is (0, 21), the right bottom corner is (143, 62).
The screen coordinates of the point is (-720, 838).
The funny thing is that the item was actually selected...
Any idea ?
I am using TC 8.70.
I called ClickItem function on a WindowsForms10.COMBOBOX component.
The parameter passes is a string that matches the first item of the list.
At run time, the event fails :
There was an attempt to perform an action at point (-720, 817), which is out of the window bounds.
The window size is (144, 42); screen rectangle: the left top corner is (0, 21), the right bottom corner is (143, 62).
The screen coordinates of the point is (-720, 838).
The funny thing is that the item was actually selected...
Any idea ?