필터 지우기
필터 지우기

Display UNITS for an Edit Field in App Designer

조회 수: 7 (최근 30일)
M G
M G 2018년 5월 9일
댓글: Walter Roberson 2018년 5월 10일
App Designer edit fields (available from the Component Library) have an editable LABEL field, as well as the numerical input field. Currently, if the designer of the App wants to specify the Units which should be used for entering the data, the Label Field would have to include that information.
For example: WEIGHT OF THE GIZMO, KILOGRAMS ____ [where the __ represents the numerical field].
Is there a way to add a 2nd Label Field, so that the display in the app would have the Units after the numerical field, such as
WEIGHT OF THE GIZMO ____ ,KG [again, where the __ represents the numerical field]
  댓글 수: 4
M G
M G 2018년 5월 10일
Is there a prize??!
Walter Roberson
Walter Roberson 2018년 5월 10일
You are now entitled to edit your Community Profile to include the phrase, "I'm #400000!"

댓글을 달려면 로그인하십시오.

채택된 답변

M G
M G 2018년 5월 10일
편집: Walter Roberson 2018년 5월 10일
Thanks! I never thought to use the "Label" component, as the icon appears to make labels which are borderless, or floating, on the background of the App. In fact, it does produce a rectangular block just like the Edit Field component. Someone in MatLab development might want to tweak this component Icon to reflect that reality!
Thanks once again for your answer!
MG

추가 답변 (0개)

카테고리

Help CenterFile 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!

Translated by