Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.osn.de!diablo2.news.osn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joachim Bieler Newsgroups: comp.lang.clipper.visual-objects Subject: Re: bBrowser 3.0 (VO 2.8) Date: Mon, 27 Jun 2011 06:18:46 +0200 Lines: 64 Message-ID: <96qel4FducU1@mid.individual.net> References: <95oaj2FapeU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net jVhPeN1jLNIqrP8yFnZJiAJe5k87lnRw/AlQ7ingmGkvsnTERo Cancel-Lock: sha1:YMhiZoQI9/XyQj/qVaF+yQFU8aE= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.clipper.visual-objects:1544 Hi Darmadi, please excuse my late response. You are right. Both conditions has a different result. The reason for this is, that all cells can be selected in the bBrowser by default. With the first select condition all cells are excluded from the default select behaviour with TYPE <> "N". This make sense. With the second condition all cells are included for the selection with TYPE == "N". Because all cells can be selected anyway as default, the second condition does not make sense. Regards, Joachim Bieler Am 18.06.2011 04:39, schrieb Darmadi: > Hi Joachim Bieler, > > When I traced back, I have misuse the SelectCondition > > oSelectCondition := bSelectCondition{'Server:TYPE<>"N"',oasServer,FALSE} > > oSelectCondition := bSelectCondition{'Server:TYPE=="N"',oasServer,TRUE} > > Both of code has different result depend on selectable setting, as before I thought there are same. > The key is in parameter no. 3, lSelectable in INIT > > lSelectable: A logical value that defines the selectable ability and is used if the result of the > condition is TRUE. > > > Thanks, > Darmadi > > > "Joachim Bieler" wrote in message news:95oaj2FapeU1@mid.individual.net... > > Hi Darmadi, > > I have tested the bSelectCondition again and it works fine. > > If you have problems with this, then send me a test application (aef file) with that I can reproduce > your problem. > > Regards, > Joachim Bieler > > > > Am 11.06.2011 05:10, schrieb Darmadi: >> Hi to all, >> >> Does anybody has tested bSelectionCondition ? >> >> oColumn := oBrowser:GetColumn(#DEC) >> oSelectCondition := bSelectCondition{'Server:TYPE<>"N"',oasDBSTRUCT,FALSE} >> oColumn:SelectCondition:Add(oSelectCondition) >> >> I have tested it, but nothing effect. >> >> Any clue for it? >> >> Regards, >> Darmadi >