2 Replies Latest reply on Nov 4, 2016 1:40 PM by dhmc05

    Show row in a dialog based on the platform

    dhmc05

      In an export plug-in I use third party tool.

      The options the user can choose from depend on the platform used: Windows or Mac.

         f:row {
         f:edit_field {
         alignment = 'right',
         place_horizontal = 0.5,
         value = bind( 'mySetting' ),
         width_in_digits = 7,
         min = 0,
         precision = 0,
         },   
         visible = LrBinding.negativeOfKey( WIN_ENV ),
         },

       

       

      Question:

      I want to hide a section of the dialog:

      I know that the platform information is in the environment variable.

      I want to hide all the components in the row container when the platform is unequal to Windows.