| |
|
|
Jörg Sellmeyer | CompileMarkSeparationClass Test = Test@,
hLV&,
gethdl@
Proc Test.Test
Parameters hwnd&,x%
Declare n%,h&
.hLV& = Create("GridBox",hwnd&,"test;0;80;Test;0;80",0,0,x%,400,100)
h& = .hlv&
WhileLoop 4
AddString((h&),"Test|" + Str$(&Loop))so würde es funktionieren
hier wird .hLV& nicht erkannt und stattdessen eine Fehlermeldung ausgegeben:
Bereichsvariable ist nicht dimensioniert
das passiert aber nur innerhalbeiner Schleife!
AddString((.hLV&),"Test|" + Str$(&Loop))
Wend
EndProc
Proc Test.gethdl
Return .hLV&
EndProc
Cls
Declare AA#[5]
Var hTabCtrl& = Create("TabCtrl",%hwnd,"Test",0,24,Width(%hwnd),Height(%hwnd) - 24)
WhileLoop 7
InsertTab(hTabCtrl&,&Loop,"Test" +Str$(&Loop))
Wend
WhileLoop 0,2
AA#[&Loop] = New(Test,hTabCtrl&,(104 * &Loop + 26))
Wend
WhileLoop 0,2
Print AA#[&Loop].gethdl()
Wend
WaitInput
In of/ one normalen While-Loop functions it however. under XProfan10 have I now too tested and it knallt ditto! I find however, this is nothing, what somehow as feature deklarieren could: [...] |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/27/08 ▲ |
|
|
|
|
Dieter Zornow | i think time it's located here dran
AA#[& Loop] The Fehlermeldungen of Profan must one not To serious take. it'll fixes, that something not is correct and then something, by Zufallsgenerator angemeckert. have I often erlebt and one seek on the incorrect Space. |
|
|
| Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 08/27/08 ▲ |
|
|
|
|
Jörg Sellmeyer | this is me already clear, that it on it lying. leaves itself indeed integrally simply to check on. simply these Loop insert, instead of the in the code: CompileMarkSeparation and already functions it. is Although a Workaraound, the others ought to but nevertheless functions. |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/27/08 ▲ |
|
|
|
|
Jörg Sellmeyer | apparently one bow, whom Roland overlooking has...
Perhaps depends the so together: [...]
These functions z.B. neither: CompileMarkSeparation |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 10/21/11 ▲ |
|
|
|
|
RGH | Hello Jörg, in Your example goes it, if you at Input-commands x#.s2$ angibst. Offensichlich becomes with Input (who using so about?) The With-expansion overlooking. I look time to. the should but always so his.
Greeting Roland |
|
|
| XProfan X2Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 10/21/11 ▲ |
|
|
|
|
Jörg Sellmeyer | it shining even not only at Input-commands so To his. If you time the Link follow - there has someone the Completed: Input #n,.s$ within of/ one procedure is the thoroughly meaningfully, if one Klassenprozeduren writes, in them even not the Bezeichner beforehand stand should.
probably can with the of/ one Parameter Passing the Klassenbezeichners solve but the find I Suboptimal.
have Thou whom Error of Eröffnungspost found? |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 10/21/11 ▲ |
|
|
|