Anyone interested on a TUI for Harbour?
I created a library, and if there is interest, I might port it to a open source project. (on spare time)
The forms can fit the screen size or have fixed size.
After the form is generated from text, you can access all the components, gets, labels and change all properties. and use classic programming with @ say/get.
You can create forms using text modeling, like this:
"+-RESIZEABLE BOX WITH TITLE -+"
"A get:{<this represents a get. size defined by braces>} "
"Checkbox:{x} "
"Password:{* } "
"DropDown:{ } "
"+-RH <RH tag define RESIZE HORIZONTALLY to fit screen -+"
There is another part of this lib, not integrated yet, that allow to create framed and unframed containers.
All components coordinates are based on x, y, width, height instead of classic y1, x1, y2, x2
The containers use properties to allow grip and align to top, right, left, bottom, center, all
Have frame (box) and padding.
Within containers, you can insert other containers, use classic programming with @ say/get or use the components already available:
- box
- memo edit/memo say
- table
- alert (with timer)
- get
- tbrowse
The container coordinates can be used to position classical @say/get like this: obox:ui:x, obox:ui:y, obox:ui:w, obox:ui:h
I don't use windows, because I don't need them, but it can be done.
Screenshot of a working form: Looks the same on windows and linux. over ssh also off course.
