Visual Designer Quickfix - User-specified Enumeration Number

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Visual Designer Quickfix - User-specified Enumeration Number

Post by dracflamloc »

Need to do multiple windows but its kinda a pain to change the include source every time to a different "Enumeration xxx" for each window when I update them.

I think this would be a very quick and easy thing to add.

So if you could please add this ASAP it'd make managing larger apps in VD much better.

So for example:

Code: Select all

Enumeration 1000
  #MainWindow
EndEnumeration

;- Gadget Constants
;
Enumeration 1001
  #WebList
  #txtChatSend
  #btnSend
  #lstChat
  #Text_0
EndEnumeration
So 1000 could just be a project option. Thanks!
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

Code: Select all

Enumeration ;1000 
  #MainWindow = 1000
EndEnumeration 

;- Gadget Constants 
; 
Enumeration ;1001 
  #WebList = 1001
  #txtChatSend 
  #btnSend 
  #lstChat 
  #Text_0 
EndEnumeration 
and this way ?
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Post Reply