Graeme Geldenhuys wrote:
> On Tue, Oct 14, 2008 at 4:20 PM, Mattias Gärtner
> <[EMAIL PROTECTED]> wrote:
>> The variable pointer is not stored, so can not be set to nil by the LCL.
>> Afaik
>> it is the same with the VCL.
>>
>> Why not set it to nil in TForm.Destroy?
>
> That ties the class to a
On Tue, Oct 14, 2008 at 4:20 PM, Mattias Gärtner
<[EMAIL PROTECTED]> wrote:
>
> The variable pointer is not stored, so can not be set to nil by the LCL. Afaik
> it is the same with the VCL.
>
> Why not set it to nil in TForm.Destroy?
That ties the class to a external instance variable. I thought
On Tue, 14 Oct 2008, Graeme Geldenhuys wrote:
> On Tue, Oct 14, 2008 at 3:50 PM, Michael Van Canneyt
> <[EMAIL PROTECTED]> wrote:
> >> When a new form is created using Application.CreateForm(), the form's
> >> global instance variable is passed in as well. Now if that form's
> >> CloseAction = c
Zitat von Graeme Geldenhuys <[EMAIL PROTECTED]>:
> Hi,
>
> When a new form is created using Application.CreateForm(), the form's
> global instance variable is passed in as well. Now if that form's
> CloseAction = caFree, where is that instance variable assigned nil
> after it was freed?
>
> In fpG
On Tue, Oct 14, 2008 at 3:50 PM, Michael Van Canneyt
<[EMAIL PROTECTED]> wrote:
>> When a new form is created using Application.CreateForm(), the form's
>> global instance variable is passed in as well. Now if that form's
>> CloseAction = caFree, where is that instance variable assigned nil
>> afte
On Tue, 14 Oct 2008, Graeme Geldenhuys wrote:
> Hi,
>
> When a new form is created using Application.CreateForm(), the form's
> global instance variable is passed in as well. Now if that form's
> CloseAction = caFree, where is that instance variable assigned nil
> after it was freed?
It is not
Hi,
When a new form is created using Application.CreateForm(), the form's
global instance variable is passed in as well. Now if that form's
CloseAction = caFree, where is that instance variable assigned nil
after it was freed?
In fpGUI, the form is freed, but the global instance variable is still