cancel
Showing results for 
Search instead for 
Did you mean: 

OnWizRealize for User Interface Element specific behavior ?

Occasional Contributor

OnWizRealize for User Interface Element specific behavior ?

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
Tags (2)