Search found 424 matches: events

Return to advanced search

WebView resize

... ValToChar(hTemp)) oWebView:Terminate() oWebView:Destroy() Do you think it would be more effective to use a timer to monitor for resize events from the HTML code? What does oWebView:SetSize() ? Best regards, Otto
by Otto
Fri Mar 08, 2024 10:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView resize
Replies: 9
Views: 2095

Re: Google Graph extra graphic ? (Navaro)

Here you have it. The values are changing from the button, next is to change them from the xbrowse events: #include "FiveWin.ch"#Define CLR_ORANGE     nRGB( 255, 165, 000 )extern dbfcdxfunction Main()   local oDlg, oWebView, ...
by Antonio Linares
Wed Feb 21, 2024 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Google Graph extra graphic ? (Navaro)
Replies: 23
Views: 2823

Re: SAPI : change Voice

hi Daniel, i have try to Debug Events (see last Page) and have ask "what does they mean" Antonio found Solution that 1st Parameter are the Event "Number" Events and meanings: 1 --> Start 3 --> An OLE object is received, ...
by Jimmy
Wed Feb 14, 2024 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

hi Antonio, Events and meanings: 1 --> Start 3 --> An OLE object is received, probably self OLE object ? 5 --> Word, 4th param is position, 5th param is length 6 --> ??? 7 --> Sentence, 4th param is position, 5th ...
by Jimmy
Mon Feb 12, 2024 6:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

Events and meanings: 1 --> Start 3 --> An OLE object is received, probably self OLE object ? 5 --> Word, 4th param is position, 5th param is length 6 --> ??? 7 --> Sentence, 4th param is position, 5th param ...
by Antonio Linares
Sun Feb 11, 2024 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

Dear Jimmy, Can you share the RC for your example ? In case you are using a RC file... My mistake: the difference with events is NOT a handle of a window. The difference is to play in ASYNC mode !!! oVoice:Speak( "harbour and xharbour", 1 ) // that 1 uses Async mode and ...
by Antonio Linares
Sun Feb 11, 2024 10:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

IMO the reason why we were not getting the events was that we were not using a window/dialog in the example

As soon as we have tested it with a dialog, the events arrive! :-D
by Antonio Linares
Sun Feb 11, 2024 9:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

Never mind, I got the events working here! :-D

Now lets analize them...
by Antonio Linares
Sun Feb 11, 2024 9:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

Dear Jimmy,

Those are the different events info!

Please post here the exact code you are using and I will help you to process them
by Antonio Linares
Sun Feb 11, 2024 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

webview: toggle-switch replaceing TSwitch

... there is an HTML form and a table. On the right side is an XBrowse. You can observe how WebView2 updates the XBrowse. I use XBrowse to display the events coming from JavaScript to Fivewin. I am trying to follow the 'fetch syntax' of JavaScript in Fivewin. The goal is to familiarize oneself with ...
by Otto
Fri Feb 09, 2024 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: webview: toggle-switch replaceing TSwitch
Replies: 1
Views: 142

Re: SAPI : change Voice

Harbour function __axRegisterHandler() register an events handler.

meanwhile the speak of a text there are events but they don't arrive. No idea why.

We have low level debugged the code and it is correct but somehow the events are not arriving
by Antonio Linares
Thu Feb 08, 2024 3:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

Dear Enrico,

Here it builds ok with Harbour but events are not working
by Antonio Linares
Thu Feb 08, 2024 2:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

... si entre todos descubrimos como hacerlo funcionar: function main()   local oVoice := CreateObject( "Sapi.SPVoice", "WithEvents" )  Hola Antonio Linares : estuve leyendo Voice Events en https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms723602(v=vs.85) ...
by Danielmaximiliano
Thu Feb 08, 2024 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: SAPI : change Voice

... I have requested to join the forums so maybe we can solve it together. I have been trying to use the events and it seems as something is missing: function main()    local oVoice := CreateObject( "Sapi.SPVoice", "WithEvents" ...
by Danielmaximiliano
Tue Feb 06, 2024 1:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3497

Re: TWebView window size

I am thinking about using a thread to run webview, so both events loops (FWH and WebView) may coexist...

An example coming soon :-)
by Antonio Linares
Fri Feb 02, 2024 11:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TWebView window size
Replies: 14
Views: 849
Next

Return to advanced search