Re: LISTBOX INSERT COLUMN not getting data

2017-01-28 Thread Lee Hinde
Cool. Thanks. > On Jan 28, 2017, at 10:33 AM, John DeSoi wrote: > > Yes, you can declare a 2D array of each type and then just allocate listbox > columns as needed from the 2D arrays. > > John DeSoi, Ph.D. > > > >> On Jan 28, 2017, at 12:07 PM, Lee Hinde

Re: LISTBOX INSERT COLUMN not getting data

2017-01-28 Thread Arnaud de Montard
> Le 28 janv. 2017 à 19:07, Lee Hinde a écrit : > > In my case I am flattening out c_objectc/fields. By definition I don’t know > how many keys will be in whatever I’m finding. So I have to pre-declare my > best guess + 10 to have them ready. > > I think. There isn’t a

Re: LISTBOX INSERT COLUMN not getting data

2017-01-28 Thread John DeSoi
Yes, you can declare a 2D array of each type and then just allocate listbox columns as needed from the 2D arrays. John DeSoi, Ph.D. > On Jan 28, 2017, at 12:07 PM, Lee Hinde wrote: > > In my case I am flattening out c_objectc/fields. By definition I don’t know > how

Re: LISTBOX INSERT COLUMN not getting data

2017-01-28 Thread Lee Hinde
In my case I am flattening out c_objectc/fields. By definition I don’t know how many keys will be in whatever I’m finding. So I have to pre-declare my best guess + 10 to have them ready. I think. There isn’t a way to do this in real time, is there? > On Jan 28, 2017, at 8:41 AM, Arnaud de

Re: LISTBOX INSERT COLUMN not getting data

2017-01-27 Thread Kirk Brooks
Lee, I've settled on a 3 step methodology that works like this (which I was tweaking just the other day): 1) get the column var pointers from the Listbox get arrays command (wrapped in ​ Listbox_get_colVarArray ​). 2) declare the variable type of those columns. 3) then populate the arrays​. ​

Re: LISTBOX INSERT COLUMN not getting data

2017-01-27 Thread Lee Hinde
Thanks Paul. In this case all the arrays are of equal length and all have data. The array returned by LISTBOX GET ARRAYS shows the expected results. On Fri, Jan 27, 2017 at 1:13 PM, Paul Ringsmuth wrote: > I was just reading about list boxes today. If any of the

Re: Listbox insert column

2016-10-07 Thread Peter Mew
Ahh Drag the headers - Excellent Thanks very much cheers -pm On Fri, Oct 7, 2016 at 9:16 PM, Keith Culotta wrote: > I forget how v13 may have accomplished this... In v15 the contextual menu > has "Add column before", "Add column after" options. You should also be > able to

Re: Listbox insert column

2016-10-07 Thread Keith Culotta
I forget how v13 may have accomplished this... In v15 the contextual menu has "Add column before", "Add column after" options. You should also be able to grab the Header cell of the column and drag it left and right. Keith - CDI > On Oct 7, 2016, at 3:08 PM, Peter Mew

Re: Listbox insert column

2016-10-07 Thread Keith Culotta
Highlight a column. Right-click (or control-click) on the column and you will see the contextual menu. Keith - CDI > On Oct 7, 2016, at 2:32 PM, Peter Mew wrote: > > Hi > I cant find how to do this. > I have an array based listbox, with several columns. > I now want to