VLF-One Redisplay Business Object
VLF-One Redisplay Business Object
I have a business object that has a single command that is attached to ramp. This business object is not in the navigation pane. If I do an avSwitch to that business object, the ramp screen shows up in it's panel and everything works fine. If I then select another business object from the navigation pane and then try to redisplay the original business object using avSwitch again ramp goes through the whole process of finding the navigation plan and backs out to the junction before it goes right back into the same screen. I was wondering if there was a way to redisplay the original business object that has my ramp screen without it navigating again? Or, is there a better method to redisplay or bring back to the front my business object?
Re: VLF-One Redisplay Business Object
Do you mean you just want to cause the business object's container pane to come to the front/top and nothing else to happen ?
Re: VLF-One Redisplay Business Object
Yes. That's sounds like what I am looking for. I'm using code you provided that allows us to list all the open Bo's in a rp. I am just looking to be able to toggle to the open bo selected in the list. Nothing more than making the pane that the bo is in visible.
Re: VLF-One Redisplay Business Object
That should be achievable (maybe) but it might take a few goes to get it right as I don't have a system to try it out on.
First, you need to put an event handler in your system IIP - your version of the shipped UF_OSYSTM reusable part.
Something like this:
This handles a user defined event named BringToFront.
When it detects that event it requests that the current command handler (i.e. the one containing the aXes 5250 screen) is activated.
That should bring it to the front (I hope).
Then in the place you are issuing the avSwitch request using an avSignalEvent WithId(BringToFront) instead.
If that works we know it may be possible, so then it just needs to be refined a bit to make sure that if multiple aXes screen command handlers are open that only the requested one comes to the front.
First, you need to put an event handler in your system IIP - your version of the shipped UF_OSYSTM reusable part.
Something like this:
This handles a user defined event named BringToFront.
When it detects that event it requests that the current command handler (i.e. the one containing the aXes 5250 screen) is activated.
That should bring it to the front (I hope).
Then in the place you are issuing the avSwitch request using an avSignalEvent WithId(BringToFront) instead.
If that works we know it may be possible, so then it just needs to be refined a bit to make sure that if multiple aXes screen command handlers are open that only the requested one comes to the front.