|
|
|
|
|
<Looper>.ModifyIP (Function) In french: <Zone répétée>.ModifiePI Modifies a row corresponding to an internal page in a Looper control populated programmatically. Attention: To use this function, the "Use an internal page per row (LooperAddIP function)" option must be checked ("Contents" tab in the field description).. let N = LOOP_Component.AddIP(IPAGE_PROCESSOR, "i7", 2) LOOP_Component.ModifyIP(N, IPAGE_DISK, "SAMDATA", "SSD", 20 000 000) Syntax
<Result> = <Looper control>.ModifyIP(<Index> , <Internal page> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: Integer Number of the new row. <Looper control>: Control name Name of the Looper control to be used. <Index>: Optional integer Index of the row to be modified. <Internal page>: Page name Name of the internal page to be used to replace the row. <Parameter 1>: Type corresponding to the parameter (optional) First parameter to be passed to the internal page. This parameter is passed to the "Global declarations" event of the internal page. <Parameter N>: Type corresponding to the parameter (optional) Nth parameter to be passed to the internal page. This parameter is passed to the "Global declarations" event of the internal page. Remarks - If one of the controls in the internal page is anchored based on its content, the row height will adapt automatically. Otherwise, the row height will be the height of the internal page in edit mode.
- The name of the internal page used for a row can be retrieved using the following syntax:
<Champ Zone répétée>[Répétition/ligne].Nom - Parameters passed to internal page: Parameters are retrieved in the "Global declarations" event of the internal page. Simply write the following line of code at the start of the event:
PROCEDURE <Nom de la page>(<Paramètre 1> [, ...] [, <Paramètre N>]) For more details, see Page with parameters. - Tip: To find out the number of the repeat used (for example, when clicking on an internal page button), create an attribute in the RepeatString field and assign it with the result of the <Looper>.ModifyIPfunction. .
- Warning: The maximum number of fields that can be created is limited to 1000 (the number of fields per row depends on the internal page added)..
If more than 1000 fields are created, the following error is displayed: "Capacity overrun: RepeatString contains more than 1000 fields in xxx lines".
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|