Dropdown for Subsystems

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Dropdown for Subsystems

Post by Kaeru Gaman »

it would be nice if the Subsystem field in the Compiler Options would be a DropDownList.
it's a bit unconveniant and typo-happy having to enter it manually.

additionally, DirectX7 should be an entry, even tho it means "no additional Subsystem"...
oh... and have a nice day.
User avatar
Fluid Byte
Addict
Addict
Posts: 2336
Joined: Fri Jul 21, 2006 4:41 am
Location: Berlin, Germany

Post by Fluid Byte »

Totally agreed. Having to type the subsystem yourself leads to typos and a dropdown can give you instant overview about all subsystems available.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

what is about more than one subsystem?
dropdownbox is not a way
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
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
BERESHEIT
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

netmaestro wrote:
A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
Sorry no.
If you have an own Subsystem...how can you select it?
e.g.: DX9 subsystem from S.M.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

IceSoft wrote:
netmaestro wrote:
A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
Sorry no.
If you have an own Subsystem...how can you select it?
e.g.: DX9 subsystem from S.M.

Code: Select all

If ExamineDirectory(0, #PB_Compiler_Home + "SubSystems", "")
  While NextDirectoryEntry(0)
    If DirectoryEntryType(0) = #PB_DirectoryEntry_Directory
      If Left(DirectoryEntryName(0),1) <>"."
        Debug DirectoryEntryName(0)
      EndIf
    EndIf
  Wend
  FinishDirectory(0)
EndIf
The IDE can add all available subsystems :wink:
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
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

+1
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Post by Mistrel »

netmaestro wrote:
A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
Or a list view with check boxes. Or a blank list view with Add and Remove buttons.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

1.
ts-soft wrote:The IDE can add all available subsystems :wink:
2.
Mistrel wrote:
netmaestro wrote:A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
Or a list view with check boxes. Or a blank list view with Add and Remove buttons.
there are ways to do it properly.
anything would be better than an enter-text-field.
oh... and have a nice day.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Mistrel wrote:
netmaestro wrote:
A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
Or a list view with check boxes. Or a blank list view with Add and Remove buttons.
Or a text field where you can enter what you want :P Seriously, how difficult can this be?
quidquid Latine dictum sit altum videtur
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

freak wrote:
Mistrel wrote:
netmaestro wrote:
A drop down doesn't work. As ts-soft said, there would be no way to have multiple subsystems.
A dropdown with checkboxes beside the items would be ideal. Perfect, in fact.
Or a list view with check boxes. Or a blank list view with Add and Remove buttons.
Or a text field where you can enter what you want :P Seriously, how difficult can this be?
It's not user-friendly. You have to read the doc to know that there are several subsystems, that you have to type in *this* textfield that you want a different subsystem, you have to check the subsystem dir to know the names, you have to type correctly the name. I know typing is the C or the Unix way to do things, maybe it's not really difficult, but the point is that it's not easy, nor obvious...
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

Use a drop down / edit combo. Ie. either pick your flavour, or add it by hand in the field.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post by Kaeru Gaman »

I just happened today to need to tell a Beginner "Enter 'DirectX9' manually into the Textfield"
I have to say, it feels ugly improfessional in opposite to "chose the subsystem from the dropdown list there and there"

is it so hard to create a dropdown where you can add entries?
the autocomplete does this if you define variables and procedures, so where should be the problem?

I just renew my request for a dropdown!
oh... and have a nice day.
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Ok ok, i will see what i can do :)
quidquid Latine dictum sit altum videtur
Post Reply