Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #6151

Re: IVarPut

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: IVarPut
Date 2013-10-23 15:44 +0200
Message-ID <bcq26uF44etU1@mid.individual.net> (permalink)
References <c6ececa1-52c2-461c-9e29-9d990043f504@googlegroups.com> <a153b791-68b3-460e-9a04-a95057d4d0ae@googlegroups.com>

Show all headers | View raw


Hi Krystian,

> but still it is not clear for me (maybe it is also a problem with my
> englisch).
> 
> Here is the declaration of this entity in the class
> 
> EXPORT oDCNazwa1 AS SINGLELINEEDIT

my mistake - I have them all as exports

> How can I obtain and maintain the array of controls ?

the aControls array is maintained by the GUI classes for you.

You can find the correct control with:

local nPos as dword
local oControl as SingleLineEdit

if ( nPos := AScan( aControls, {|o| o:NameSym == #NazWa1 } ) ) > 0
  oControl := aControls[nPos]
  oControl:Value := "abcd"
endif


Wolfgang



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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