lundi 5 mars 2012

dynalink info in caption of forms

Question:
When opening a form with a dynalink to some record, this dynalink information
is automatically added to the form caption, often making the caption very
long and hard to read. Example: Open the SalesTable form from a debtor
record.

Answer 1.
you can add this line befor super() call in init() method of the form.

element.args().record(NULL);

Answer 2.
You can override the active method on the datasource and add the
following line there:

element.design().caption(strfmt("%1", smth));

Aucun commentaire:

Enregistrer un commentaire