In VB there's something called an enum type. It's really just a long.
VB example:
Public enum DEMONAME
demoval
demoval2
demoval3=4
demoval4
end enum
B4A example:
enum DEMONAME(demoval,demoval2,demoval3=3,demoval4)
It would declare demoval,demoval2,demoval3,demoval4 as longs with the values: demoval=0, demoval=1, demoval3=4, demoval=2
And whenever you start typing in a parameter or select case of that value, the intellisense dropdown would be filled with those values.
VB example:
Public enum DEMONAME
demoval
demoval2
demoval3=4
demoval4
end enum
B4A example:
enum DEMONAME(demoval,demoval2,demoval3=3,demoval4)
It would declare demoval,demoval2,demoval3,demoval4 as longs with the values: demoval=0, demoval=1, demoval3=4, demoval=2
And whenever you start typing in a parameter or select case of that value, the intellisense dropdown would be filled with those values.