Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6145
| From | Malcolm G <malcolm-news2012delete@delete.jobstream.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: IVarPut |
| References | <c6ececa1-52c2-461c-9e29-9d990043f504@googlegroups.com> |
| Message-ID | <u1P9u.16475$IK4.7823@fx35.am4> (permalink) |
| Organization | virginmedia.com |
| Date | 2013-10-23 13:11 +0100 |
On 23/10/2013 12:49, Krystian wrote: > Hallo, > > I have several variables on a form : var_l, var_2,,, var_n created as SLE > How may I initialize this one in a loop ? > for i := 1 to n > ?funcput?(self, #'var+i', something) > next > 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 ? What is the complete code? The error says odcNazwa1 needs an object and you gave it a string, what is the type of odcNazwa1 e.g. export odcNazwa1 as OBJECT or export odcNazwa1 as SingleLineEdit would correctly give the above error
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
IVarPut Krystian <softb@softb.pl> - 2013-10-23 04:49 -0700
Re: IVarPut "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-10-23 13:54 +0200
Re: IVarPut Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2013-10-23 13:11 +0100
Re: IVarPut Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2013-10-23 15:54 +0100
Re: IVarPut Krystian <softb@softb.pl> - 2013-10-23 06:24 -0700
Re: IVarPut "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-10-23 15:44 +0200
Re: IVarPut "Jamal" <jamal@examples.net> - 2013-10-23 09:29 -0400
Re: IVarPut "Jamal" <jamal@examples.net> - 2013-10-23 09:30 -0400
csiph-web