Does the SelectionType of uifigure not have effect anymore?

1 view (last 30 days)
I am trying a double click function in the uitable of R2019b. The SelectionType property does not care and just gives what was assigned to it on the startupfcn.
Is there any alternative in to this case?
Update:
I have attached test.zip App Designer files to try to reproduce it. Yes, it does not work. If you could suggest an alternative to identifying selection type?

Answers (1)

Rahul
Rahul on 17 Apr 2025
The 'DoubleClickedFcn' callback was introduced in MATLAB version R2022b. Hence if you wish to use that particular callback, you can consider to MATLAb version R2022b or a more recent release.
Alternatively, the 'SelectionType' property of 'uifigure' provides information about the last mouse button press that occurred in the UI figure. Hence if the mouse is clicked once and then the 'CellSelection' callback gets triggered, it would first show the 'SelectionType' of the first registered click.
The following MathWorks documentations can be referred to know more:
Thanks.

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!