#PB_Compiler_EnumerationValue In Forms Designer
Posted: Sat Sep 20, 2014 8:26 pm
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
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