Small Basic Litdev InputBox Dialog

Diego Román G 21 Reputation points
2021-08-28T18:41:50.53+00:00

Hello, is there a possibility that in a future update the Small Basic Litdev library development team will add the InputBox method to the Dialog Methods list?
Thanks.

Small BASIC
Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
277 questions
0 comments No comments
{count} votes

Accepted answer
  1. Small Visual Basic 401 Reputation points
    2022-11-20T18:43:14.19+00:00

    I think you can create an input box with litdev. It is just a form with a textbox and 2 buttons. But I din't try it.

    I also advice you to take a look at Small Visual Basic, which is the next generation of small basic with an enhanced compiler and a form designer, which you can easily us to crate any dialog you need. You can also reuse apps created with sVB as libraries as explained in the instructions in the ReadMe file. This exactly how the Dialogs library is created, which you can use directly to show an input box like this:

       value =  Dialogs.InputBox("Enter any number:")  
    

    262296-image.png

    Note that you can change the design of this input box by modifying the Dialogs project source code in the sVB\samples folder.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Martmen 46 Reputation points
    2022-11-20T07:22:16.29+00:00

    Ich mache es so JLNP881.000.

    A input box sample is JLNP881.000

    1 person found this answer helpful.
    0 comments No comments

  2. 65001 11 Reputation points
    2021-09-10T14:45:28.49+00:00

    How are you planning on using this feature? I'd suggest adding a ticket to the GitHub for the project and seeing if he would be open to the change.

    0 comments No comments