Home Forums HTBasic Forum keyboard disable Reply To: keyboard disable

#9151
ZeRider
Participant

    Hi Ralph,
    thank for proposal but seem to not work on my computer (HTBasic 10.1.3 + Windows 11) … 🙁
    When I press “ENTER” it’s still like I click on “YES”

    CLEAR SCREEN
    KEY LABELS OFF
    CONTROL KBD,7;3
    !
    !**************
    ! MESSAGE BOX :
    !**************
    Btn=0
    !
    P$(1)=”File Storage ?” ! Button 0=YES / Button 1=NO

    DIALOG “QUESTION”,P$(1),Btn
    !
    IF Btn=0 THEN PRINT “Storage File : YES”
    IF Btn=1 THEN PRINT “Storage File : NO”
    !
    KEY LABELS ON
    CONTROL KBD,7;0
    END

    Scroll to Top
    HTB icon

    Please Sign In