This Uniface 10.4.02 sample demonstrates how to dynamically generate tab pages using the bootstrap 5 CSS framework.
It uses $fieldproperties and $occproperties to add HTML attributes to generated tab occurrences so that the bootstrap JavaScript can relate the tab bar buttons to the content.