IDE - show Hidden gadgets when in design mode

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

IDE - show Hidden gadgets when in design mode

Post by Keya »

when you select the Hidden checkbox property of a gadget it not only renders the gadget hidden at runtime (the main purpose), but it also instantly hides the gadget from the IDE designer!
If you've made a mistake you can't select it and uncheck Hidden - because it's hidden and can't be selected. Not only that but if you ever want to see it again (assuming you don't simply forget that it's there) you then have to manually search through the code to find and remove the HideGadget line. None of this makes any sense to me and renders the Hidden checkbox useless. Please make it so that Hidden objects are still visible during design mode so that we can still access them
Thankyou for considering! :)
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: IDE - show Hidden gadgets when in design mode

Post by Dude »

+1
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: IDE - show Hidden gadgets when in design mode

Post by davido »

+1
DE AA EB
Little John
Addict
Addict
Posts: 4779
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: IDE - show Hidden gadgets when in design mode

Post by Little John »

Keya wrote:If you've made a mistake you can't select it and uncheck Hidden - because it's hidden and can't be selected.
Hidden gadgets are still in the list of objects, where we can access them.

However, I agree that it would be much more user-friendly if "hidden" gadgets would be visible in design mode. Maybe they could be shown in a semi-transparent way to indicate their "hidden" state.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: IDE - show Hidden gadgets when in design mode

Post by ts-soft »

-1

If i have some gadgets hidden, i have some other gadgets none hidden on the same place.
The design should look appropriate and not indicate Gadgets which are not indicated at the moment.
This would destroy the preview.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: IDE - show Hidden gadgets when in design mode

Post by Keya »

ts-soft wrote:This would destroy the preview.
if you want to Preview just press F5, this is where it should be hidden... but having it hidden in Design mode!? and when you're finished previewing and need to make an adjustment to one or more of the controls, what then? you can't, at least not without Little John's tip of manually scrolling through the Controls list to find it (fun with lots of controls). Perhaps if I designed the form 100% correct the first time before i click Hidden it wouldn't be an issue, but that's rarely the case :D
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: IDE - show Hidden gadgets when in design mode

Post by ts-soft »

Some of my gadgets overlapping the other. I will only see the not hidden gadget and adjust. The hidden gadgets would
destroy my none hidden gadgets and i can't adjust anything :mrgreen:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Kiffi
Addict
Addict
Posts: 1486
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: IDE - show Hidden gadgets when in design mode

Post by Kiffi »

@Keya: +1
ts-soft wrote:and i can't adjust anything
you can adjust overlapping gadgets by selecting them in the object list.

Greetings ... Peter
Hygge
User avatar
mhs
Enthusiast
Enthusiast
Posts: 101
Joined: Thu Jul 02, 2015 4:53 pm
Location: Germany
Contact:

Re: IDE - show Hidden gadgets when in design mode

Post by mhs »

+1
Post Reply