English
Forum

EditBox-Bug in XProfan 8.0a

 

Dietmar
Horn
Hello together,

since kurzem works we in our Kursen with XProfan 8.0a.

today be I there a seltsamen bow stumbled. I befürchtete already, I must in my own association with my Schülern first time a XProfan-basic course visit ...
declare File$,row$,i%,ebox&
datei$ = "TEST.PRF"
ClearList
assign #1,File$
reset #1

whilenot eof(#1)

    input #1,row$
    AddStrings row$

wend

close #1
cls
ebox& = EditBox("Code",1)
casenot ebox& : end
clear i%

while i% < %GetCount

    row$ = ListBoxItem$(i%)
    messagebox(row$,"",0)
    inc i%

wend

end

evident deletes The vorgefertigte Editbox The interne Listbox-list, so that the Abspeichern of/ one changed File you don't say so is. I have the straight To dwell ditto once more with XProfan 8 and XProfan 8.0a gecheckt: The Messagebox remaining empty!

into Kursen can I not XProfan 9.1 or XProfan 10 sheer, because not any schoolboy registered users this versions are.

gives it dbzgl. evtl. a Workaround?

with XProfan 9.1 and XProfan 10 against it works the again fine. with Profan² 6.6 have I the now not tested, but I suspect time, so becomes the ditto klappen, otherwise would me the certainly former already time noticed.

if it of weight his ought to:

in the PC-cabinet passierte the under Windows XP Prof., by me To dwell XP Home.

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
12/11/06  
 



the example supra isn't run! Fehlende VarDecls.
 
12/11/06  
 




Dietmar
Horn
Sorry! If already time quick weg should ...

probably must I soon still time with MMJ to that Windoofs-basic course register, so I the complete copy by Clipboard learn can ...

I habs supra korrigiert.

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
12/11/06  
 




RGH
Hi,
I have it even by me ausprobiert and by me goes it. Very strange, the!

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
12/11/06  
 




Dietmar
Horn
Hello Roland,

it likes Yes his, that it with you under windows 2000 functions.

i'm this bow indeed first now noticed, though I already since of/ one small eternity with Profan² or. XProfan program and so courses durchführe (since Profan² 3.3 - the know You Yes yourself best).

on veralteter Hard- or software can it now definitiv but really not any more lying! one the of unserem MMJ-association genutzen Computerkabinette (see  [...]  watts first on the 8.12.2006 new eingeweiht (of AMD Dresden gesponsort). and my actually XP-PC have so did i first since july 2006 ...

nevertheless works it with the EditBox and the Listbox-list unfortunately not!

possible could the on the middle-aged PC-Kloppern in unserem second cabinet with XProfan 8.0a under Win 95, 98, ME, 2000 functions. naturally I will the testing. still what nützt me the, if The Jungs To dwell meanwhile almost any XP having?

try I will the in unserem 2. cabinet however first again on the friday can.

Try the still Please with XPRF 8.0a time yourself XP from. I can hardly present, that Microsoft on us Ossis others windows-XP-versions ausliefert (alike, whether XP-Prof. or XP-Home) ...

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
12/12/06  
 




Michael
Wodrich
I have XP Home

at that first appeal has not worked.

at that second appeal was everything OK.

The reason:
The File watts not found. Korrektur on solid way and it flutscht.

with Dateiinhalt:
this
is
one
Test
missing with the display incidentally the Test; anyway with unverändertem Program.

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
12/12/06  
 




Dietmar
Horn
Hello Mischa,

so stupid feel I with my almost 51 Lenzen now neither straight, that I do not first nachschaue, whether there not at rascal-code in the course evtl. with absolutem, relativem way, o.ä. itself something bite could ...

too %IoResult stimmte (supplied always 0 back, ditto i% = %IoResult - because of the Zurücksetzens to the Reading, etc. ...), and everything else drumherum stimmte ditto.

How already said: too on my private-PC works with the XPRF 8.x not - so How described.

[quote:44e68084c2]at that first appeal has not worked.

at that second appeal was everything OK.[/quote:44e68084c2]
??? ... should The Jungs with ihren XPRF-8.x-compilierten Programs about now always first each yours programs as introduction a semidetached-Start-routine in direction API-Mutex proggen???

no ... I wealth time, here might sooner Rolands Entgegenkommen demand his (because XPRF 8 already something older is, etc.) ...

Greeting
Dietmar
 
Multimedia für Jugendliche und junge Erwachsene - MMJ Hoyerswerda e.V.  [...] 

Windows 95 bis Windows 7
Profan² 6.6 bis XProfan X2 mit XPSE

Das große XProfan-Lehrbuch:  [...] 
12/12/06  
 




Jörg
Sellmeyer
means, I can Dietmars observation confirm!

possible Error can so too as quickly as possible to clean out:
AddStrings "Test"
EditBox("Test 1",2)
$ ListBox("Test 2",2)
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/12/06  
 




RGH
Hello Dietmar,
I bezweifle not, that it there a problem gives. I verzweifle sooner on it, very one- or auszugrenzen, under whom terms it appears.
i know, that it there a problem given, I with of/ one later XProfan-Version (9.1?) resolved have. unfortunately lying the again so far back, that I do not More exakt white, what it was, only that it schwerpunktmäßig XP auftrat. Aufgefallen is it right late, there evident almost nobody (me locked in) whom installed Editdialog uses.

I had me then for a companies-proposition following procedure as substitute written:
!Proc EditboxEx
-------------
parameters cover$, type%
declare schrift&, hDialog&, hEdit&, hOk&, hEsc&, end%, maxline%

if type% = 1

    schrift& = create("Font", "Arial", 16,0,0,0,0)

else

    schrift& = create("Font", "Courier New", 16,0,0,0,0)

endif

hDialog& = create("Dialog", %hWnd, cover$, %MaxX/2 - 320, %MaxY/2 - 240, 640, 480)
hEdit&   = create("MultiEdit", hDialog&, "", 0, 0, 636, 420)
hOk&     = create("Button", hDialog&, "&Ok", 492, 428, 68, 24)
hEsc&    = create("Button", hDialog&, "&Abbruch", 564, 428, 68, 24)
SetFont hEdit&, schrift&
Ende% = 0
Stringliste -> MultiEdit
MoveListToHandle(hEdit&)

WhileNot end%

    WaitInput

    If (%Key = 2) or Clicked(hEsc&)

        end% = 1

    ElseIf Clicked(hOk&)

        MultiEdit -> Stringliste
        clearlist
        MoveHandleToList(hEdit&)
        end% = 2

    EndIf

EndWhile

destroyWindow(hDialog&)
deleteObject schrift&
return end% - 1

endproc


ACHTUNG: for XProfan 8 and 9 are The functions MoveListToHandle and MoveHandleToList properly To supplant: from MoveListToHandle becomes simply one MoveListToEdit and from MoveHandleToList becomes a small Loop, The the Editfeld line by line ausliest and the Listboxliste hinzufügt.

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
12/12/06  
 




Michael
Wodrich
I must it still rid.
have now any my Profan-versions run on Stick pulled and it over again tested. it functions objectively not.
there I had still probably the incorrect Version on the roll.

Perhaps should we with versionsabhängigen things still The $ProfVer  Show let circa any Mißverständnisse auszuräumen.

Sorry.
with friendly greet
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
12/13/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

820 Views

Untitledvor 0 min.
Julian Schmidt03/15/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie