menu swap on-the-fly

Just starting out? Need help? Post your questions and find answers here.
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

menu swap on-the-fly

Post by es_91 »

Hi, people

I don't have time to try around much, so i ask for experienced information on this task:

I need to change the entries of a "print" menu on-the-fly, during program runtime,

nothing else in the menu shall be changed and it shall add and remove single items.


I have no clue how this can be done.
User avatar
RSBasic
Moderator
Moderator
Posts: 1218
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: menu swap on-the-fly

Post by RSBasic »

Which menu? Can you post a screenshot?
Or is it your own menu?
Image
Image
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: menu swap on-the-fly

Post by es_91 »

yes, my own. PB-created.
User avatar
Bisonte
Addict
Addict
Posts: 1233
Joined: Tue Oct 09, 2007 2:15 am

Re: menu swap on-the-fly

Post by Bisonte »

With the PB Menu functions, the only way is destroy the menu and create it new with the recommended entries.
PureBasic 6.10 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: menu swap on-the-fly

Post by es_91 »

oh ... ok :(

i hope that's performant then :/
mestnyi
Addict
Addict
Posts: 1001
Joined: Mon Nov 25, 2013 6:41 am

Re: menu swap on-the-fly

Post by mestnyi »

Post Reply