| Author | Topic: ActiveX response is verry slow |
---|
| Jack Duijf | ActiveX response is verry slow
on Mon, 28 Jan 2019 19:10:25 +0100Hello,
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 Lee | Re: ActiveX response is verry slow
on Sun, 10 Mar 2019 08:30:46 +0100hi,
> 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 Herz | Re: ActiveX response is verry slow
on Mon, 01 Apr 2019 13:35:45 +0200oActiveX: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 Lee | Re: ActiveX response is verry slow
on Tue, 02 Apr 2019 02:50:33 +0200hi,
> 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 |