800xA - PG2 - Listbox with spect View Invokers
A Graphic Overview Display with a listbox (Graphic Primitives/List). A Aspect View Invoker as Hosted Input Item: Name Asp1, ViewRef: ..., Event: OnDemand).
The list has 1 entry: ItemEntry("Asp1", "Aspect1", True).
When click on the list item, the requested display does not open.
Test with a text and the same hosted input item works well.
What is to do, to make navigation with the listbox possible?
The list has 1 entry: ItemEntry("Asp1", "Aspect1", True).
When click on the list item, the requested display does not open.
Test with a text and the same hosted input item works well.
What is to do, to make navigation with the listbox possible?
Voted best answer
Answers
Set property ItemSelectionEvent of ListBox to "InvokeInputItem" .
As an alternative try to use PopupMenu on PushButton instead of ListBox.
As an alternative try to use PopupMenu on PushButton instead of ListBox.
Thanks for Your suggestion!
Same result.
Graphic display: InhibitInput = None (to prevent restrictions)
Listbox: ItemSelectionEvent = InvokeInputItem
Hosted Aspect View Invoker: Event = OnDemand
...
Push Button
Hosted Popup Menue: Entry1name = ItemEntry("Asp11", "Aspekt11", True)
Hosted Aspect View Invoker: Name = Asp11, ViewReference = ...
If push buttons hosted menue invoker event is set to OnMouseUp, then the display appears. So the view reference is correct.
But the 'interpretation' of the menue item to fire aspect view does not work.
Everything in Functional Structure. No need for LateBinding.
Same result.
Graphic display: InhibitInput = None (to prevent restrictions)
Listbox: ItemSelectionEvent = InvokeInputItem
Hosted Aspect View Invoker: Event = OnDemand
...
Push Button
Hosted Popup Menue: Entry1name = ItemEntry("Asp11", "Aspekt11", True)
Hosted Aspect View Invoker: Name = Asp11, ViewReference = ...
If push buttons hosted menue invoker event is set to OnMouseUp, then the display appears. So the view reference is correct.
But the 'interpretation' of the menue item to fire aspect view does not work.
Everything in Functional Structure. No need for LateBinding.
First I thought, Your ordering of items failed.
But then I realized, that Aspect View Invokers must be hosted by the Graphic Display, not by the List.
Not nice, but it works.
Thank You very much!
But then I realized, that Aspect View Invokers must be hosted by the Graphic Display, not by the List.
Not nice, but it works.
Thank You very much!
Add new comment