Hi All
I need help please.
I have Icons on my screen and when the Surveyor taps on any of them, a Popupmenu appears, from which a further selection can be made. I use the RSPopupmenu library for this, which I like very much.
If the Selection list is short, then the menu works fine. For instance selecting the "Fix" icon when using a Dumpy Level, the selections are:
Collimation
Backsight
Intermediate
Foresight
Levelbook
If however the Surveyor selects "Setout", then the popup menu displays:
Batterboards
Earthworks
Surface
Coords
Strings
TIN Model..etc.
What I need are submenus under each of those selections. For instances if the User clicks on "Strings", then "Define, Load, Setout, Checks" should appear.
I have tried to use the "AddsubMenu2" option, but I am doing something wrong.
Could anybody please show me in code how to do it.
I need help please.
I have Icons on my screen and when the Surveyor taps on any of them, a Popupmenu appears, from which a further selection can be made. I use the RSPopupmenu library for this, which I like very much.
If the Selection list is short, then the menu works fine. For instance selecting the "Fix" icon when using a Dumpy Level, the selections are:
Collimation
Backsight
Intermediate
Foresight
Levelbook
If however the Surveyor selects "Setout", then the popup menu displays:
Batterboards
Earthworks
Surface
Coords
Strings
TIN Model..etc.
What I need are submenus under each of those selections. For instances if the User clicks on "Strings", then "Define, Load, Setout, Checks" should appear.
I have tried to use the "AddsubMenu2" option, but I am doing something wrong.
Could anybody please show me in code how to do it.