Page 1 of 1
Windows 10 IoT Core
Posted: Wed Jan 06, 2021 4:48 am
by rdonnay
Has anyone developed an app for a computer running Windows 10 IoT Core?
One of my customers of eXpress++ uses DCPUSHBUTTONXP buttons on a POS app.
It appears that the ownerdrawing used by DC_XbpPushButtonXP() runs much slower on this computer and even causes pressed buttons to be missed.
Re: Windows 10 IoT Core
Posted: Mon Jan 11, 2021 10:19 am
by PedroAlex
Roger,
I have that situation...
Windows 10 iot Core.
This system it is popular on Post of sales with Touchscreen
The DcPushButtonXP are very slow on screens with many buttons
It run a litle better must disable this parameters :
oButtonConfig:gradientStep
oButtonConfig:gradientReverse
oButtonConfig:radius
oButtonConfig:gradientStyle
But if there are many buttons on the screen will be slower even so..
Re: Windows 10 IoT Core
Posted: Tue Jan 12, 2021 5:23 am
by rdonnay
I fixed the problem with pressed buttons being missed.
In _DCXBUTT.PRG:
Make this change:
Code: Select all
METHOD DC_XbpPushButtonXP:lbClick( aPos )
IF !::isStatic
IF !Empty(::menuBlock) .AND. aPos[1] >= ::currentSize()[1] - ::menuButtonWidth
::menuClicked := .t.
ELSE
::menuClicked := .f.
ENDIF
ELSE
// DC_ClearEvents() <<<<< remove this or comment it out
ENDIF
RETURN self