Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
f15f0425
Commit
f15f0425
authored
Oct 24, 2023
by
Evan W. Patton
Committed by
Jeffrey Schiller
Oct 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect information in TextBox component docs
Change-Id: Id2920f96f1752d622a0f8a105e2869a8e958114d
parent
0ae5cf4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
appinventor/components/src/com/google/appinventor/components/runtime/TextBox.java
...rc/com/google/appinventor/components/runtime/TextBox.java
+2
-2
appinventor/docs/html/reference/components/userinterface.html
...nventor/docs/html/reference/components/userinterface.html
+1
-1
appinventor/docs/markdown/reference/components/userinterface.md
...entor/docs/markdown/reference/components/userinterface.md
+1
-1
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/TextBox.java
View file @
f15f0425
...
@@ -219,14 +219,14 @@ public final class TextBox extends TextBoxBase {
...
@@ -219,14 +219,14 @@ public final class TextBox extends TextBoxBase {
@SimpleProperty
(
@SimpleProperty
(
category
=
PropertyCategory
.
BEHAVIOR
,
category
=
PropertyCategory
.
BEHAVIOR
,
description
=
"Whether the %type% is read-only. By default, this is
tru
e."
description
=
"Whether the %type% is read-only. By default, this is
fals
e."
)
)
public
boolean
ReadOnly
()
{
public
boolean
ReadOnly
()
{
return
readOnly
;
return
readOnly
;
}
}
/**
/**
* Whether the %type% is read-only. By default, this is `
tru
e`{:.logic.block}.
* Whether the %type% is read-only. By default, this is `
fals
e`{:.logic.block}.
* @param readOnly
* @param readOnly
*/
*/
@DesignerProperty
(
@DesignerProperty
(
...
...
appinventor/docs/html/reference/components/userinterface.html
View file @
f15f0425
...
@@ -1339,7 +1339,7 @@ having dark grey components.</li>
...
@@ -1339,7 +1339,7 @@ having dark grey components.</li>
if
</code>
NumbersOnly
<code
class=
"highlighter-rouge"
>
is true, you can set the text to anything at all using the
if
</code>
NumbersOnly
<code
class=
"highlighter-rouge"
>
is true, you can set the text to anything at all using the
[
</code>
Text`](#TextBox.Text) property.
</dd>
[
</code>
Text`](#TextBox.Text) property.
</dd>
<dt
id=
"TextBox.ReadOnly"
class=
"boolean"
><em>
ReadOnly
</em></dt>
<dt
id=
"TextBox.ReadOnly"
class=
"boolean"
><em>
ReadOnly
</em></dt>
<dd>
Whether the TextBox is read-only. By default, this is
<code
class=
"logic block highlighter-rouge"
>
tru
e
</code>
.
</dd>
<dd>
Whether the TextBox is read-only. By default, this is
<code
class=
"logic block highlighter-rouge"
>
fals
e
</code>
.
</dd>
<dt
id=
"TextBox.Text"
class=
"text"
><em>
Text
</em></dt>
<dt
id=
"TextBox.Text"
class=
"text"
><em>
Text
</em></dt>
<dd>
The text in the
<code
class=
"highlighter-rouge"
>
TextBox
</code>
, which can be set by the programmer in the Designer or Blocks Editor,
<dd>
The text in the
<code
class=
"highlighter-rouge"
>
TextBox
</code>
, which can be set by the programmer in the Designer or Blocks Editor,
or it can be entered by the user (unless the
<a
href=
"#TextBox.Enabled"
><code
class=
"highlighter-rouge"
>
Enabled
</code></a>
property is false).
</dd>
or it can be entered by the user (unless the
<a
href=
"#TextBox.Enabled"
><code
class=
"highlighter-rouge"
>
Enabled
</code></a>
property is false).
</dd>
...
...
appinventor/docs/markdown/reference/components/userinterface.md
View file @
f15f0425
...
@@ -1511,7 +1511,7 @@ Users enter text in a text box component.
...
@@ -1511,7 +1511,7 @@ Users enter text in a text box component.
[`
Text
`](#TextBox.Text) property.
[`
Text
`](#TextBox.Text) property.
{:id="TextBox.ReadOnly" .boolean} *ReadOnly*
{:id="TextBox.ReadOnly" .boolean} *ReadOnly*
: Whether the TextBox is read-only. By default, this is `
tru
e
`{:.logic.block}.
: Whether the TextBox is read-only. By default, this is `
fals
e
`{:.logic.block}.
{:id="TextBox.Text" .text} *Text*
{:id="TextBox.Text" .text} *Text*
: The text in the `
TextBox
`, which can be set by the programmer in the Designer or Blocks Editor,
: The text in the `
TextBox
`, which can be set by the programmer in the Designer or Blocks Editor,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment