Alaska Software Inc. - ActiveX response is verry slow
Username: Password:
AuthorTopic: ActiveX response is verry slow
Jack DuijfActiveX response is verry slow
on Mon, 28 Jan 2019 19:10:25 +0100
Hello,

I have a xbpStatic as a parent to an ActiveX control (Calendar).
After creating the controll, al is displayed correctly, but it takes a verry long time 
Also navigation is extreemly slow.
Response time is on average 4 seconds after mouseclick or key-press.

What can i do to make it more responsive?  

The DEMO of tyhe activeX is in VB6, and lightning fast.



Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)
Jim LeeRe: ActiveX response is verry slow
on Sun, 10 Mar 2019 08:30:46 +0100
hi,
> I have a xbpStatic as a parent to an ActiveX control (Calendar).
> After creating the controll, al is displayed correctly, but it takes a
> verry long time
> Also navigation is extreemly slow.
> Response time is on average 4 seconds after mouseclick or key-press.
>
> What can i do to make it more responsive?

have you try

oActiveX:UseGuiThread   := .F.



---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com
Marcus HerzRe: ActiveX response is verry slow
on Mon, 01 Apr 2019 13:35:45 +0200
oActiveX:UseGuiThread   := .F.

Where to find this method ? not known to Xbase++
I have the same problem, mouseclicks are very slow, but only with Xbase


Am 10.03.2019 um 08:30 schrieb Jim Lee:
> hi,
>> I have a xbpStatic as a parent to an ActiveX control (Calendar).
>> After creating the controll, al is displayed correctly, but it takes a
>> verry long time
>> Also navigation is extreemly slow.
>> Response time is on average 4 seconds after mouseclick or key-press.
>>
>> What can i do to make it more responsive?
> 
> have you try
> 
> oActiveX:UseGuiThread   := .F.
> 
> 
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
>
Jim LeeRe: ActiveX response is verry slow
on Tue, 02 Apr 2019 02:50:33 +0200
hi,

> oActiveX:UseGuiThread   := .F.
>
> Where to find this method ? not known to Xbase++
> I have the same problem, mouseclicks are very slow, but only with Xbase

you do not find it in Alaska Help file ...

Xbase++ ActiveX normal run in GUIthread and if Control "send" Event it have
own Event loop
you can try to syncronisize it this Way

   IF ::UseGUIThread == .T. .AND. ThreadId() != UIThreadId()
      RETURN ::SynchronizeMethod( -1, "CreateControl" )
   ENDIF




---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com