Page 1 of 1

Window methods - disabling an edittext

Posted: October 29th, 2008, 10:15 am
by Redsandro
Hi,

I was wondering how to disable a button or an edittext. But the methods are not mentioned in either the scriptingguide or the AE help.
Where can I find these?

Code: Select all

var win = new Window('dialog', 'myTitle', [100,100,400,400]);

Re: Window methods - disabling an edittext

Posted: November 7th, 2008, 12:45 pm
by Redsandro
Looks like I totally put up the wrong code there and it doesn't make sense to the subject. Sorry!
Anyway, I forgot to update this for reference.

Aparantly, disabling a textbox is exactly the opposite of disabling inputs in xhtml:

Code: Select all

win.myText.enabled = false;
Simple. :oops: