Zum Hauptinhalt gehen

Suche

Suche

Disable InputBoxes Based on DataSource Values

Kommentare

3 Kommentare

  • Avatar
    Shotaro Ito

    There's no control to enable / disable individual text input box. Instead you can show different form in condition.

    In BarTender 2016 Automation or above,

    On each form's property (left top) there's Show When: condition.

    You could specify condition such as

    Show Form 1 when

    Named data source A Equals "CAT"

    Show Form 2 when

    Named data source A Does Not Equal "CAT"

    Then on Form 2, set Input box C as read only, set back ground as gray and skip tab stop. 

    There's no method to control form in prior to Ver. 2016 in form property / VB Script.

    1
  • Avatar
    Christian Vargas

    I will try this tomorrow and report back. Thanks.

    0
  • Avatar
    Christian Vargas

    This worked perfectly. I creates a form that pulls up the order first. And then 2 forms after that one. One for a 10 pack order and one for a 20 pack order. And now using your method it will only show the Pack order form based on the order type which gets pulled on the initial form.

     

    Thank you!

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.