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


Groups > comp.lang.clipper.visual-objects > #10294 > unrolled thread

Bbrowser 4.0 AutoRefresh()

Started byFrank M <frank_muessner@gmx.de>
First post2017-03-15 07:32 -0700
Last post2017-03-16 04:04 -0700
Articles 5 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Bbrowser 4.0 AutoRefresh() Frank M <frank_muessner@gmx.de> - 2017-03-15 07:32 -0700
    Re: Bbrowser 4.0 AutoRefresh() "Jamal" <noooospam@example.com> - 2017-03-15 12:37 -0400
      Re: Bbrowser 4.0 AutoRefresh() "Gerhard Bunzel" <g.bunzel@domonet.de> - 2017-03-15 22:38 +0100
        Re: Bbrowser 4.0 AutoRefresh() "Jamal" <noooospam@example.com> - 2017-03-15 20:23 -0400
      Re: Bbrowser 4.0 AutoRefresh() Frank M <frank_muessner@gmx.de> - 2017-03-16 04:04 -0700

#10294 — Bbrowser 4.0 AutoRefresh()

FromFrank M <frank_muessner@gmx.de>
Date2017-03-15 07:32 -0700
SubjectBbrowser 4.0 AutoRefresh()
Message-ID<4c679e76-2f01-4905-a5eb-cd4317d9eb0f@googlegroups.com>
Hello, 

i look for a Event to get inform that the Browser have done a Refresh() called from AutoRefresh()
so i can react after the Refresh(). 

Is there a Event that i have not found?

Regards, Frank 

[toc] | [next] | [standalone]


#10296

From"Jamal" <noooospam@example.com>
Date2017-03-15 12:37 -0400
Message-ID<oabqkn$nha$1@news.albasani.net>
In reply to#10294
I just checked the AutoRefresh() method and there is no such event.

If you have the source code, you can add the code to handle such 
requirement.

Jamal

"Frank M"  wrote in message 
news:4c679e76-2f01-4905-a5eb-cd4317d9eb0f@googlegroups.com...

Hello,

i look for a Event to get inform that the Browser have done a Refresh() 
called from AutoRefresh()
so i can react after the Refresh().

Is there a Event that i have not found?

Regards, Frank 

[toc] | [prev] | [next] | [standalone]


#10297

From"Gerhard Bunzel" <g.bunzel@domonet.de>
Date2017-03-15 22:38 +0100
Message-ID<oacc8o$3tp$1@news-1.m-online.net>
In reply to#10296
Jamal,

...then you have another source code than me.

If the bBrowser founds something to refresh in the current view, the owner 
of the changed bBrowser receives a message:

SendMessage(SELF:oCommandOwner:Handle(), WM_COMMAND, 
MAKEWPARAM(SELF:ControlID, BBRWN_AUTOREFRESH), LONG(_CAST, PTR(_CAST, 
SELF:Handle


Have done a short test:
METHOD Dispatch (oEvent) CLASS dtaAuftragsVerwaltung
LOCAL oEvt AS EVENT

oEvt := oEvent

DO CASE

CASE oEvt:Message == WM_COMMAND

   IF HiWord(oEvt:wParam) == BBRWN_AUTOREFRESH

      _dOut(LoWord(oEvt:wParam)) // bBrowser:ControlID

//      oEvt:lParam               // bBrowser:Handle

   ENDIF

ENDCASE

RETURN SUPER:Dispatch(oEvt)


HTH

Gerhard Bunzel



"Jamal"  schrieb im Newsbeitrag news:oabqkn$nha$1@news.albasani.net...

I just checked the AutoRefresh() method and there is no such event.

If you have the source code, you can add the code to handle such
requirement.

Jamal

"Frank M"  wrote in message
news:4c679e76-2f01-4905-a5eb-cd4317d9eb0f@googlegroups.com...

Hello,

i look for a Event to get inform that the Browser have done a Refresh()
called from AutoRefresh()
so i can react after the Refresh().

Is there a Event that i have not found?

Regards, Frank 

[toc] | [prev] | [next] | [standalone]


#10298

From"Jamal" <noooospam@example.com>
Date2017-03-15 20:23 -0400
Message-ID<oaclta$nji$1@news.albasani.net>
In reply to#10297
You're right! Good catch!

Jamal
"Gerhard Bunzel"  wrote in message news:oacc8o$3tp$1@news-1.m-online.net...

Jamal,

...then you have another source code than me.

If the bBrowser founds something to refresh in the current view, the owner
of the changed bBrowser receives a message:

SendMessage(SELF:oCommandOwner:Handle(), WM_COMMAND,
MAKEWPARAM(SELF:ControlID, BBRWN_AUTOREFRESH), LONG(_CAST, PTR(_CAST,
SELF:Handle


Have done a short test:
METHOD Dispatch (oEvent) CLASS dtaAuftragsVerwaltung
LOCAL oEvt AS EVENT

oEvt := oEvent

DO CASE

CASE oEvt:Message == WM_COMMAND

   IF HiWord(oEvt:wParam) == BBRWN_AUTOREFRESH

      _dOut(LoWord(oEvt:wParam)) // bBrowser:ControlID

//      oEvt:lParam               // bBrowser:Handle

   ENDIF

ENDCASE

RETURN SUPER:Dispatch(oEvt)


HTH

Gerhard Bunzel



"Jamal"  schrieb im Newsbeitrag news:oabqkn$nha$1@news.albasani.net...

I just checked the AutoRefresh() method and there is no such event.

If you have the source code, you can add the code to handle such
requirement.

Jamal

"Frank M"  wrote in message
news:4c679e76-2f01-4905-a5eb-cd4317d9eb0f@googlegroups.com...

Hello,

i look for a Event to get inform that the Browser have done a Refresh()
called from AutoRefresh()
so i can react after the Refresh().

Is there a Event that i have not found?

Regards, Frank 

[toc] | [prev] | [next] | [standalone]


#10300

FromFrank M <frank_muessner@gmx.de>
Date2017-03-16 04:04 -0700
Message-ID<a72270e1-8b57-4440-9f54-3b192f32f47b@googlegroups.com>
In reply to#10296
Hello Gerhard and Jamal, 

thanks for this support. Did not see it this way :-)

Regards Frank 

Am Mittwoch, 15. März 2017 17:37:44 UTC+1 schrieb Jamal:
> I just checked the AutoRefresh() method and there is no such event.
> 
> If you have the source code, you can add the code to handle such 
> requirement.
> 
> Jamal
> 
> "Frank M"  wrote in message 
> news:4c679e76-2f01-4905-a5eb-cd4317d9eb0f@googlegroups.com...
> 
> Hello,
> 
> i look for a Event to get inform that the Browser have done a Refresh() 
> called from AutoRefresh()
> so i can react after the Refresh().
> 
> Is there a Event that i have not found?
> 
> Regards, Frank

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web