Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
429d89a
structure-indexes.md Spanish
arnaud4d Nov 6, 2026
25225fd
button_overview.md French
arnaud4d Nov 6, 2026
4481321
button_overview.md Spanish
arnaud4d Nov 6, 2026
0480b5f
button_overview.md Japanese
arnaud4d Nov 6, 2026
61f8c03
checkbox_overview.md Japanese
arnaud4d Nov 6, 2026
09545c5
properties_display.md Japanese
arnaud4d Nov 6, 2026
676ba18
properties_listbox.md Japanese
arnaud4d Nov 6, 2026
dc08b54
properties_reference.md Japanese
arnaud4d Nov 6, 2026
2ca6a80
properties_textandpicture.md Japanese
arnaud4d Nov 6, 2026
b9136f3
ruler.md Japanese
arnaud4d Nov 6, 2026
f201c27
spinner.md Japanese
arnaud4d Nov 6, 2026
b733c3d
splitters.md Japanese
arnaud4d Nov 6, 2026
a1cc475
subform_overview.md Japanese
arnaud4d Nov 6, 2026
3d9bdce
tabcontrol.md Japanese
arnaud4d Nov 6, 2026
0601274
viewproarea_overview.md Japanese
arnaud4d Nov 6, 2026
2530421
writeproarea_overview.md Japanese
arnaud4d Nov 6, 2026
9c5ce00
properties_display.md Japanese
arnaud4d Nov 6, 2026
1857aba
properties_listbox.md Japanese
arnaud4d Nov 6, 2026
5647536
properties_reference.md Japanese
arnaud4d Nov 6, 2026
abc7afd
properties_textandpicture.md Japanese
arnaud4d Nov 6, 2026
996a7d4
properties_display.md Japanese
arnaud4d Nov 6, 2026
8dbcb41
properties_listbox.md Japanese
arnaud4d Nov 6, 2026
02da1b3
properties_reference.md Japanese
arnaud4d Nov 6, 2026
56ebca8
properties_textandpicture.md Japanese
arnaud4d Nov 6, 2026
883c682
properties_display.md Japanese
arnaud4d Nov 6, 2026
ce65b49
properties_listbox.md Japanese
arnaud4d Nov 6, 2026
d940f22
properties_reference.md Japanese
arnaud4d Nov 6, 2026
aed1857
properties_textandpicture.md Japanese
arnaud4d Nov 6, 2026
2b62494
properties_display.md Japanese
arnaud4d Nov 6, 2026
9d95edd
properties_listbox.md Japanese
arnaud4d Nov 6, 2026
ccdd43d
properties_reference.md Japanese
arnaud4d Nov 6, 2026
a7d4510
properties_textandpicture.md Japanese
arnaud4d Nov 6, 2026
0b9a19b
definition.md Spanish
arnaud4d Nov 6, 2026
cbda268
definition.md Japanese
arnaud4d Nov 6, 2026
2c7710a
scheduler.md French
arnaud4d Nov 6, 2026
62bf198
scheduler.md Spanish
arnaud4d Nov 6, 2026
50e1629
scheduler.md Japanese
arnaud4d Nov 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
id: structure-indexes
title: Indexes
title: Índices
---

You can associate indexes with fields that you frequently use for searching and sorting. For example, you might index LastName, CompanyName, or ProductName if you plan to search or sort entities using these attributes. You also use this property for fields that establish relations between tables.
Puede asociar índices con campos que utiliza frecuentemente para buscar y ordenar. Por ejemplo, puede indexar LastName, CompanyName o ProductName si planea buscar o ordenar entidades usando estos atributos. También utiliza esta propiedad para campos que establecen relaciones entre las tablas.

When an index is associated with a field, 4D creates an internal index table for the field. This table allows 4D to perform rapid searches and sorts on the field. When searching or sorting on an unindexed field, 4D moves through data sequentially, examining each record in order. Indexing allows 4D to search and sort without going through every record.
Cuando un índice está asociado con un campo, 4D crea una tabla de índice interna para el campo. Esta tabla permite a 4D realizar búsquedas y ordenaciones rápidas en ese campo. Al buscar o ordenar en un campo indexado, 4D se mueve a través de datos secuencialmente, examinando cada registro en el orden. La indexación permite a 4D realizar búsquedas y ordenar los datos sin tener que revisar todos los registros.

