Does the SelectionType of uifigure not have effect anymore?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Rahul
2025-4-17
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:
'UI Figure Properties': https://www.mathworks.com/help/matlab/ref/matlab.ui.figure
Thanks.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!