GUI help needed

Just starting out? Need help? Post your questions and find answers here.
ralf
Posts: 1
Joined: Mon Mar 21, 2016 4:21 pm

GUI help needed

Post by ralf »

Hi all,
i would need some help in starting developing a comfortable GUI for a data-aquisition application:
Maybe its possible to help me how to make a code (example) for a GUI, with
- a menu bar on the top
- a right side a button array from top to bottom (lets say 10% of total width)
- on the left / middle part of the window a drawing area (a plot window with scales and plotted data)
- a button array on the bottom
The GUI should be fullscreen and resizeable (when scaling the browser).

Any help is very much appreciated

-,ralf
User avatar
SparrowhawkMMU
Posts: 291
Joined: Wed Aug 19, 2015 3:02 pm
Location: United Kingdom

Re: GUI help needed

Post by SparrowhawkMMU »

Check out the Help sections for Gadgets and Dialogs and also the examples that in the SpiderBasic/examples folder - pretty much all you need is in there.

Also try the showcase: http://www.spiderbasic.com/showcase/onlineviewer/

It has all the examples in a runnable state.

I would suggest that you start by creating a simple window with just a couple of gadgets and getting the feel for positioning them. Then bind an event to them and specify a callback function. Once you have that sorted, you are well on your way to building the UI side of things :)

It took me a little while to get into the SB way of doing things, and I am still finding better ways to structure my code all the time. However, by starting small and building incrementally, the learning curve is not too steep.
Post Reply