New proxygadget and updates

I was rewriting an application I use at work.

I was never happy with the layout of the gadgets, so I decided to renew it completely.

But it required a new proxygadget, a ‘container’ of other gadgets. So I created it, and named it ‘ButtonExtra’ (not the best name I know!).

Basically the new gadgets creates a LABEL+GADGET, so everything is already correctly placed on the window (or on the panel, scrollpanel etc).

GADGET could be: a button, a textfield, a slider, a datepicker, a filepicker, a combobox, a progressbar or a spinner.

Here a picture of the possible combinations

maxgui_buttonextra

 

The first advantage is a clear layout (no more mess with labels).

The second thing is that some ‘values’ (like in the case of progressbar or slider) can be displayed automatically in the label text (with a special parameter).

Of course the standard commands can be used on this gadget: SetGadgetText will change the text in a textfield or in a button (but via special text-parameter you can change LABEL content or SIZE of the gadget).

AddGadgetItem (et al) can be used on ComboGadget, SliderValue, Range etc on Slider and Spinner.

Of course I discovered that some of my gadgets – mainly DatePicker – had some issue.

I updated DatePicker so I can place it on any nested panel, not only on the main window. Moreover I fixed the display of the floating window showing the calendar, so this is always on the main screen, it can not surpass the width and the height of desktop.

Finally I added a new feature to Calendar: with SetGadgetText I can setup the returned string. Now it can be like: 03 05 2015, 03-05-2015, 03 may 2015, 03 may 15 and so on.

As usual the complete package of proxygadgets is available in the page PROXYGADGETS

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close