Page 1 of 1
Visual Designer feature Request 2
Posted: Sun Feb 29, 2004 1:02 pm
by Num3
Eh, eh...
I would like Visual Designer to trim up constant naming when generating
source code, so this doesn't happen:
Now
Code: Select all
Enumeration
#Radio_2
#Radio_3
#Radio_5
#Radio_7
#Radio_9
#Radio_11
#Radio_13
EndEnumeration
With Feature
Code: Select all
Enumeration
#Radio_1
#Radio_2
#Radio_3
#Radio_5
#Radio_4
#Radio_7
#Radio_6
EndEnumeration
Posted: Sun Feb 29, 2004 1:08 pm
by freak
Err, what happens, if you delete a Radiobutton after you started writing
your program?
All numbers get changed? Program screwed?
Timo
Posted: Sun Feb 29, 2004 1:34 pm
by Num3
This happens when you copy paste gadgets around....
It will not follow the numering, if you copy #Radio_2, it will not paste
#radio_3, same aplies to all other gadgets.
And even if you create every gadget, it will skip numbers from time to time
When you delete a gadget and later on create another one it will skip the deleted gadget number...
It's kind of a nag when you have 4 radio buttons, and they do not follow a sequencial numbering...
Posted: Sun Feb 29, 2004 5:04 pm
by NoahPhense
Num3 wrote:This happens when you copy paste gadgets around....
It will not follow the numering, if you copy #Radio_2, it will not paste
#radio_3, same aplies to all other gadgets.
And even if you create every gadget, it will skip numbers from time to time
When you delete a gadget and later on create another one it will skip the deleted gadget number...
It's kind of a nag when you have 4 radio buttons, and they do not follow a sequencial numbering...
I would like the VD to tap into my Cerebral Cortex and read my mind.
So that it knows exactly what I need it to do...
Maybe I can work something up with the RS 232 com lib..
- np
Posted: Mon Mar 01, 2004 6:32 pm
by KuschelTeddy82
The best ist a menu item 'trim gadget numbers' or something, where you can manually trim them all. I think it's not good at all, when you leave the predefined numbers. Better rename them to a word which describes the gadget. Eh, it's more easy to find gadgets in the code

Posted: Mon Mar 01, 2004 7:18 pm
by Berikco
KuschelTeddy82 wrote:I think it's not good at all, when you leave the predefined numbers. Better rename them to a word which describes the gadget. Eh, it's more easy to find gadgets in the code

Yes, this is how VD should be used....
I remember the initial goal was to develop a simple form editor....and just generate the minimum code to display this form...
If I see wat functions i'm working on now.....