Filter löschen
Filter löschen

Edit field numeric appdesigner

1 Ansicht (letzte 30 Tage)
Bárbara Matos
Bárbara Matos am 23 Mai 2022
Kommentiert: Bárbara Matos am 24 Mai 2022
Hello! Is there some way in appdesigner to have a variable after an edit field (numeric)?
For an example I see image 1. I want an edit field where the user knows that the value he choses is being multiplied with the variable X.
Is this possible? Thank you!

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 23 Mai 2022
I would use the Label component to add the '*X' to the right of the edit field.
  1 Kommentar
Bárbara Matos
Bárbara Matos am 24 Mai 2022
Thank you very much! I thought I could only use one uilabel per NumericEditField, but it makes sense! :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Voss
Voss am 23 Mai 2022
Yes. You can have two uilabels associated with that NumericEditField, one uilabel with Text 'Distance :' to the left of the NumericEditField and one uilabel with Text '*X' to the right of the NumericEditField.
Of course, it will be up to your code to do the correct operation (multiplying the input by X).
  1 Kommentar
Bárbara Matos
Bárbara Matos am 24 Mai 2022
Thank you very much! I thought I could only use one uilabel per NumericEditField, but it makes sense! :)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by