QBJS v0.6.0 Release
#3
Quote:Now here is something I'm pretty excited about, but I have no idea if this is in the project, or is being considered. Have you or have you thought about making objects like HTML buttons, form input lines, etc. interact with QBJS code? In other words I make something like a form to hold 5 variables and a submit button and it runs the QB64 code associated with it using the value of the variables in the data fields and the output either shows up on the html page, or another output page is generated and opened?

Absolutely, this was definitely something I found interesting early on in the project.  There is a standard library (web/dom.bas) that is included with QBJS that lets you interact with the HTML page.  You can create virtually any HTML control and implement custom handlers for the various events.

HTML Controls
Simple Web Calculator

There are a number of additional examples on the Samples page here:

https://github.com/boxgaming/qbjs/wiki/S...the-screen
Reply


Messages In This Thread
QBJS v0.6.0 Release - by dbox - 11-07-2022, 01:43 PM
RE: QBJS v0.6.0 Release - by Pete - 11-07-2022, 04:32 PM
RE: QBJS v0.6.0 Release - by dbox - 11-07-2022, 05:08 PM
RE: QBJS v0.6.0 Release - by Pete - 11-07-2022, 06:26 PM
RE: QBJS v0.6.0 Release - by bplus - 11-07-2022, 07:17 PM
RE: QBJS v0.6.0 Release - by dbox - 11-08-2022, 07:20 PM
RE: QBJS v0.6.0 Release - by mnrvovrfc - 11-08-2022, 11:59 PM
RE: QBJS v0.6.0 Release - by mnrvovrfc - 11-07-2022, 07:53 PM
RE: QBJS v0.6.0 Release - by SpriggsySpriggs - 11-07-2022, 08:07 PM
RE: QBJS v0.6.0 Release - by dbox - 11-07-2022, 08:15 PM
RE: QBJS v0.6.0 Release - by mnrvovrfc - 11-07-2022, 08:17 PM
RE: QBJS v0.6.0 Release - by dbox - 11-07-2022, 08:40 PM
RE: QBJS v0.6.0 Release - by bplus - 11-08-2022, 07:31 PM
RE: QBJS v0.6.0 Release - by Pete - 11-08-2022, 07:34 PM
RE: QBJS v0.6.0 Release - by dbox - 11-08-2022, 07:51 PM
RE: QBJS v0.6.0 Release - by Coolman - 11-09-2022, 11:25 AM
RE: QBJS v0.6.0 Release - by dbox - 11-10-2022, 12:35 AM
RE: QBJS v0.6.0 Release - by Coolman - 11-10-2022, 11:33 AM
RE: QBJS v0.6.0 Release - by Pete - 11-10-2022, 02:31 AM
RE: QBJS v0.6.0 Release - by a740g - 11-10-2022, 01:46 PM
RE: QBJS v0.6.0 Release - by mnrvovrfc - 11-10-2022, 03:43 PM
RE: QBJS v0.6.0 Release - by dbox - 11-10-2022, 03:46 PM
RE: QBJS v0.6.0 Release - by a740g - 11-10-2022, 04:30 PM
RE: QBJS v0.6.0 Release - by dbox - 11-10-2022, 06:24 PM
RE: QBJS v0.6.0 Release - by a740g - 11-10-2022, 08:11 PM
RE: QBJS v0.6.0 Release - by CharlieJV - 11-10-2022, 08:40 PM
RE: QBJS v0.6.0 Release - by vince - 11-10-2022, 02:22 PM
RE: QBJS v0.6.0 Release - by Pete - 11-10-2022, 09:48 PM
RE: QBJS v0.6.0 Release - by Kernelpanic - 11-10-2022, 10:34 PM
RE: QBJS v0.6.0 Release - by vince - 11-10-2022, 11:48 PM
RE: QBJS v0.6.0 Release - by Kernelpanic - 11-11-2022, 12:30 AM
RE: QBJS v0.6.0 Release - by SMcNeill - 11-11-2022, 12:38 AM
RE: QBJS v0.6.0 Release - by Kernelpanic - 11-12-2022, 12:29 AM



Users browsing this thread: 11 Guest(s)