31-03-2014 04:33 PM - edited 31-03-2014 05:03 PM
Hi,
I think User Interface Element has a specific behavior regarding Meta Wizard Creator OnWizRealize function.
I put this code in the macro linked to a new Meta Wizard Creator User Interface Element.
Sub OnWizRealize(Manager As MegaWizardContext) Dim myObject As MegaObject myObject = Manager.Template Dim cDiagrammes cDiagrammes = myObject.getCollection("Diagramme") msgbox cDiagrammes.count End Sub
When creation an User Interface Element in user interface diagram, previous code always displays 0 !
But i think it has to display 1 (by finding the diagram)...
I've made something wrong ?
Thanks and regards,