Very Simple GUI - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: QB64 Rising (https://staging.qb64phoenix.com/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://staging.qb64phoenix.com/forumdisplay.php?fid=3) +---- Forum: Works in Progress (https://staging.qb64phoenix.com/forumdisplay.php?fid=9) +---- Thread: Very Simple GUI (/showthread.php?tid=552) |
RE: Very Simple GUI - bplus - 06-20-2022 Kind of interesting how I detect errors in screen shots I post here. I see an odd gap in the listing of controls in the GUI_Preview.bas file. It was getting late last night and I wanted to post before going to bed, so my blurry eyes overlooked a thing or 2. Still very happy the Preview did get written, compiled and ran correctly AND the animated Picture Control worked as well. As far as the shaky Text Box, I need a description so I can duplicate the error so I have a hope of fixing it. The only thing I am getting is if I click into a box past the text and then type something, that something goes directly at the end of the text. To put spaces into the text, you have to type them in. Also the cursor is sometimes off a character when clicking into a box or ends up at end of text because you click too close to border, easily fixed with arrow, home or end keys. RE: Very Simple GUI - bplus - 06-20-2022 Another fix for running GUI Forms Designer out of different Folders. I already had been saving project path under global curPath$ in BI and set when OpenWindow, it fits in nicely for compiling and running the GUI_Preview.bas file: My code mods that work from different folders without hardcoding path: Code: (Select All) ' It worked!!! IDE Run Menu: "Output EXE to Source Folder" bulleted Man it sucks tracking changes in 2 sets of folders, one set does it with BI and BM unpacked all in one code file in case I have to change something in those, and another set runs with BI and BM just for a check. I will post an updated, "stable" version of forms designer after I get more apps coded and changes settle down or there are so many fixes. RE: Very Simple GUI - vince - 06-20-2022 Nice screenshots, bplus, the colors are tastefully selected and reminiscent of freeGEM: https://en.wikipedia.org/wiki/FreeGEM RE: Very Simple GUI - bplus - 06-21-2022 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. RE: Very Simple GUI - bplus - 06-22-2022 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. RE: Very Simple GUI - bplus - 06-22-2022 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. RE: Very Simple GUI - bplus - 06-23-2022 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. RE: Very Simple GUI - bplus - 06-26-2022 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! RE: Very Simple GUI - bplus - 06-26-2022 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: RE: Very Simple GUI - aurel - 06-27-2022 You Mark ..lot of work that game is also cool! |