From: Alexander S.K. <al...@be...> - 2004-10-20 07:05:51
|
On 20.10.2004 10:39, Alexander S.Kresin <al...@be...> wrote: ASK> The problem with a.prg is very interesting. It doesn't appear in ASK> modal dialogs, only in nonmodal and in MDI Child windows and is ASK> caused by the fact that variables, used in GET items, are declared as ASK> local in the window creation procedure and are released before the ASK> window is closed ! To check this, just move these variables ASK> declaration to the main procedure and make them Private - you'll see ASK> the difference. ASK> There is a difference in handling of local ASK> variables and codeblocks in Harbour and xHarbour ( I don't know, ASK> which one is more correct ), so this doesn't cause problems in ASK> Harbour. After more testing I'm suppose that it is a bug in xHarbour. Regards, Alexander http://kresin.belgorod.su |