I'm looking for a function where I can pass a message and an array of options to be displayed to the end user, i.e. Clipper 5.2 ALERT(). For example:
- Code: Select all Expand view
- nSel := ALERT("Message to be displayed", {"Option 1", "Option 2", "Option n"}, cColor)
It should return the option that the user selected or in defect 0 for not choosing. If I can set the function color via the cColor argument, it will be great. Any ideas or suggestions ? Thanks.