#PB_Compiler_EnumerationValue In Forms Designer

You need some new stunning features ? Tell us here.
SniffTheGlove
Enthusiast
Enthusiast
Posts: 122
Joined: Sat Nov 19, 2011 6:51 pm

#PB_Compiler_EnumerationValue In Forms Designer

Post by SniffTheGlove »

Come across a problem either with me or Form Designer and using #PB_Compiler_EnumerationValue

I am doing quite a few Enumerations in my main.pb.

Now I am using the Forms Designer to just design my gui forms.

If I use #PB_Any then I can not get proper access to the gadgets on my pbf forms. If I untick Use #PB_Any in the Forms Designer we go to using Enumerations within the pbf which is all well and good but the enumeration start back at 0. What I need is a way to use #PB_Compiler_EnumerationValue on the pbf enumerations. Manually putting the #PB_Compiler_EnumerationValue after Enumerations is OK until I swap between design/code at which point Forms Designer promtly removes the #PB_Compiler_EnumerationValue and the enumerations start at 0 Again.

Is there a way around this? a way to switch #PB_Compiler_EnumerationValue on in settings or is it a bit of Polo magic that is required to add a setting to FormDesigner that when you chose not to use #PB_Any then #PB_Compiler_EnumerationValue is the default.

Thanks
Fred
Administrator
Administrator
Posts: 18220
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: #PB_Compiler_EnumerationValue In Forms Designer

Post by Fred »

The designer now use "named" enumeration, so there is no more need of #PB_Compiler_EnumerationValue as it's automatically done. Could you be more specific on your issue ?
SniffTheGlove
Enthusiast
Enthusiast
Posts: 122
Joined: Sat Nov 19, 2011 6:51 pm

Re: #PB_Compiler_EnumerationValue In Forms Designer

Post by SniffTheGlove »

Fred wrote:The designer now use "named" enumeration, so there is no more need of #PB_Compiler_EnumerationValue as it's automatically done. Could you be more specific on your issue ?
Having read up on it I find I am a thickie!

I had an issue with enumerations and looked at the forum and read a thread about #PB_Compiler_EnumerationValue and it solved my problem, however I just found out I was doing my testing in one of my manu installed versions (V5.00) and not realising it at the time. Duh!!

Please forget this thread, nothing to read here........
Post Reply