Skip to content

Commit 3c8fce8

Browse files
author
livecodeali
committed
[[ Docs ]] Various wording tweaks and reference updates
1 parent 9175d9c commit 3c8fce8

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/dictionary/command/create-widget.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ end repeat
2525

2626
Parameters:
2727
controlName: The name to call the newly created <widget>. If you don't specify a name, the <widget> is created with a default name.
28-
widgetKind: The <kind> of <widget> to create.
28+
widgetKind: The name of the module that defines the widget to be created.
2929
group: A reference or an expression that evaluates to a reference to a group on the current card. If you specify a group, the new <widget> is a member of the <group>, and exists on each <card> that has the <group>. If you don't specify a <group>, the <widget> is created on the current <card> and appears only on that <card>.
3030

3131
It: The <create widget> command places the ID property of the newly created <widget> in the <it> variable.
3232

3333
Description:
34-
Use the <create widget> command to make a new <widget> control or grouped <widget> control.
34+
Use the <create widget> command to make a new <widget> control or grouped <widget> control of <kind> <widgetKind>.
3535

3636
If you use the invisible form, the <widget> is created with its <visible> property set to false, so it cannot be seen. Use this form to create a hidden <widget>, change its appearance or position, then make it visible.
3737

3838
When the new <widget> is created, the pointer tool is automatically chosen.
3939

4040
>*Note:* The <LCB extension|extension> of the specified <kind> must have been loaded using the <load extension> command. To see a list of the currently loaded <LiveCode Builder extension|extensions>, use the <loadedExtensions> <function>.
4141

42-
References: kind (property), load extension (command), loadedExtensions (function), widget (object), card (object), group (object), visible (property), LiveCode Builder extension (glossary)
42+
References: kind (property), load extension (command), loadedExtensions (function), widget (object), card (object), group (object), visible (property), LiveCode Builder extension (glossary), it (keyword)
4343

4444
Tags: objects, extensions

docs/dictionary/command/load-extension.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ load extension from data tExtensionData with resource path (tMyExtensionFolder &
2525

2626
Parameters:
2727
filePath: The path to a compiled <LiveCode Builder extension> file.
28-
moduleData: Binary data that constitues a valid compiled <LiveCode Builder extension>.
28+
moduleData: Binary data that constitutes a valid compiled <LiveCode Builder extension>.
2929
resourcePath: The path to use for any operations in the <LiveCode Builder extension|extensions> that use resource files (eg 'image from resource file').
3030

3131
The result:
@@ -36,6 +36,6 @@ Use the <load extension> <command> to load a <LiveCode Builder extension>.
3636
If the extension is a library, its public handlers will be added to the bottom of the message path.
3737
If it is a widget, it will be available as a control in the tools palette to drag out, or to create with the <create widget> <command>.
3838

39-
References: unload extension (command), loadedExtensions (function), create widget (command), LiveCode Builder extension (glossary)
39+
References: unload extension (command), loadedExtensions (function), create widget (command), LiveCode Builder extension (glossary), result (function)
4040

4141
Tags: extensions

docs/dictionary/function/loadedExtensions.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ or (for <widget|widgets>) if it is available to create with the <create widget>
3030

3131
Each line of the list returned by the <loadedExtensions> <function> is the <kind> of the corresponding <LiveCode Builder extension|extension>.
3232

33-
References: create widget (command), load extension (command), unload extension (command), function (glossary), return (glossary), LiveCode Builder extension (glossary), widget (object), library LiveCode Builder extension (glossary)
33+
References: create widget (command), load extension (command), unload extension (command), function (glossary), return (glossary), LiveCode Builder extension (glossary), widget (object), library LiveCode Builder extension (glossary), line (keyword), kind (property)
3434

3535
Tags: extensions

docs/dictionary/message/newWidget.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Handle the <newWidget> <message> if you want to create additional <object|object
2424

2525
Normally, the <newWidget> <message> is handled at a higher level of the <message path>, since the newly created <widget> does not yet have a <script>.
2626

27-
The actual creation is not triggered by the <newWidget> <message>, so <trap|trapping> the <message> and not allowing it to <pass> does not prevent the <widget> from being created.
27+
The <newWidget> <message> is sent after the <widget> is created, so <trap|trapping> the <message> and not allowing it to <pass> does not prevent the <widget> from being created.
2828

2929
References: script (property), copy (command), clone (command), paste (command), object (object), trap (glossary), widget (object), message (glossary), tool (glossary), message path (glossary), pass (control_st)
3030

docs/dictionary/object/widget.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ on newWidget
2323
end newWidget
2424

2525
Description:
26-
Use the <widget> <object type> to create a <widget> control. A <widget> is created as a <LiveCode Builder extension>.
26+
Use the <widget> <object type> to create a <widget> control. <widget|Widgets> are created from <LiveCode Builder extension|LiveCode Builder extensions> that have previously been loaded into memory using the <load extension> <command>.
2727
For more details on how to create widgets, please consult the *Extending Livecode* guide.
2828

29-
References: control (keyword), object type (glossary), LiveCode Builder extension (glossary)
29+
References: load extension (command), control (keyword), object type (glossary), LiveCode Builder extension (glossary), command (glossary)
3030

3131
Tags: objects, extensions

0 commit comments

Comments
 (0)