Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Color changes applied to new instances

Level 2
Level 2

On Initialize of a table it changes the HeaderRow fill color, works properly.  This Table is wraped in a Sub Form that can have additiona instances (copies).  The new instances do not capture the new fill color but rather the original color.

Should I try to set the HeaderRow color of the new instance when I execute the addinstance function?



groupCount = this.parent.instanceManager.count;


2 Replies
Level 5
Level 5

If I were you, I'd use a script object.  Put a script object in the repeatable subform.  Put the script that changes the header row of the table in a function in that script object.  Then make a call to that function from the initialize event of the repeatable subform.

That gives you a lot more flexibility and helps you control the events a lot more closely.

Hope this helps!

Ryan D. Lunka

Cardinal Solutions Group

Level 2
Level 2

how do you call a function from an object?  actually where do you place the function in the object?