html interface

Everything else that doesn't fall into one of the other categories.
nad
Posts: 19
Joined: Sat Feb 10, 2024 1:41 pm

html interface

Post by nad »

This is more of a wish list.
Will spider ever consider using html.
I write a lot of business applications. Most only have 300 to 1000 web users.
Counting pixels for location and size for layouts is time consuming at best. Especially when you make additions and changes that change the whole design layout. Happens more often than you want.
Using html and <table> and <div> , the layout floats things and makes the best fit without having to figure out where all the positions of data fit.
All that would be needed is the ability to take care of triggers like onClick, onMouseOver, onChange, and other to have pointers to procedutes.
You could then concentrate on system design without having to spend time laying out every gadget.

Thanks for your consideration...
plouf
Posts: 307
Joined: Tue Feb 25, 2014 6:01 pm
Location: Athens,Greece

Re: html interface

Post by plouf »

dunno most people like modern UI's like the new implement Mobile UI (which is the Onsen UI)

however its possible to "print" your own html on many spider fucntions like TextGadget,
and if you have basic javascript knowledge you interact with Spiders functions

here is super simple table ,handmade html table
that interact with a spiderbasic procedure

Code: Select all

OpenWindow(0, 0, 0, 270, 190, "TextGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
TextGadget(0, 10,  10, 250, 20, "<table border=1><tr><td onclick='f_testhi()'> clickme </td></tr><tr><td>2</td></tr></table>")

Procedure testhi()
  MessageRequester("hi")
EndProcedure
Christos
Post Reply