Skip to main content

Hi,

In NetExpress 5.1, is there any way to specify ordering for a Group Box (without having to go through the array and rewrite it)?   For instance, if I wanted to order the contents of the Group Box by customer number...

Thanks,

Fran De


#groupboxordering
#sorting

Hi,

In NetExpress 5.1, is there any way to specify ordering for a Group Box (without having to go through the array and rewrite it)?   For instance, if I wanted to order the contents of the Group Box by customer number...

Thanks,

Fran De


#groupboxordering
#sorting

Hi Fran,

I assume that you are talking about Dialog System but I am not sure what you mean by Group Box. A Group box is a con troll that groups other controls together such as radio buttons and doesn't actually contain any data to be sorted.

Are you referring to a Listbox or ListView control perhaps?


Hi,

In NetExpress 5.1, is there any way to specify ordering for a Group Box (without having to go through the array and rewrite it)?   For instance, if I wanted to order the contents of the Group Box by customer number...

Thanks,

Fran De


#groupboxordering
#sorting

Yes, my bad!  I meant list box!


Hi,

In NetExpress 5.1, is there any way to specify ordering for a Group Box (without having to go through the array and rewrite it)?   For instance, if I wanted to order the contents of the Group Box by customer number...

Thanks,

Fran De


#groupboxordering
#sorting

Hi Fran,

You always need to code from COBOL the order of the items that you will be populating into a DS listbox control.

Regards,


Hi,

In NetExpress 5.1, is there any way to specify ordering for a Group Box (without having to go through the array and rewrite it)?   For instance, if I wanted to order the contents of the Group Box by customer number...

Thanks,

Fran De


#groupboxordering
#sorting

If it was a listview control instead of a listbox then there are sorting methods that can be applied so that when you click the column header the contents will be sorted by that column.

There is an example of this in NX under Examples\\Dialog System\\COMMONCONTROLS\\LISTVIEW.