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!