Hi,
I have created a form in which is based on Item table. For this i have used a card form to give Filters Like Gen Prod. posting Group etc. Down below I used a tabular form to list all the filtered Items. Below this tabular form i have to use two subforms which are based on Bin content table and a customized manufacturer table. the link is Item no in both the cases. I have tried all the possible hit and trial for Horglue and verGlue and other properties but their appearance is not very good. sometime one form got over another etc...
Is there any way to use 2 subforms and show them in an elegant way to the main form.
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Damn this wysiwyg editor is not valid for code!
|To-Increase|
I have used this layout before, but it requires that one of the sub forms (preferably the left) is fixed width (glue left) and the other is floating (glue horiz both). I have also done it with buttons that allow you to make the fixed sub form wider. The list box needs to be glued top and the two subforms glued vertical both.
For example I use the following code for two subforms side by side.
IF CurrForm.WIDTH <> MasterWidth THEN BEGIN
MasterWidth := CurrForm.WIDTH;
CurrForm.AccFrame.WIDTH := ROUND((SubformRatio * MasterWidth / 100) - 550,1);
CurrForm.BankFrame.WIDTH := ROUND(((100 - SubformRatio) * MasterWidth / 100) - 550,1);
CurrForm.BankFrame.XPOS := 110 + ROUND((SubformRatio * MasterWidth / 100),1);
END;
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com