Run-time same name

Top  Previous  Next

When you populate a listbox on a window, normally you associate it with a queue. This association is specified at design-time, so the template can detect it automatically. However, if you set the queue at run-time (via the PROP:From property) there is no way to know what the relation is (as PROP:From is write-only).

If you tick this option, any list that has not a queue associated at design-time, will take a queue with the same name as the list equate (without the leading ?).

 

clip0065

If in this procedure you assign at run-time a queue to a list that have not the same name, you may untick this option.

 

The list below allows you to manually specify the queue-lists correspondence.

You may insert, change or delete the entries on this list.

 

clip0143

Each entry has the following form:

 

clip0066

In "List" you select any of the lists presents in this window.

In "Source", you type a valid queue name to link to this list. This entry follows the same rules that apply to the PROP:From property (refer to the clarion on-line help), it may be a Queue or a list of options.

 

If all your lists has assigned queues at design-time, these options will be ignored.

If you have entries in the list, those lists will override the "same name" option when linked to their queues.

The "Run-time same name" is the last option applied, if ticked.