Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: IVarPut Date: Wed, 23 Oct 2013 13:54:55 +0200 Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: individual.net kZHrcS0IcCaxMAjHMEBBoQ3TeZ8+yCVECVXPrwLYgOcYVW5Lc= Cancel-Lock: sha1:teBAf96/dBoFaY8woJiOVdABJKk= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:6144 Hi Krystian, > When I use IVarPut : IVarPut(self, #odcNazwa1, 'abcd'), I receive an > error message : function => object > argument : 70 > type string > requested type : object > > Where is the mistake ? oDCNazhwa1 is a protect variable of your window class, and IVarPut does not work with protect or hidden variables as they are not available from outside the class. Try do use the aControl array of the Window class. Wolfgang --