Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very Simple GUI
#61
Nice screenshots, bplus, the colors are tastefully selected and reminiscent of freeGEM:

https://en.wikipedia.org/wiki/FreeGEM

[Image: Gem1.png]
Reply
#62
Thanks @vince I am reminded of my first pc with a PreWindows Icon select system.

Coming soon to Forms Designer, a button that allows us to move and resize the controls after they are started in the first screen. Still a ways to go but here is glimpse of controls laid out over a grid.
   
b = b + ...
Reply
#63
Wow! Had a hell of a night getting really strange things happening but this morning with clearer eyes and head I managed to resize and move controls around in the Forms Designer, now to get the results filed into GUI_Preview.bas file.
   
b = b + ...
Reply
#64
Here is next installment of the GUI package with an updated Forms Designer, you can now move and resize controls before writing to the GUI_Preview file a list of controls to get your GUI app started.

I think the next thing is adding some labels in the bas file app so we can extract them for editing and then reinsert them  back in without disturbing the rest of the file.

Any ideas for using GUI? I've got a couple but they are just rehash of stuff I've done.


Attached Files
.zip   Form Designer 2022-06-22 update.zip (Size: 52.22 KB / Downloads: 47)
b = b + ...
Reply
#65
Oh how 'bout we use that File Selector of previous GUI Demo for List Boxes to Load and Run the Forms Designer!?

Plus I stumbled upon a cool way to switch window screens like in the Browser little <> labels to click.
b = b + ...
Reply
#66
Update: Get Filename controls have been assimilated into Forms Designer for a 3rd screen function. Today I can extract, edit and insert back into the bas workfile a new or edited list of controls. I've also rounded everything to 10's in move resize screen so it's a lot easier to get nice neat layouts like in reply #65 no more twiddle with lining up mouse to exact pixel!
b = b + ...
Reply
#67
OK here is the 3rd Update for Forms Designer now with GUI Get Filename screen assimilated into it. The moving and resizing screen now rounds all numbers to nearest 10 for a "snap to grid" functionality. I also have a GUI Practice.bas file for practice and Ken's Artillery Game mod by me, mod again for GUI, here are before and after:

Before:
   

After: (but the Computer AI smarts got lost in translation ;-)) So @johnno might like this one!
   

Looks like some folks are fighting over some Pyramids LOL

Zip contains:
   


Attached Files
.zip   GUI Designer with GetFile.zip (Size: 71.98 KB / Downloads: 46)
b = b + ...
Reply
#68
You Mark ..lot of work
that game is also cool!
Reply
#69
Quote:You Mark ..lot of work

that game is also cool!


The game was started by Ken, the wind was setup to shift and Computer can play allot better without cheating.

It was allot of work, seems like I crawl my way out of one hole, only to fall into another LOL!

The Text Box definitely needs fixing, you can get right numbers in but it is funky.

Having converted code to GUI, helps generate ideas what to do next, top of the list a font for Buttons like labels, Alignments for both too, in fact if Labels were clickable, they'd just be buttons, so combine? Plus images for Pics, Labels, buttons. Lot's more work ahead...
b = b + ...
Reply
#70
Hope to save you a bit of work: Labels should not be clickable. They are what they are, labels to describe something. If you want to replace the label whilst the program is running, then the existing should be deleted and new label added within the code. For instance, you may have a label describing what a button should do, but when you click the button, you may no longer need the label, or may need to change it to something else.

However, I am not happy with the colours used for the controls. I would like to see something like the normal Windows colours, but with the ability to change the colours whilst the program is running. At the moment, there doesn't appear to be any way of doing this without going back into the library files.
Reply




Users browsing this thread: 5 Guest(s)