cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

OnWizRealize for User Interface Element specific behavior ?

jschneider
Contributor

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,

--
Julien Schneider
0 Replies