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


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

Re: bBrowser Editable

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Joachim Bieler <support@votools.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bBrowser Editable
Date Tue, 26 Apr 2011 07:25:57 +0200
Lines 44
Message-ID <91n3b4FskoU1@mid.individual.net> (permalink)
References <566ea3b0-3e74-4588-ae9e-7f0b81204957@x37g2000prb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net LRgs1+SBdnhZPLREpbS2+ASyab0bPXaL7fqf2twiw51o2AoBtS
Cancel-Lock sha1:BDNIPk3wjsTl3lPmV4jR7wjyWuE=
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
In-Reply-To <566ea3b0-3e74-4588-ae9e-7f0b81204957@x37g2000prb.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:941

Show key headers only | View raw


Hi Rob,

your code is right and should work. One reason why it nevertheless does not work could be that 
several columns exist with the name. You can check this with the code below:

iDuplicate := 0
for iPos := 1 upto oBrowser:ColumnCount
     oColumn := oBrowser:GetColumn(iPos)
     if oColumn:NameSym = #YEAR
         iDuplicate += 1
     endif
next
if iDuplicate > 1
     ? "Column exists repeatedly."
endif

Regards,
Joachim Bieler



Am 17.04.2011 13:57, schrieb Rob Smith:
> Hi
>
> I'm using bArrayServer and wish to disable editing the first column
>
> Relevant code is
>
> 	self:oDCbBrowserDataBS:Editable:=true
> 	self:oDCbBrowserDataCR:Editable:=true
> 	self:oDCbBrowserDataPL:Editable:=true
>
> 	oDataColumn:=self:oDCbBrowserDataBS:GetColumn(#YEAR)
> 	oDataColumn:Caption:="Year"
> 	oDataColumn:Width:=180
> 	oDataColumn:Editable:=false
>
> The caption and width work fine, but it still allows editing of all
> columns, what am I doing wrong?
>
> Thanks
>
> Rob
>

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


Thread

bBrowser Editable Rob Smith <rasmithhalifax@googlemail.com> - 2011-04-17 04:57 -0700
  Re: bBrowser Editable "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-17 22:12 +0000
  Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-18 06:47 +0200
    Re: bBrowser Editable "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-19 22:15 +0000
      Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-20 09:19 +0200
        Re: bBrowser Editable "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-04-20 19:36 +1000
          Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-22 18:11 +0200
        Re: bBrowser Editable "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-20 21:50 +0000
          Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-22 18:19 +0200
            Re: bBrowser Editable "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-23 00:57 +0000
              Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-24 07:09 +0200
                Re: bBrowser Editable "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-25 22:44 +0000
                Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-26 21:29 +0200
                Re: bBrowser Editable "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-26 22:19 +0000
                Re: bBrowser Editable D.J.W. van Kooten <public@ic2remove.this.com> - 2011-04-27 17:48 +0200
            Re: bBrowser Editable "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-04-29 20:05 +1000
  Re: bBrowser Editable Joachim Bieler <support@votools.com> - 2011-04-26 07:25 +0200

csiph-web