multi-line dialog

multi-line dialog

2
NewbieNewbie
2

    Apr 03, 2007#1

    hello

    Could anyone tell me how I can pop a multi-line dialog
    when using getValue, getString function?

    like,
    Insert value : \n 1. list \n 2. run \n 3. summary

    6,675585
    Grand MasterGrand Master
    6,675585

      Apr 03, 2007#2

      Not possible. You have to ask the user 3 times and make the necessary cursor movements between the questions to insert the answers into the file in the format you want or you save the answers in 3 variables and join it later in the format you want.
      Best regards from an UC/UE/UES for Windows user from Austria

      21
      Basic UserBasic User
      21

        Apr 03, 2007#3

        Define a splitsequence and split the input.

        Code: Select all

        var splitsequence = "@";
        var myTest = UltraEdit.getString("what?", 1);
        
        var myVars = myTest.split(splitsequence);
        
        UltraEdit.getString("Parameters entered: " + myVars.length,1);
        for (i=0;i<myVars.length;i++)
        UltraEdit.getString("Parameter " + i + " = " + myVars[i],1);