Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Error Message while closing a form

$
0
0
Re: Error Message while closing a form
FoxInCloud
Re: Error Message while closing a form
Mar. 1, 2013
07:43 am
3Q70GJSCFShow this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Michele
As a1 is added dynamically, you might better use the .wFormCallBack() method of an object that is always here, never removed, such as agenda.scx!_container1

you can define the callback in one of these ways :
'thisform._container1.wFormCallBack'
'this.Parent.Parent.wFormCallBack'


a1 is a button class derived from my commandbutton class derived from aw.vcx......WHen i open it i have all method and properties of adapted controls....If it shouldn't be so i 'd have always the problem not only when not in debug.....or not ?


It looks like the target object 'agenda.scx!_container1.d2.a1' is not adapted (does not have .wFormCallBack())


could you post the call stack when this happens (e.g. a debugger screenshot showing all windows)?
thanks,


I call a form and i show all data without problems. If i close the form with the close button the form is closed and the previous form is opened....If i select another button that set readonly propoerty on some objects of the form and the i close the form i have an error message at this row (line 6721) in awserver.prg

m.this.cLangUser = 'fr', [Le contrôle cible ne détient pas la méthode ],; && copy-paste this line to add another language support[Target control does not own a method named ];

The error is "Function argument value, type or count is invalid"

If i ignore the error the program continue and it seems without problems....






Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)

HTML Help Builder

Viewing all articles
Browse latest Browse all 10393

Trending Articles