Skip to main content

Group Box ordering

  • May 15, 2015
  • 4 replies
  • 1 view

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

4 replies

Chris Glazier
Forum|alt.badge.img+2

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?


  • May 15, 2015

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!


Fano Razafinimanana

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,


Chris Glazier
Forum|alt.badge.img+2

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.