DC_MergeGetLists
Posted: Fri May 17, 2013 12:59 am
Hello Roger,
I want to add getlistelements dynamically, it works fine with tabpages, but when adding a simple button I get a new window only with the button. This window cannot get closed. What's wrong in my code ?
regards
Rudolf
------------------------------------------------------------------------------
ERROR LOG of "V:\FormCommander\sysmon.exe" Date: 17-05-2013 09:33:37
Xbase++ version : Xbase++ (R) Version 1.90.355
Operating system : Windows Vista 06.01 Build 07600
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Parameter has a wrong data type
oError:filename :
oError:genCode : 2
oError:operation : len
oError:osCode : 0
oError:severity : 2
oError:subCode : 3
oError:subSystem : BASE
oError:thread : 5
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from DC_MERGEGETLISTS(11674)
Called from ADDBUTTON(141)
Called from (B)FCDESIGNER(75)
Called from _PROCESSHOTKEY(5287)
Called from DC_GETLIST:EVENTLOOP(4533)
Called from DC_GETLIST:READGUI(3677)
Called from DC_READGUI(101)
Called from FCDESIGNER(122)
Called from (B)SYSMONSTAT(3658)
Called from DC_XBPPUSHBUTTONXP:ACTION(1409)
Called from (B)DC_XBPPUSHBUTTONXP:INIT(214)
Called from XBPPUSHBUTTON:HANDLEEVENT(964)
Called from DC_GETLIST:EVENTLOOP(4453)
Called from DC_GETLIST:READGUI(3677)
Called from DC_READGUI(101)
Called from SYSMONSTAT(3687)
Called from (B)TASKBARMENU(1499)
DBE Component Data :FOXDBE
DBE Component Order:CDXDBE
I want to add getlistelements dynamically, it works fine with tabpages, but when adding a simple button I get a new window only with the button. This window cannot get closed. What's wrong in my code ?
regards
Rudolf
Code: Select all
DCHOTKEY xbeK_ALT_F12 ACTION {||addbutton(Getlist),dc_getrefresh(getlist)}
...
function addbutton(aGetlist)
******************************************************************
local getlist := {}
@ 3,1 dcpushbuttonxp caption "test" size 10,1 ACTION {||piep()}
DCREAD GUI EXIT
return DC_MergeGetLists(aGetList,GetList)
ERROR LOG of "V:\FormCommander\sysmon.exe" Date: 17-05-2013 09:33:37
Xbase++ version : Xbase++ (R) Version 1.90.355
Operating system : Windows Vista 06.01 Build 07600
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: J
oError:cargo : NIL
oError:description : Parameter has a wrong data type
oError:filename :
oError:genCode : 2
oError:operation : len
oError:osCode : 0
oError:severity : 2
oError:subCode : 3
oError:subSystem : BASE
oError:thread : 5
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from DC_MERGEGETLISTS(11674)
Called from ADDBUTTON(141)
Called from (B)FCDESIGNER(75)
Called from _PROCESSHOTKEY(5287)
Called from DC_GETLIST:EVENTLOOP(4533)
Called from DC_GETLIST:READGUI(3677)
Called from DC_READGUI(101)
Called from FCDESIGNER(122)
Called from (B)SYSMONSTAT(3658)
Called from DC_XBPPUSHBUTTONXP:ACTION(1409)
Called from (B)DC_XBPPUSHBUTTONXP:INIT(214)
Called from XBPPUSHBUTTON:HANDLEEVENT(964)
Called from DC_GETLIST:EVENTLOOP(4453)
Called from DC_GETLIST:READGUI(3677)
Called from DC_READGUI(101)
Called from SYSMONSTAT(3687)
Called from (B)TASKBARMENU(1499)
DBE Component Data :FOXDBE
DBE Component Order:CDXDBE