Skip to content

Commit ea8c6f3

Browse files
committed
https://github.com/MagicFoundation/Alcinoe/issues/393
1 parent 9510de2 commit ea8c6f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Tools/CodeBuilder/_Source/CodeBuilder.dpr

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -458,15 +458,15 @@ Procedure BuildAlcinoeFMXDynamicControls;
458458
' if AControl.Controls[i] is TALDynamicListBoxControl then'+#13#10+
459459
' TALDynamicListBoxControl(AControl.Controls[i]).BeginTextUpdate'+#13#10+
460460
' else'+#13#10+
461-
' DoBeginTextUpdate(AControl);'+#13#10+
461+
' DoBeginTextUpdate(AControl.Controls[i]);'+#13#10+
462462
' end;',
463463
' Procedure DoBeginTextUpdate(const AControl: TALDynamicListBoxControl);'+#13#10+
464464
' begin'+#13#10+
465465
' for var I := 0 to AControl.ControlsCount - 1 do'+#13#10+
466466
' //if AControl.Controls[i] is TALDynamicListBoxControl then'+#13#10+
467467
' // TALDynamicListBoxControl(AControl.Controls[i]).BeginTextUpdate'+#13#10+
468468
' //else'+#13#10+
469-
' // DoBeginTextUpdate(AControl);'+#13#10+
469+
' // DoBeginTextUpdate(AControl.Controls[i]);'+#13#10+
470470
' AControl.Controls[i].BeginTextUpdate;'+#13#10+
471471
' end;');
472472
//--
@@ -478,15 +478,15 @@ Procedure BuildAlcinoeFMXDynamicControls;
478478
' if AControl.Controls[i] is TALDynamicListBoxControl then'+#13#10+
479479
' TALDynamicListBoxControl(AControl.Controls[i]).EndTextUpdate'+#13#10+
480480
' else'+#13#10+
481-
' DoEndTextUpdate(AControl);'+#13#10+
481+
' DoEndTextUpdate(AControl.Controls[i]);'+#13#10+
482482
' end;',
483483
' Procedure DoEndTextUpdate(const AControl: TALDynamicListBoxControl);'+#13#10+
484484
' begin'+#13#10+
485485
' for var I := 0 to AControl.ControlsCount - 1 do'+#13#10+
486486
' //if AControl.Controls[i] is TALDynamicListBoxControl then'+#13#10+
487487
' // TALDynamicListBoxControl(AControl.Controls[i]).EndTextUpdate'+#13#10+
488488
' //else'+#13#10+
489-
' // DoEndTextUpdate(AControl);'+#13#10+
489+
' // DoEndTextUpdate(AControl.Controls[i]);'+#13#10+
490490
' AControl.Controls[i].EndTextUpdate;'+#13#10+
491491
' end;');
492492
//--
@@ -522,7 +522,7 @@ Procedure BuildAlcinoeFMXDynamicControls;
522522
' Result := True;'+#13#10+
523523
' for var I := 0 to AControl.ControlsCount - 1 do begin'+#13#10+
524524
' if AControl.Controls[i] is TALDynamicListBoxControl then Result := TALDynamicListBoxControl(AControl.Controls[i]).IsReadyToDisplay'+#13#10+
525-
' else Result := CheckAllChildrenAreReadyToDisplay(AControl);'+#13#10+
525+
' else Result := CheckAllChildrenAreReadyToDisplay(AControl.Controls[i]);'+#13#10+
526526
' if not Result then exit;'+#13#10+
527527
' end;'+#13#10+
528528
' end;',
@@ -531,7 +531,7 @@ Procedure BuildAlcinoeFMXDynamicControls;
531531
' Result := True;'+#13#10+
532532
' for var I := 0 to AControl.ControlsCount - 1 do begin'+#13#10+
533533
' //if AControl.Controls[i] is TALDynamicListBoxControl then Result := TALDynamicListBoxControl(AControl.Controls[i]).IsReadyToDisplay'+#13#10+
534-
' //else Result := CheckAllChildrenAreReadyToDisplay(AControl);'+#13#10+
534+
' //else Result := CheckAllChildrenAreReadyToDisplay(AControl.Controls[i]);'+#13#10+
535535
' Result := AControl.Controls[i].IsReadyToDisplay;'+#13#10+
536536
' if not Result then exit;'+#13#10+
537537
' end;'+#13#10+

0 commit comments

Comments
 (0)