Announcement

Collapse
No announcement yet.

Function Parameter default

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Function Parameter default

    Sorry for all the posts guys, but I have another one that I cannot figure out. I am using the following function parameter to create a "check box" (I am not sure of the technical term), in the edit studies window, so that I can choose whether or not to display some drawn lines. I want the default setting to be unchecked, but I have tried everything and the box is always checked. Thanks.

    PHP Code:
    var fp1 = new FunctionParameter("bShowL"FunctionParameter.BOOLEAN);
         
    fp1.setName("Show Lines");
         
    fp1.addOption("true");
         
    fp1.addOption("false");
         
    fp1.setDefault("false"); 

  • #2
    charley
    See this article in the EFS KnowledgeBase
    FYI I found the article by searching the Kb for Function Parameter (you may want to bookmark the Kb if you have not already done so)
    Alex


    Originally posted by charley View Post
    Sorry for all the posts guys, but I have another one that I cannot figure out. I am using the following function parameter to create a "check box" (I am not sure of the technical term), in the edit studies window, so that I can choose whether or not to display some drawn lines. I want the default setting to be unchecked, but I have tried everything and the box is always checked. Thanks.

    PHP Code:
    var fp1 = new FunctionParameter("bShowL"FunctionParameter.BOOLEAN);
         
    fp1.setName("Show Lines");
         
    fp1.addOption("true");
         
    fp1.addOption("false");
         
    fp1.setDefault("false"); 

    Comment


    • #3
      Thank you Alex!

      Comment

      Working...
      X