PDA

View Full Version : Hi, I'm a new Thinbasic user, and need a little help



Spandy
29-01-2012, 13:52
Hi to all,:)
I'm a new Thinbasic user, (from Italy), and I don't understand if exists a visual dialog designer to create the dialog with controls inside and how use it, maybe I'm too much stupid :confused:

Thank you in advance for any help

Andrea

ErosOlmi
29-01-2012, 14:13
Ciao Andrea and welcome to thinBasic community.

Stupid? Why? The only stupidity is not asking something you need help.
Also starting with a new programming language is a complex task what'ever the programming language will be.

No, I'm sorry, at this time there is no visual designer for thinBasic. It is something being requested many times, I know, but so far the time to develop it was not allocated.

You have to place your controls in windows by programming in thinAir (thinBasic editor) using the many "CONTROL ADD ..." (http://www.thinbasic.com/public/products/thinBasic/help/html/index.html?control_add.htm) statements available in thinBasic UI (User Interface) module.

Many UI examples can be found into \thinBasic\SampleScripts\UI\ directory
Also check thinBasic tutorial application developed with thinBasic itself and present as source code at \thinBasic\tutorial\

Ciao
Eros

Petr Schreiber
29-01-2012, 17:58
Ciao Andrea,

some of the thinBasic users created form designers in the past. The most promising was thinForm, done by Kent Sarikaya. As the last version was 5 years old :p, I updated it to make it run with latest ThinBASIC 1.8.9.0 and posted it here:

thinForm 2.0 (http://www.thinbasic.com/community/showthread.php?8241-thinForm-clunky-to-use-but-a-form-designer-none-the-less-%29/page7)

If you click the link above, you can download the tool (done in TB) and read the brief tutorial on use. It is not as elegant as Visual Studio designer, but it is still very usable, once you understand the philosophy.


Petr

zak
30-01-2012, 09:26
Thank you Petr for resurrecting the old project, i have applied your quick instructions to build a form with a textbox and a button, and it is good that a button click event are also implemented in a commented form.
it is just the user needs to get used to it.
the project can be considered as a template for more future improvements since its code are available already for the users.
7799