HP Forums

Full Version: Choose function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hallo all,

How can i make a Choose function with e. g. a yellow background?
(05-15-2015 06:49 AM)Heino Wrote: [ -> ]Hallo all,

How can i make a Choose function with e. g. a yellow background?

I think no, almost for now.

Standing on the help we have:
«CHOOSE(var, “title”, “item1”, “item2”,[…"item14"]) or CHOOSE(var,"title",{"item1"..."itemN")
Description
Displays a choose box with the given title and containing items with the strings "item1", etc. If the user choose an object, var will be updated to contain the number of the selected object (an integer, 1, 2, 3, …); otherwise, stores zero in var if the user exits without choosing.
Returns true (non zero) if the user selects an object, otherwise return false (0).»

Salvo
I would have to say that at the moment you cannot choose the background graphic for the choose command. I have tried in vain, and it appears that the choose box only appears on top of the screen that the program is started from and not the current screen in the program (i.e. RECT_P() to clear the screen). If anyone has found a way to circumvent this I would love to hear about it...
Thanks for the answer!
Reference URL's