0

This is related to my question posted here:

How to make dialog elments collapsible?

Another developer has added two groups to the dialog that is displayed when creating a payment proposal (CustVendPaymJournal_Vend Class) and the "Ok" and "Cancel" buttons are no longer displayed on smaller resolutions (1024x768).

To overcome this I am trying to group some dialog elements in DialogTabPage tabs. However I haven't had any success in my attempts.

This is what I have in the first couple lines of code in the dialog() method for CustVendCreatePaymJournal_Vend

public Object dialog()
{
    LedgerJournalType   ledgerJournalType;
    DialogTabPage       tab;
    super();
    tab = dialog.addTabPage("First tab");
}

I keep on receiving this error anywhere I try to add a tab in the dialog. I have tried to put it on CustVendPaymJournal (from which CustVendPaymJournal_Vend is inherited) also, but to no avail.

DialogTabPage object does not have method 'frameType'.
Community
  • 1
  • 1
ackzell
  • 277
  • 1
  • 3
  • 15

1 Answers1

0

Try:

dialog = super();
tab = dialog.addTabPage("First tab");
Jan B. Kjeldsen
  • 17,817
  • 5
  • 32
  • 50