Viir
(Michael Rätzel)
August 15, 2018, 5:02pm
13
Without:
I dont realy want to know if there is a info icon. Maby I can just suppose there are alwais here. So that I just click on entry without a region. I thing that if the were a parameter for mouse click to restrain a certain region it will do the job.
Exemple: We know the region of an entry. So we can pass a or some parameter that reduce by x,y,z,t the maximum of where the mouse click on height and length…
Yes, you can supply the API it a smaller region to click on, using the parameter called RegionReplacement
.
There is a code example of how to reduce the size of the region on the right side, so this should cover the case of the info icon. You can find the code at
I think reusing the sample from Ajout de certaines fonctionnalité - #11 by Arcitectus would be a good start:
using Bib3.Geometrik;
static MotionParam MouseClickWithRegionSubstituted(
IUIElement destination,
RectInt region,
MouseButtonIdEnum mouseButton,
int repetitionCount = 0) =>
new MotionParam
{
MouseListWaypoint = new[] { new MotionParamMouseRegion { UIElement = destination, RegionReplacement = region, } },
MouseButton = new[] { mouseButton },
MouseButtonRepetitionCount = repe…
2 Likes