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


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

Re: bbrowser 4 RowSelect Event

From D.J.W. van Kooten <vankooten@removethis.ic2.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: bbrowser 4 RowSelect Event
Date 2015-06-08 14:01 +0200
Organization IC2
Message-ID <2q0bnapjtpkc5meafd95cdgitvk5galjvh@4ax.com> (permalink)
References <98953d4b-3f6b-43a5-856f-0812d5632f29@googlegroups.com>

Show all headers | View raw


On Mon, 8 Jun 2015 01:55:59 -0700 (PDT), siegfried.reichmann@aon.at
wrote:

Hello Siegfried,
>
>I have two bbrowser controls on one window with a parent child connection.
>
>How can I identify the sender of the event? Or is it possible to define different RowSelect Events for each bbrowser control?
>
Not sure if there's a better method, but this works for us:

CLASS DoclinksBrowser2 INHERIT IC2bDataBrowser
//#s Subclass to recognize it in rowselect


METHOD ChkDoclinksBrowser2 CLASS DoclinksBrowser2
RETURN NIL    

and in the RowSelect:


IF IsMethod(bRowEvent:Control,#ChkDoclinksBrowser2)

So you just check if a specific method exist in the browser generating
the event and if so you know you have the right browser.

Dick

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


Thread

bbrowser 4  RowSelect Event siegfried.reichmann@aon.at - 2015-06-08 01:55 -0700
  Re: bbrowser 4  RowSelect Event siegfried.reichmann@aon.at - 2015-06-08 04:59 -0700
    Re: bbrowser 4 RowSelect Event "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-06-08 15:30 +0200
      Re: bbrowser 4 RowSelect Event Siegfried Reichmann <siegfried.reichmann@aon.at> - 2015-06-08 07:55 -0700
        Re: bbrowser 4 RowSelect Event "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-06-08 17:43 +0200
          Re: bbrowser 4 RowSelect Event Siegfried Reichmann <siegfried.reichmann@aon.at> - 2015-06-08 11:33 -0700
  Re: bbrowser 4  RowSelect Event D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-08 14:01 +0200
    Re: bbrowser 4  RowSelect Event Siegfried Reichmann <siegfried.reichmann@aon.at> - 2015-06-08 07:59 -0700
  Re: bbrowser 4  RowSelect Event Joachim Bieler <support@votools.com> - 2015-06-09 07:22 +0200
    Re: bbrowser 4  RowSelect Event Siegfried Reichmann <siegfried.reichmann@aon.at> - 2015-06-09 00:41 -0700

csiph-web