tab panel to replace non-modal showfromindialog puzzle

Ok, I will explain this the best I can. Since you can only have one formindialog open at a time, I have been using hidden tab panels within open dialog forms you go a level deeper into the record. I just make it visible through an event.

This works great when you have a one to one relationship.

In my current case, I have a listing with a custom navigation controller. When I click on the record in the listing, I get a the record detail (Inventory Profile) in a fromindialog. The form, has tab panels.

In my case the listing is listing of inventory. In one of the tab panels in the Inventory Profile is a listing of all the related work orders. I want to be able to click on one of the work order records to show the detail of the workorder, without closing the current Inventory Profile formindialog.

So I figured when the user selects the work order, it would copy the work order number to a global.

I would have a hidden tab panel located on the Inventory Profile (related through the global and the workorders) that would become visible. the problem is that the method to do this is located in the workorder listing (table), and the element I need to make visable is located on the Inventory profile.

I can’t quite reach through a relationship beacuse elements are not accessable via a relationship in the method editor

I know this is a crazy work around, But I need to keep that form in dialog open while I go one level deeper in the record.

I won’t be suprized if anyone cant follow this, but maybe someone has a better idea, or another work around, or modify my currrent effort.

I have enclosed a screen shot.

Thanks for any input, I really need this functionality

I figured it out, it was too simple, sometimes you overlook the obvious :oops:

I do have one small problem, since the tab hidden tab panel is over top of half the form, when it becomes visibisble, the fields behind it show through untill you click on a scroll bar.

Is there a way to bring it to the front, when I make it visible, without having to hide the fields behind it when it is open. I was hoping there might me a short cut

This was a problem I run into too!

Jan has has taken a look into this, and came to the conclusion it’s a Java thing. They can’t help it. The only way to fix it, is to hide the other fields, underneath it!

Harjo,

I am also getting this kind of problem just from a few days ago. I used to show a tabless tab panel in a formInDialog which will have a number of non-related forms attached to it. I programatically show a form in the tab panel at a time. I had no problems like this before. Please see my attached image. This repeats the same list layout again in the left hand side.

This problem is un-acceptable to say it is a java issue. I had not have this problem before. Servoy people please check

Hi Hameed,

Have you tried to establish what exactly has changed in your setup or configuration or solution over the past few days to trigger this different behaviour.

Whether it is Servoy or not, there may be a lot to be gained for Servoy and yourself if you can focus on what the catalyst was for the behaviour change !

Cheers
Harry

if you can give me an reproduceable testcase then i can look at it.

I had to delete a few layouts which are causing this trouble and recreate them from scratch. I could not reproduce the problem again. Strange!!