Author Topic: Pulldown menu  (Read 3839 times)

0 Members and 1 Guest are viewing this topic.

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Pulldown menu
« on: December 19, 2019, 03:23:07 am »
Hi,

The state-of-the-art about pulldown menus on QB64?
I hope I'm not inappropriate with this question.

I use an Ashish routine (GUI Menu Bar v0.98, on year 2017) that I've modified a bit to suit my needs.
That original code is simple but brilliant!
That code lends itself well to many variants, all quite light and beautiful but would need further development.
Other pulldown menus are quite bulky and fit very hard, even if they have more possibilities.

There was something about [abandoned, outdated and now likely malicious qb64 dot net website - don’t go there] but I do not think this forum dealt with this issue.


Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Pulldown menu
« Reply #1 on: December 19, 2019, 05:57:58 pm »
QB64 is an extension of QuickBasic, and as such, is a hobby language to learn how to program things like pull-down menus. Recently, the community started a "library" section but it is in its infancy. Going forward, the creator / developer of QB64 did have plans to implement oop but he stopped developing the project some years back. The .net site was his while he was active on the project. A few other have taken on the continued development role, but for right now, there are only program examples you can find that use various menus, which coders here have coded. I did just read a new post by Steve, one of the newer developers here, who is currently working on a universal menu library. YOu may want to follow that thread...

https://www.qb64.org/forum/index.php?topic=2001.msg112322#new

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Pulldown menu
« Reply #2 on: December 19, 2019, 06:54:59 pm »
Hi Krovit
what do you think about Inform menu?

just see this to try
Programming isn't difficult, only it's  consuming time and coffee

FellippeHeitor

  • Guest
Re: Pulldown menu
« Reply #3 on: December 19, 2019, 07:03:06 pm »
If all he wants for an interface is a dropdown menu, using a full library like InForm sounds like overkill.

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Pulldown menu
« Reply #4 on: December 19, 2019, 07:10:39 pm »
I agree with you Fellippe
but it seems to use more than a pulldown menu....I see all the other items of a windowed application...
https://www.qb64.org/forum/index.php?topic=1999.msg112265#msg112265
Programming isn't difficult, only it's  consuming time and coffee

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Re: Pulldown menu
« Reply #5 on: December 20, 2019, 02:48:56 pm »
Hello everyone,

thank you very much for the consideration and interest... Now I'm struggling with the breakup of the motherboard... and then all the problems of life, family and work... Ah!

The inForm system is simply brilliant and with very professional results; I'm going to use that system for specific new projects.

I discovered it too late, after I had developed my own system which is obviously not of that level - even if the principle is the same - but it does what it has to do.
Unfortunately I'm a perfectionist (that's why I like to write code) and as everyone maybe will know it is exactly the system to never get to an end.

That's why the system I made is exactly tailored to my style but absolutely parameterized up to the smallest details (and therefore it's a bit weight and not very easy to understand... sometimes I get lost in the code that I wrote too!). In the images you see something: the top menu is the partial development of the routine of Ashish (a really brilliant guy); there's also a scrolling menu that I've written and managed fields, the insertion mask and more. Now I need a pulldown menu because what he sees is part of it.

I'm sure that modifying and adding a few dozen lines of code the Ashish routine would become perfect and his work would not be upended.

Around QB64 there are real geniuses... moreover, also welcoming and humble (it's not so almost anywhere) and it's a real pleasure to have us. If I can make it transportable and easier to understand with a reasonable effort, I will share part of my work (if you do not laugh...)

Excuse "my" English... actually I don't speak it, it's all google bag flour...


« Last Edit: December 20, 2019, 02:53:20 pm by krovit »
Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)