ui.Textbox.setDisabled
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इससे यह सेट किया जाता है कि टेक्स्ट बॉक्स बंद है या नहीं.
यह टेक्स्ट बॉक्स दिखाता है.
इस्तेमाल | रिटर्न |
---|
Textbox.setDisabled(disabled) | ui.Textbox |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.textbox | ui.Textbox | ui.Textbox इंस्टेंस. |
disabled | बूलियन | टेक्स्ट बॉक्स बंद है या नहीं. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe \u003ccode\u003esetDisabled\u003c/code\u003e function allows you to enable or disable a textbox element within a user interface.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003esetDisabled\u003c/code\u003e on a ui.Textbox object returns the ui.Textbox instance itself, enabling method chaining.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edisabled\u003c/code\u003e is a boolean argument that determines the enabled/disabled state of the textbox.\u003c/p\u003e\n"]]],[],null,["# ui.Textbox.setDisabled\n\n\u003cbr /\u003e\n\nSets whether the textbox is disabled.\n\n\u003cbr /\u003e\n\nReturns this textbox.\n\n| Usage | Returns |\n|---------------------------------|------------|\n| Textbox.setDisabled`(disabled)` | ui.Textbox |\n\n| Argument | Type | Details |\n|--------------------|------------|----------------------------------|\n| this: `ui.textbox` | ui.Textbox | The ui.Textbox instance. |\n| `disabled` | Boolean | Whether the textbox is disabled. |"]]