Hoe do I set ReadOnly on WebCombo and WebInput controls?

2 replies. Last post: January 6, 2010 10:34 PM by Andi Santoso
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

function disable_input(controlId) {

    oCtrl = ISGetObject(controlId);

    switch (oCtrl.ClassName) {

        case 'WebCombo':

            oCtrl.LayoutSettings.TextboxMode.ReadOnly = 1;

            break;

        case 'WebInput':

            oCtrl.HowDoISetReadOnlyMode = ?

            break;

    }

}

does not work. I've also tried "oCtrl.Readonly = 1;" and it also does not do anything.  What is the correct way for WebCombo, and also for WebInput?

Thanks in advance...

 
Sunny Phoenix, Arizona, USA
All times are GMT -5. The time now is 5:45 AM.
Previous Next