Hi,
I create my formset like this:
release INVOICE
public INVOICE
INVOICE=create("invoice")
INVOICE.show
In the init event of each button, label etc, I call a text translation function "gs" like:
this.Caption=gs(this.Caption)
The problem is that the second time I open my formset, some buttons and labels reminds their captions from last time even though I issue "release INVOICE" in the formset's detroy event. I have even put a test button in the toolbar that makes "release INVOICE" just to be sure to kill the object. Is this a bug?
/Micael
I create my formset like this:
release INVOICE
public INVOICE
INVOICE=create("invoice")
INVOICE.show
In the init event of each button, label etc, I call a text translation function "gs" like:
this.Caption=gs(this.Caption)
The problem is that the second time I open my formset, some buttons and labels reminds their captions from last time even though I issue "release INVOICE" in the formset's detroy event. I have even put a test button in the toolbar that makes "release INVOICE" just to be sure to kill the object. Is this a bug?
/Micael