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


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

Re: Making bBrowser cells editable or non-editable dynamically

Newsgroups comp.lang.clipper.visual-objects
Date 2016-11-07 07:03 -0800
References <e93c2d0d-3932-4614-a728-af18f9d178b1@googlegroups.com>
Message-ID <04f75581-e916-48af-bf6b-3b236389df3e@googlegroups.com> (permalink)
Subject Re: Making bBrowser cells editable or non-editable dynamically
From Sjonnie D <Sjonnied@gmail.com>

Show all headers | View raw


Hi Richard,
In your define bbrowser you can add an edit condition to a column. This will make it NON-editable when the condition is true.

 oEditCondition := EditCondition{'Server:TYPE<>"N"',oServer,FALSE}
 bBrowser:GetColumn(2):EditCondition:Add(oEditCondition)

To make it Red when it is not Editable:
oColorCondition := ColorCondition{'Server:TYPE<>"N"',oServer,Color{COLORRED}}
oBrowser:GetColumn(2):ColorCondition:Add(oColorCondition)

Thats all.

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


Thread

Making bBrowser cells editable or non-editable dynamically rkaplan328 <richard.d.kaplan@gmail.com> - 2016-11-04 17:37 -0700
  Re: Making bBrowser cells editable or non-editable dynamically D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-11-05 09:13 +0100
    Re: Making bBrowser cells editable or non-editable dynamically rkaplan328 <richard.d.kaplan@gmail.com> - 2016-11-05 02:49 -0700
  Re: Making bBrowser cells editable or non-editable dynamically Sjonnie D <Sjonnied@gmail.com> - 2016-11-07 07:03 -0800
    Re: Making bBrowser cells editable or non-editable dynamically rkaplan328 <richard.d.kaplan@gmail.com> - 2016-11-07 14:43 -0800
      Re: Making bBrowser cells editable or non-editable dynamically rkaplan328 <richard.d.kaplan@gmail.com> - 2016-11-07 23:20 -0800
        Re: Making bBrowser cells editable or non-editable dynamically Joachim Bieler <support@votools.com> - 2016-11-09 07:02 +0100
  Re: Making bBrowser cells editable or non-editable dynamically Martin <Martin@spam.spam> - 2016-11-08 09:12 +0000

csiph-web