DC_STATUSBARREPAINT problem
Posted: Sun Sep 09, 2012 9:05 am
Hello Roger,
I have dialog, that causes an error when repainting the window after it was sent to the statusbar. I use version 255
--------------------------------------------------
Date : 09-09-2012
Time : 18:00:33
Procedure : DC_STATUSBARREPAINT
Line Number : 11547
Information : Error BASE/3
Description : Parameter has a wrong data type
Operation : <L of >[<4>]
Thread ID : 1
Source :
Called from : (B)INIT: _DCINIT(28)
Called from : DC_STATUSBARREPAINT(11547)
Called from : (B)DC_GETLIST:READGUI(3644)
Called from : (B)DC_MERGEBLOCKS(158)
Called from : DC_GUIALERT(2488)
Called from : DC_ERRORGUI(197)
Called from : (B)INIT: _DCINIT(28)
Called from : DC_STATUSBARREPAINT(11547)
Called from : (B)DC_GETLIST:READGUI(3644)
Called from : (B)DC_MERGEBLOCKS(158)
Called from : DC_GETLIST:EVENTLOOP(4453)
Called from : DC_GETLIST:READGUI(3677)
Called from : DC_READGUI(101)
Called from : PROGMAIN(338)
Called from : MAIN(79)
this is the code of the dialog, I cannot see anything wrong in it
regards
Rudolf
I have dialog, that causes an error when repainting the window after it was sent to the statusbar. I use version 255
--------------------------------------------------
Date : 09-09-2012
Time : 18:00:33
Procedure : DC_STATUSBARREPAINT
Line Number : 11547
Information : Error BASE/3
Description : Parameter has a wrong data type
Operation : <L of >[<4>]
Thread ID : 1
Source :
Called from : (B)INIT: _DCINIT(28)
Called from : DC_STATUSBARREPAINT(11547)
Called from : (B)DC_GETLIST:READGUI(3644)
Called from : (B)DC_MERGEBLOCKS(158)
Called from : DC_GUIALERT(2488)
Called from : DC_ERRORGUI(197)
Called from : (B)INIT: _DCINIT(28)
Called from : DC_STATUSBARREPAINT(11547)
Called from : (B)DC_GETLIST:READGUI(3644)
Called from : (B)DC_MERGEBLOCKS(158)
Called from : DC_GETLIST:EVENTLOOP(4453)
Called from : DC_GETLIST:READGUI(3677)
Called from : DC_READGUI(101)
Called from : PROGMAIN(338)
Called from : MAIN(79)
this is the code of the dialog, I cannot see anything wrong in it
Code: Select all
@ 1,23 dclistbox cExpobj LIST aExpList SIZE 25,6 when {||cMod="E"}
@ 1, 1 DCGROUP oGroup1 CAPTION "Report" SIZE 20,6
@ 1, 1 dcradio cMod CAPTION "Vorschau" value "S" PARENT oGroup1
@ 2, 1 dcradio cMod CAPTION "Designer" value "D" PARENT oGroup1
@ 3, 1 dcradio cMod CAPTION "Druck" value "P" PARENT oGroup1
@ 4, 1 dcradio cMod CAPTION "Export" value "E" PARENT oGroup1
@ 8 ,1 dcsay "Kunde" get nKunde pict "9999999" saysize 10 popup {|c|pop_kun(c,@cName,getlist)}
@ 8,_col() + 10 dcget cName pict "@S30" editprotect {||.t.}
@ 9 ,1 dcsay "Geschäftszahl" get cAuftrag pict "9999999" saysize 10 popup {|c|pop_auftrag(c,@cAufBez,getlist)}
@ 9,_col() + 10 dcget cAufBez pict "@S30" editprotect {||.t.}
@10,1 dcsay "Von Datum" get dVon saysize 10
@11,1 dcsay "Bis Datum" get dBis saysize 10
@ 1,50 dccheckbox lExpOpt caption "Optionen" when {||cMod="E"}
@ 2,50 dccheckbox lExpOpen caption "Nach Export öffnen" when {||cMod="E"}
@ 4,50 dcsay "Export Datei" get cExpFile SAYSIZE 12 PICT "@S40" when {||cMod="E"}
@ 5,50 dcsay "Report Datei" get cReportFile SAYSIZE 12 PICT "@S40" editprotect {||.t.}
@ 5,50 dcsay "Infotext" get cText SAYSIZE 12 PICT "@S40"
@ 6,50 dcsay "Als Email senden" get cMail SAYSIZE 12 pict "@S40" when {||cMod = "E"}
dcread gui fit modal addbuttons to lOk title ctitle + " " + cReportFile
Rudolf