none
Version & features ?? RRS feed

  • Question

  •  Hi, just found Small Basic. Wrote Visual Basic many years ago and just need a quick and dirty little text processor.

    VB is overkill for this, so SB looks fun and fit.

    "Controls.ButtonClicked" is in the docs, but generates an error when used -> "Cannot find property..."

    Did development stop before some functions implemented? I'm running SB V1.2.

    Thanks, Kevin

    Tuesday, August 13, 2019 4:44 PM

Answers

  • The following program works:

    Controls.ButtonClicked=BC
    b1=Controls.AddButton("BUTT1",20,20)
    While "True"
    EndWhile
    
    Sub BC
      TextWindow.WriteLine(Controls.LastClickedButton)
    EndSub


    Jan [ WhTurner ] The Netherlands

    Tuesday, August 13, 2019 5:59 PM
    Answerer