Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vs GUI Updates - the latest from b+
#51
b+ Very Simple GUI.txt

Quote:2022-12-02 OK I've done it now. Ever since NasaCow brought up question of mixing Terry Ritchie's
menu system with my GUI, I've been wondering how a LstBox control might work? Very well thank you
very much! Just have to remember that a highlited item is selected when you right click the List
Box (anywhere) the highlighted line gets selected and the LstSelectEvent is called up by
MainRouter (or pressing Enter when List Box is highlighted in white box.

So I took my favorite GUI app Acounts Tracker and eliminated the first screen of starting new
files or Opening started ones. To distinguish old Acct files from new (format is same) the titles
end in ... Acct.txt as opposed to just ...txt. This actually works better, like a WP it tracts
changes made and asks if you want to save your work before open another or start a new file.
Before I had to save files whether I made changes or not, to get back to first screen to open or
start new files. Neither save if you just quit with the top right x button for window. I know
there is a Keyword for that but forgot.

So I post and maybe people will suggest more improvements that might be made.

   

PS hmm... both list boxes are not supposed to be highlighted.


Attached Files
.zip   GUI Account Tracker 2022-12-02.zip (Size: 559.62 KB / Downloads: 41)
b = b + ...
Reply
#52
Ho boy! Tracking down why 2 controls are highlighted has led me to a number of changes with the GUI library code.
I got rid of having coder track if boxes are supposed to be the activeControl that gets keypresses when calling for a redraw. Also the code no longer ends outside the MainRouter loop. _Exit will get you out of MainRouter routine and you will have to manually End or System the code. This is so you have the opportunity to save work before the app is closed and potential work lost. Plus I am highlighting the active control with a clear double lined box in yellow, can't miss it! BM and BI are now dated to help track versions.
b = b + ...
Reply
#53
GUI teaser coming soon New Pic Box demo with new mouse location input to PicUpdateFrame.
   
   
b = b + ...
Reply
#54
Cool stuff @bplus!  Your default purple color scheme reminds me of the SUN Solaris OS GUI from back in the day:

[Image: Solaris8-cde.png]
Reply
#55
Thanks but mine isn't purple and that is marvelous detail around borders, scroll bars / sliders....

You've seen the screen shots for latest feature program that demos what Pic Boxes can do. That is GUI 4 Animated Pics.
Check it running from latest Update zip pack. I also made some improvements in Ken's Artillery and a number of other minors things. This latest pack has allot more drawing tools added to the BM library and I am considering String Math in next update.

The "manual" b+ Very Simple GUI.txt is going to be overhauled. I am thinking of a sort of Wiki app to help with all the routines.

hmm... 1.44 MB did I leave an exe in there?


Attached Files
.zip   GUI Update 2022-12-06 pk.zip (Size: 1.44 MB / Downloads: 48)
b = b + ...
Reply
#56
(12-06-2022, 05:57 PM)dbox Wrote: Cool stuff @bplus!  Your default purple color scheme reminds me of the SUN Solaris OS GUI from back in the day:
What a shame. The "Linux killer" choked on the Golden State Warriors winning the NBA Championship at least three times. I read about it yesterday on Wikipedia, which means OpenIndiana, SmartOS and others are actually worthless and anything else "based" on OpenSolaris is illusory because one company doesn't really know what "free software" means and refuses to let go.
Reply
#57
next GUI coming soon!
   
   
b = b + ...
Reply
#58
great project that represents an impressive body of work, B+. I have yet to see a UI project that's as mature as vs
Reply
#59
Well there is JB Smile  Thanks vince!
b = b + ...
Reply
#60
https://qb64phoenix.com/forum/showthread...7#pid11477

I have actually done something like this with QB64 v0.98 but with an "ordinary" screen and with the letter "keys" ordered "QWERTY". It was more difficult putting keys like backspace, enter and space. It also had a "macro" function in which the user could edit a text file to activate a button press which wrote a press. In addition, I derrived Terry's menu library for even more "macro" insertion of text, or as alternative to the buttons that had cryptic things written on it.

Actually I wrote two versions of it, the earlier one was on the last QB64 SDL version but it was a bit less sophisticated. It didn't support the "macros". It was only a vain replication of the virtual keyboard I first saw on Windows8.

This was on my Toshiba laptop with 32-bit WindowsXP which had a damaged keyboard and I seriously considered using my program for "mouse" typing. Things were going well with that project until the HDD of that computer first reported a SMART failure.
Reply




Users browsing this thread: 2 Guest(s)