09-10-2005 10:15 AM
09-10-2005 10:27 AM - edited 09-10-2005 10:27 AM
A dialog ring always selects one of possibly several options, so I am not sure exactly what you mean.
Of course you still have full programmatic control of the items. For example, you could make one of them an empty string, then select it programmatically. You can also dynamically modify the items via the "strings" property, for example write initially an array with a single empty string to this property and later populate it with the desired items.
Whatever you want to do is certainly possible! 🙂
If this is not exactly what you mean or If you want more detailed instructions, please attach a small example of your code.
Also, If you wire a "-1" to it, you miust ensure that your data type allows negative numbers. By default, it is a U16, which cannot be negative.
Message Edited by altenbach on 09-10-2005 08:36 AM
09-10-2005 10:59 AM
09-10-2005 11:43 AM
I think you are trying to use a dialog ring beyond its intended purpose. A ring ALWAYS must contain a value, so (exactly) one item is always active. There is no mechnism to allow nothing to be selected.
Of course, you could name one of the items "No Selection", then select it to indicate that fact 😉
Maybe you could replace your dialog ring with a dialog listbox. Here you can select e.g. the mode "0 or 1 item", allowing 0 items to be selected if desired.
09-11-2005 05:17 AM
09-11-2005 06:32 AM
You can't. It's not possible.
But what is it that you are trying to do? Why is the checkmark a problem? The idea of the check is to tell the operator what item is currently selected. If you have a "No Selection Made" item to indicate that the operator need to make a selection, and that item has a check next to it when the menu is open, that's a good thing...
Mike...