English
Forum

dialog + input + Evaluation = Boring not

 
here The Solution - guaranteeing: [...] 

Perhaps have You somewhere getText$ forget and vergleichst with the lever instead of the Text - or Ähnliches...
 
05/16/08  
 



Yes, Upload is often helpful!

your function Menu becomes called or not?

You destroy too whom dialog and setting _ende% not 1, means becomes your Loop to that Error if function Menu zurückkehrt.

I fürchte you should still one Minimalbeispiel create - and not a Codeauszug!

let the [...]  here once correctly. - so of supra left down right, I faith then can itself your trouble in breeze dissolve.
 
05/16/08  
 



solely your Programmstruktur stood you here in the ways:
CompileMarkSeparation
declare fenster%
declare hFont&
declare _ende%
declare _dlg%
declare ername%
declare erpass%
declare weiter%
declare end%
declare name$
declare pass$
name$ = Ferenc
pass$ = test

Proc passwort

    hFont& = create(Font, ARIAL,14,0,0,0,0)
    setdialogfont hFont&
    _dlg% = create(dialog, %hWnd, Anmeldung, 532, 394, 209, 97 + %cyCaption)
    create(text, _dlg%, Name:, 16, 8, 72, 16)
    create(text, _dlg%, Passwort:, 104, 8, 72, 16)
    ername% = create(edit, _dlg%, , 16, 24, 72, 16)
    erpass% = create(edit, _dlg%, , 104, 24, 72, 16)
    weiter% = create(button, _dlg%, Weiter, 16, 48, 72, 24)
    end% = create(button, _dlg%, Ende, 104, 48, 72, 24)
    _ende% = 0
    declare korrektesPasswort%
    korrektesPasswort%=0

    whilenot _ende%

        waitinput

        if (%key = 2)

            End

        elseif clicked(weiter%)

            If (GetText$(ername%) = name$) And (GetText$(erpass%) = pass$)

                korrektesPasswort%=1
                break

            Else

                messageBox(Falscheingabe.,,0)

            Endif

        ElseIf clicked(end%)

            break

        EndIf

    EndWhile

    destroywindow(_dlg%)
    setdialogfont 0
    deleteobject hfont&
    return korrektesPasswort%

EndProc

casenot Passwort() : end
Window 980,500-300,250
PopUp aaa
Appendmenu 201,aaa
Appendmenu 202,aaa
PopUp aaa
...

while 1

    waitInput

    If @MenuItem(201)

        end

    Elseif MenuItem(202)

        ...

    EndIF

end
 
05/16/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.206 Views

Untitledvor 0 min.
rquindt04/20/16
H.Brill10/29/11

Themeninformationen

this Topic has 1 subscriber:

iF (3x)


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