You can index fields of the Alpha, Text, Date, Time, Boolean, Integer, Long integer, Integer 64 bits, Real, Picture and Object type. As you add and delete records, 4D automatically updates its index table. If you create an index for a field that already exists, 4D automatically indexes the existing data. You can specify as many indexed fields as you want. Indexes are also rebuilt during specific operations such as conversion of earlier databases or [data compacting](../MSC/compact.md).

Expand Down Expand Up @@ -105,7 +105,7 @@ The ![](../assets/en/Develop/index-list.png) button of the toolbar in the Struct

The Index List can be used to view the main properties of the indexes:

- **Type:** Index type. Each type of index (B-tree, Cluster B-tree, Keyword, Euclidean, Cosine, Dot) is depicted with a different icon.
- **Tipo:** tipo de índice. Each type of index (B-tree, Cluster B-tree, Keyword, Euclidean, Cosine, Dot) is depicted with a different icon.
- **Description:** Table and field(s) of index. For a composite index, this list contains all the fields of the index.
- **Name:** Index name. This property is used in particular by the language commands. You can change or add an index name by double-clicking in this column.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,100 +335,45 @@ The Custom button style accepts a personalized background picture and allows man

## Supported standard actions

The following standard actions can be assigned to buttons:

### Records and forms

- [accept](../Desktop-legacy/standard-actions.md#accept)
- [cancel](../Desktop-legacy/standard-actions.md#cancel)
- [deleteRecord](../Desktop-legacy/standard-actions.md#deleterecord)
- [addSubrecord](../Desktop-legacy/standard-actions.md#addsubrecord)
- [deleteSubrecord](../Desktop-legacy/standard-actions.md#deletesubrecord)
- [displaySubrecord](../Desktop-legacy/standard-actions.md#displaysubrecord)
- [editSubrecord](../Desktop-legacy/standard-actions.md#editsubrecord)
- [firstRecord](../Desktop-legacy/standard-actions.md#firstrecord)
- [lastRecord](../Desktop-legacy/standard-actions.md#lastrecord)
- [nextRecord](../Desktop-legacy/standard-actions.md#nextrecord)
- [previousRecord](../Desktop-legacy/standard-actions.md#previousrecord)

### Pages

- [firstPage](../Desktop-legacy/standard-actions.md#firstpage)
- [lastPage](../Desktop-legacy/standard-actions.md#lastpage)
- [nextPage](../Desktop-legacy/standard-actions.md#nextpage)
- [previousPage](../Desktop-legacy/standard-actions.md#previouspage)
- [gotoPage?value=\<page\>](../Desktop-legacy/standard-actions.md#gotopagevaluepage)

### Editing and expressions

- [clear](../Desktop-legacy/standard-actions.md#clear)
- [copy](../Desktop-legacy/standard-actions.md#copy)
- [cut](../Desktop-legacy/standard-actions.md#cut)
- [paste](../Desktop-legacy/standard-actions.md#paste)
- [redo](../Desktop-legacy/standard-actions.md#redo)
- [undo](../Desktop-legacy/standard-actions.md#undo)
- [selectAll](../Desktop-legacy/standard-actions.md#selectall)
- [computeExpressions](../Desktop-legacy/standard-actions.md#computeexpressions)
- [freezeExpressions](../Desktop-legacy/standard-actions.md#freezeexpressions)
- [visibleReferences](../Desktop-legacy/standard-actions.md#visiblereferences)

### Formatting

- [backgroundColor/showDialog](../Desktop-legacy/standard-actions.md#backgroundcolorshowdialog)
- [backgroundColor?value=\<color\>](../Desktop-legacy/standard-actions.md#backgroundcolorvaluecolor)
- [color/showDialog](../Desktop-legacy/standard-actions.md#colorshowdialog)
- [color?value=\<color\>](../Desktop-legacy/standard-actions.md#colorvaluecolor)
- [font/showDialog](../Desktop-legacy/standard-actions.md#fontshowdialog)
- [fontBold](../Desktop-legacy/standard-actions.md#fontbold)
- [fontItalic](../Desktop-legacy/standard-actions.md#fontitalic)
- [fontLinethrough](../Desktop-legacy/standard-actions.md#fontlinethrough)
- [fontSize?value=\<size\>](../Desktop-legacy/standard-actions.md#fontsizevaluesize)
- [fontUnderline](../Desktop-legacy/standard-actions.md#fontunderline)

### Spellchecking

- [spell/autoCorrectionEnabled](../Desktop-legacy/standard-actions.md#spellautocorrectionenabled)
- [spell/autoDashSubstitutionsEnabled](../Desktop-legacy/standard-actions.md#spellautodashsubstitutionsenabled)
- [spell/autoLanguageEnabled](../Desktop-legacy/standard-actions.md#spellautolanguageenabled)
- [spell/autoQuoteSubstitutionsEnabled](../Desktop-legacy/standard-actions.md#spellautoquotesubstitutionsenabled)
- [spell/autoSubstitutionsEnabled](../Desktop-legacy/standard-actions.md#spellautosubstitutionsenabled)
- [spell/enabled](../Desktop-legacy/standard-actions.md#spellenabled)
- [spell/forgetIgnore](../Desktop-legacy/standard-actions.md#spellforgetignore)
- [spell/grammarEnabled](../Desktop-legacy/standard-actions.md#spellgrammarenabled)
- [spell/ignore](../Desktop-legacy/standard-actions.md#spellignore)
- [spell/learn](../Desktop-legacy/standard-actions.md#spelllearn)
- [spell/removeSubstitution](../Desktop-legacy/standard-actions.md#spellremovesubstitution)
- [spell/showDialog](../Desktop-legacy/standard-actions.md#spellshowdialog)
- [spell/suggestion?index=\<1-number\<=10\>](../Desktop-legacy/standard-actions.md#spellsuggestionindex1-number10)
- [spell/unLearn](../Desktop-legacy/standard-actions.md#spellunlearn)
- [spell/visibleSubstitutions](../Desktop-legacy/standard-actions.md#spellvisiblesubstitutions)

### Web-area controls

- [openBackURL](../Desktop-legacy/standard-actions.md#openbackurl)
- [openForwardURL](../Desktop-legacy/standard-actions.md#openforwardurl)
- [refreshCurrentURL](../Desktop-legacy/standard-actions.md#refreshcurrenturl)
- [stopLoadingURL](../Desktop-legacy/standard-actions.md#stoploadingurl)

### Other actions

- [databaseSettings](../Desktop-legacy/standard-actions.md#databasesettings)
- [designMode](../Desktop-legacy/standard-actions.md#designmode)
- [msc](../Desktop-legacy/standard-actions.md#msc)
- [quit](../Desktop-legacy/standard-actions.md#quit)
- [showClipboard](../Desktop-legacy/standard-actions.md#showclipboard)
- [writingTools](../Desktop-legacy/standard-actions.md#writingtools)

### Invisible buttons only

- [automaticSplitter](../Desktop-legacy/standard-actions.md#automaticsplitter)

### 4D Write Pro standard actions

- [formulaHighlight?value=\<mode\>](../WritePro/user-legacy/standard-actions.md#action-formulahighlight)

The following standard actions can be assigned to buttons.
The [empty action](../Desktop-legacy/standard-actions.md#-empty-string) leaves the button's behavior to its method. See the [standard action compatibility table](../Desktop-legacy/standard-actions.md#supported-form-objects) for comparisons with other objects.

#### Records and forms

[accept](../Desktop-legacy/standard-actions.md#accept) - [cancel](../Desktop-legacy/standard-actions.md#cancel) - [deleteRecord](../Desktop-legacy/standard-actions.md#deleterecord) - [addSubrecord](../Desktop-legacy/standard-actions.md#addsubrecord) - [deleteSubrecord](../Desktop-legacy/standard-actions.md#deletesubrecord) - [displaySubrecord](../Desktop-legacy/standard-actions.md#displaysubrecord) - [editSubrecord](../Desktop-legacy/standard-actions.md#editsubrecord) - [firstRecord](../Desktop-legacy/standard-actions.md#firstrecord) - [lastRecord](../Desktop-legacy/standard-actions.md#lastrecord) - [nextRecord](../Desktop-legacy/standard-actions.md#nextrecord) - [previousRecord](../Desktop-legacy/standard-actions.md#previousrecord)

#### Pages

[firstPage](../Desktop-legacy/standard-actions.md#firstpage) - [lastPage](../Desktop-legacy/standard-actions.md#lastpage) - [nextPage](../Desktop-legacy/standard-actions.md#nextpage) - [previousPage](../Desktop-legacy/standard-actions.md#previouspage) - [gotoPage?value=\<page\>](../Desktop-legacy/standard-actions.md#gotopagevaluepage)

#### Editing and expressions

[clear](../Desktop-legacy/standard-actions.md#clear) - [copy](../Desktop-legacy/standard-actions.md#copy) - [cut](../Desktop-legacy/standard-actions.md#cut) - [paste](../Desktop-legacy/standard-actions.md#paste) - [redo](../Desktop-legacy/standard-actions.md#redo) - [undo](../Desktop-legacy/standard-actions.md#undo) - [selectAll](../Desktop-legacy/standard-actions.md#selectall) - [computeExpressions](../Desktop-legacy/standard-actions.md#computeexpressions) - [freezeExpressions](../Desktop-legacy/standard-actions.md#freezeexpressions) - [visibleReferences](../Desktop-legacy/standard-actions.md#visiblereferences)

#### Formatting

[backgroundColor/showDialog](../Desktop-legacy/standard-actions.md#backgroundcolorshowdialog) - [backgroundColor?value=\<color\>](../Desktop-legacy/standard-actions.md#backgroundcolorvaluecolor) - [color/showDialog](../Desktop-legacy/standard-actions.md#colorshowdialog) - [color?value=\<color\>](../Desktop-legacy/standard-actions.md#colorvaluecolor) - [font/showDialog](../Desktop-legacy/standard-actions.md#fontshowdialog) - [fontBold](../Desktop-legacy/standard-actions.md#fontbold) - [fontItalic](../Desktop-legacy/standard-actions.md#fontitalic) - [fontLinethrough](../Desktop-legacy/standard-actions.md#fontlinethrough) - [fontSize?value=\<size\>](../Desktop-legacy/standard-actions.md#fontsizevaluesize) - [fontUnderline](../Desktop-legacy/standard-actions.md#fontunderline)

#### Spellchecking

[spell/autoCorrectionEnabled](../Desktop-legacy/standard-actions.md#spellautocorrectionenabled) - [spell/autoDashSubstitutionsEnabled](../Desktop-legacy/standard-actions.md#spellautodashsubstitutionsenabled) - [spell/autoLanguageEnabled](../Desktop-legacy/standard-actions.md#spellautolanguageenabled) - [spell/autoQuoteSubstitutionsEnabled](../Desktop-legacy/standard-actions.md#spellautoquotesubstitutionsenabled) - [spell/autoSubstitutionsEnabled](../Desktop-legacy/standard-actions.md#spellautosubstitutionsenabled) - [spell/enabled](../Desktop-legacy/standard-actions.md#spellenabled) - [spell/forgetIgnore](../Desktop-legacy/standard-actions.md#spellforgetignore) - [spell/grammarEnabled](../Desktop-legacy/standard-actions.md#spellgrammarenabled) - [spell/ignore](../Desktop-legacy/standard-actions.md#spellignore) - [spell/learn](../Desktop-legacy/standard-actions.md#spelllearn) - [spell/removeSubstitution](../Desktop-legacy/standard-actions.md#spellremovesubstitution) - [spell/showDialog](../Desktop-legacy/standard-actions.md#spellshowdialog) - [spell/suggestion?index=\<1-number\<=10\>](../Desktop-legacy/standard-actions.md#spellsuggestionindex1-number10) - [spell/unLearn](../Desktop-legacy/standard-actions.md#spellunlearn) - [spell/visibleSubstitutions](../Desktop-legacy/standard-actions.md#spellvisiblesubstitutions)

#### Web-area controls

[openBackURL](../Desktop-legacy/standard-actions.md#openbackurl) - [openForwardURL](../Desktop-legacy/standard-actions.md#openforwardurl) - [refreshCurrentURL](../Desktop-legacy/standard-actions.md#refreshcurrenturl) - [stopLoadingURL](../Desktop-legacy/standard-actions.md#stoploadingurl)

#### Other actions

[databaseSettings](../Desktop-legacy/standard-actions.md#databasesettings) - [designMode](../Desktop-legacy/standard-actions.md#designmode) - [msc](../Desktop-legacy/standard-actions.md#msc) - [quit](../Desktop-legacy/standard-actions.md#quit) - [showClipboard](../Desktop-legacy/standard-actions.md#showclipboard) - [writingTools](../Desktop-legacy/standard-actions.md#writingtools)

#### Invisible buttons only

[automaticSplitter](../Desktop-legacy/standard-actions.md#automaticsplitter)

#### 4D Write Pro standard actions

[formulaHighlight?value=\<mode\>](../WritePro/user-legacy/standard-actions.md#action-formulahighlight)

## Propiedades soportadas

Todos los botones comparten el mismo conjunto de propiedades básicas:
Expand Down
Loading
Loading