[F/OS] ComponentsTranslate: Dynamic Component Translation for App Inventor

com.ali.dynamiccomponents.aix (30.6 KB)

Upgrades Added to DynamicComponents Extension

1. Component Cloning Feature

  • Added [CloneComponent]) function to create copies of existing components with all their properties
  • Validates that only dynamically created components can be cloned
  • Ensures unique IDs for cloned components

2. Component Search Capability

  • Added [FindComponentsByType] function to find all components of a specific type
  • Useful for batch operations on similar components

3. Batch Operations

  • Added [SetPropertyForAll] function to apply the same property to multiple components at once
  • Improves efficiency when configuring multiple components

4. Component Groups (Foundation)

  • Added [CreateGroup] function to prepare for group-based operations
  • Validates component existence in groups

5. Performance Monitoring

  • Added [GetStatistics] function to get information about created components
  • Shows total component count and breakdown by type

6. Utility Functions

  • Added [GenerateFunnyId] for generating amusing component IDs (humor aspect)
  • Added [IsSameType] to check if two components are of the same type

7. Component Hierarchy Navigation

  • Added [GetParent] function to get the parent container of a component (foundation for hierarchy navigation)
1 Like