Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My little menu
#15
Quote:Also if anyone can show me how to store the menu strings inside the UDT! Then youll get a +1 from me! 

Simple, for me, is using long strings. I used them in my very simple GUI for any array I needed, that PLUS  the split routine Yes not exactly most effecient but it works, perfect for Text Property of List Boxes. Long strings are easy to append (no dim _preserve) and easy slice and dice and substitute whole sections of strings. I use them in my Fval() (like Eval of other BASICs) code too which is core to my Interpreter work. UDT will take a variable length string since way back around time of QB64 v 2.0, you may have missed the change, by Luke, I think it was. Alas! they don't store well to file like a fixed string would.

BTW let me plug my drop down menus lecture (because no one else will Smile ) that starts here with exploring menus:
https://qb64phoenix.com/forum/showthread...8#pid17118
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Messages In This Thread
My little menu - by Mad Axeman - 12-29-2025, 12:00 PM
RE: My little menu - by bplus - 12-29-2025, 02:09 PM
RE: My little menu - by Mad Axeman - 12-29-2025, 02:28 PM
RE: My little menu - by bplus - 12-29-2025, 02:32 PM
RE: My little menu - by Mad Axeman - 12-29-2025, 02:51 PM
RE: My little menu - by Petr - 12-29-2025, 03:45 PM
RE: My little menu - by Mad Axeman - 12-29-2025, 04:03 PM
RE: My little menu - by bplus - 12-29-2025, 07:08 PM
RE: My little menu - by Mad Axeman - 12-29-2025, 10:13 PM
RE: My little menu - by NakedApe - 12-30-2025, 01:58 AM
RE: My little menu - by Unseen Machine - 12-30-2025, 02:37 AM
RE: My little menu - by Pete - 12-30-2025, 02:48 AM
RE: My little menu - by Unseen Machine - 12-30-2025, 03:04 AM
RE: My little menu - by Rudy M - 12-30-2025, 09:47 AM
RE: My little menu - by bplus - 12-30-2025, 03:18 PM
RE: My little menu - by Pete - 12-30-2025, 06:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Menu Demo to be Expanded Pete 29 1,696 01-31-2026, 11:08 PM
Last Post: Pete
  Hardware Popup Menu. Yes, Dragable! Pete 2 707 04-03-2025, 12:15 AM
Last Post: Pete
  Text Menu Library Project Pete 3 768 01-03-2025, 05:55 PM
Last Post: Pete
  EVMS -- Easy Versatile Menu System SMcNeill 8 1,765 11-30-2022, 06:15 AM
Last Post: SMcNeill
  a simple menu system (works) madscijr 0 655 07-28-2022, 11:07 PM
Last Post: madscijr

Forum Jump:


Users browsing this thread: 1 Guest(s)