numeric text box control

dogulas
2025-10-02
2025-10-02
  • dogulas - 2025-10-02

    I am using TargetVisu in my v3.5 sp20 p6 (64-bit) project. I see no control that will allow me to bind, edit, and display a LREAL variable. Am I missing a library? If it exists, why can't I see it?

     
  • dogulas - 2025-10-02

    Ok, this is how I made a numeric text field:

    • use a Text Field
    • properties -> Texts -> Text := %f (or %d or whatever you need)
    • properties -> Text variables -> Text variable := (your numeric variable)
    • properties -> Input configuration -> OnMouseDown -> Configure:
      • Write Variable
        • Input type := VisuDialogs.Numpad
        • Use another variable
          • (your numeric variable)
        • Min val
        • Max val
        • etc.

    Please tell me there is an easier way to do this.

     

Log in to post a comment.