ui.Textbox.setDisabled
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ההגדרה קובעת אם תיבת הטקסט מושבתת.
מחזירה את תיבת הטקסט הזו.
שימוש | החזרות |
---|
Textbox.setDisabled(disabled) | ui.Textbox |
ארגומנט | סוג | פרטים |
---|
זה: ui.textbox | ui.Textbox | המופע ui.Textbox. |
disabled | בוליאני | האם תיבת הטקסט מושבתת. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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. |"]]