Sreen resolution
Posted: Tue Apr 30, 2013 7:06 am
I have a problem to read the data of screen resolution.
With the command
nWidth := AppDeskTop():currentSize()[1]
an error is displayed:
oError:args :
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Parameter hat falschen Typ
oError:filename :
oError:genCode : 2
oError:operation : currentSize
oError:osCode : 0
oError:severity : 2
oError:subCode : 1025
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
Include files are std / xbp / appevent.ch are foreseen.
Has anyone an idea what I have missed?
Thanks in advance
Dieter
With the command
nWidth := AppDeskTop():currentSize()[1]
an error is displayed:
oError:args :
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Parameter hat falschen Typ
oError:filename :
oError:genCode : 2
oError:operation : currentSize
oError:osCode : 0
oError:severity : 2
oError:subCode : 1025
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
Include files are std / xbp / appevent.ch are foreseen.
Has anyone an idea what I have missed?
Thanks in advance
Dieter