Author Topic: Hello here we go again  (Read 3110 times)

0 Members and 1 Guest are viewing this topic.

Offline badger

  • Forum Regular
  • Posts: 148
    • View Profile
Hello here we go again
« on: October 06, 2020, 07:18:21 pm »
Hello

can a form be call from code or do you have to work from the form created first, and can you call forms form a form

Badger

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Hello here we go again
« Reply #1 on: October 06, 2020, 07:42:35 pm »
You might want to have a look at this: https://www.qb64.org/forum/index.php?board=11.0

I've thought about fiddling around with JavaScript and QB64, to get an html form to communicate with a QB64 program. Other than that, you would have to field by field, design your own QB64 form, along with a keyboard input system, much like a text editor. That's a big several thousand lines of code job.

Maybe other have other methods, too.

Pete

Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Hello here we go again
« Reply #2 on: October 06, 2020, 08:14:55 pm »
You might want to have a look at this: https://www.qb64.org/forum/index.php?board=11.0

I've thought about fiddling around with JavaScript and QB64, to get an html form to communicate with a QB64 program. Other than that, you would have to field by field, design your own QB64 form, along with a keyboard input system, much like a text editor. That's a big several thousand lines of code job.

Maybe other have other methods, too.

Pete

Yes screen mode -1 using SHELL to a text editor, 0 control over keypress and mouse, can't do dukey until user saves and exits text editor but maybe only 100's of lines of code for processing. ;)  The idea is to take a copy of a form made in text editor and have user fill it out, save it and exit editor. QB64 opens edited file and reads answers user wrote in to fill blanks or right sides of = signs and processes the input.

Quote
can you call forms form a form

Yes, you did and I understood ;-))
« Last Edit: October 06, 2020, 09:21:13 pm by bplus »