Sage 100

 View Only
  • 1.  Script to Hide or Show Customizer Text Box

    Posted 05-12-2023 09:27

    I spoke with Alnoor about using a script to hide/show a text box created in customizer and he stated this wasn't possible.  However, he thought it may have become a reality in v2022.  Does anyone know if this has become a reality using VB Script and if so, how we can do that?  Thanks



    ------------------------------
    Chris Love
    Accounting Systems, Inc. (ASI)
    ------------------------------


  • 2.  RE: Script to Hide or Show Customizer Text Box

    Posted 05-12-2023 09:48

    Does this work for you?

    retVal = oScript.SetUIControl("BT_Link_1", "HIDE")    ' hide  button



    ------------------------------
    Lee Graham
    Friendly Systems, Inc.
    ------------------------------



  • 3.  RE: Script to Hide or Show Customizer Text Box

    Posted 05-12-2023 10:00

    Lee, that would work if I'm doing a button, but I'm using a text box in customizer so I can make the font color Red and stands out better to the person whose entering the data. For what the customer is asking for, I'm also going to consider a message box popup. Because of that, I don't think making this into a button will really work for what I need as it will just blend in.



    ------------------------------
    Chris Love
    Accounting Systems, Inc. (ASI)
    ------------------------------



  • 4.  RE: Script to Hide or Show Customizer Text Box

    Posted 05-12-2023 10:11

    Chris,
         Try replacing the name of your control where the "BT_Link_1" is.



    ------------------------------
    Lee Graham
    Friendly Systems, Inc.
    ------------------------------



  • 5.  RE: Script to Hide or Show Customizer Text Box

    Posted 05-12-2023 10:20

    What should I replace it with?  The control just shows the text in my text box. I did try that, but a text box isn't a control. I also tried using Fonted_Text_1 since that's what pops up when I right click on it, but neither of these worked.



    ------------------------------
    Chris Love
    Accounting Systems, Inc. (ASI)
    ------------------------------