0 Replies Latest reply on Nov 27, 2014 4:55 AM by AR_FC_Script

    INDD dialog default selection

    AR_FC_Script

      my script as below:

       

      with(myDialog){
      with(dialogColumns.add()){

                  with(borderPanels.add()){

                      with (dialogColumns.add()){

                         var my1 = checkboxControls.add({staticLabel:"01", checkedState:true});

                       }

                      with (dialogColumns.add()){

                         var my2 = checkboxControls.add({staticLabel:"02", checkedState:false});

                       }

                      with (dialogColumns.add()){

                         var my3 = checkboxControls.add({staticLabel:"03", checkedState:false});

                       }

                      with (dialogColumns.add()){

                         var my4 = checkboxControls.add({staticLabel:"04", checkedState:false});

                       }

                   }

                  with(borderPanels.add()){

                      with (dialogColumns.add()){

                       staticTexts.add({staticLabel:"Continue text:"});

                       var myText = dialogColumns.add().textEditboxes.add({editContents: ABC);

                       }

                   }

           }

      }

       

      How can I set the default selection is the checkboxControls 01??

      Since I used the textEditboxes, the default selection will be there.

      By the way, I don't wanna use the UI Win, anyone can help me?