List Box Basic Question

View: New views
8 Messages — Rating Filter:   Alert me  

List Box Basic Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm just starting to look at the List Box as a possible interface for some
of our forms, and have read both the Language and Design reference
concerning this object.

One question that neither of these deals with is what type of variable is
the actual List Box (Longint, Boolean, etc.)?

Also, besides the Language and Design references, is there any other
recommend reading material concerning List Box's?

Thanks in advance!


Steve

*****************************************************
  Stephen J. Orth                                                
  The Aquila Group, Inc.                       Office:  (608) 834-9213
  P.O. Box 690                                     Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.orth@...
*****************************************************



**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: List Box Basic Question

by Narinder Chandi-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi. The type of a List Box is ARRAY BOOLEAN.

Regards,

Narinder.
--


on 03/11/2009 16:49, Stephen J. Orth at s.orth@... wrote:

> I'm just starting to look at the List Box as a possible interface for some
> of our forms, and have read both the Language and Design reference
> concerning this object.
>
> One question that neither of these deals with is what type of variable is
> the actual List Box (Longint, Boolean, etc.)?
>
> Also, besides the Language and Design references, is there any other
> recommend reading material concerning List Box's?
>
> Thanks in advance!
>
>
> Steve


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: List Box Basic Question

by Koen Van Hooreweghe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Its a boolean array. At least in v2004 it is, I'm not really sure  
about v11, but I guess it is the same.

HTH
Koen
Op 3-nov-09, om 17:49 heeft Stephen J. Orth het volgende geschreven:

> One question that neither of these deals with is what type of  
> variable is
> the actual List Box (Longint, Boolean, etc.)?

--------------------
Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
bvbaCompass@...


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

RE: List Box Basic Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Koen,

Great, that is what I surmised by "reading between the lines" in the
documentation...however they never come out and directly say that as far as
I can see.

Thanks!


Steve

*****************************************************
  Stephen J. Orth                                                
  The Aquila Group, Inc.                       Office:  (608) 834-9213
  P.O. Box 690                                     Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.orth@...
*****************************************************


-----Original Message-----
From: Koen Van Hooreweghe [mailto:bvbaCompass@...]
Sent: Tuesday, November 03, 2009 10:58 AM
To: s.orth@...; 4D iNug Technical
Subject: Re: List Box Basic Question

Its a boolean array. At least in v2004 it is, I'm not really sure  
about v11, but I guess it is the same.


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

RE: List Box Basic Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Koen,

One quick question...

The documentation states that any arrays (except pointers) may be used.
Does this include local arrays?

Basically, may I use local arrays for the columns and the other
configuration arrays?


Steve

*****************************************************
  Stephen J. Orth                                                
  The Aquila Group, Inc.                       Office:  (608) 834-9213
  P.O. Box 690                                     Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.orth@...
*****************************************************



-----Original Message-----
From: Koen Van Hooreweghe [mailto:bvbaCompass@...]
Sent: Tuesday, November 03, 2009 10:58 AM
To: s.orth@...; 4D iNug Technical
Subject: Re: List Box Basic Question

Its a boolean array. At least in v2004 it is, I'm not really sure  
about v11, but I guess it is the same.

HTH
Koen

**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Parent Message unknown RE: List Box Basic Question

by John Foster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Stephen,

> Koen, Great, that is what I surmised by "reading between the lines"  
> in the
> documentation...however they never come out and directly say that as  
> far as
> I can see.

I noticed this response from Koen. But I didn't know what his answer  
was. So I checked gMane and there is no evidence of a NUG response.

May I ask if Koen sent a private response? If not that would indicate  
that the NUG message is missing (at least at this moment in time).

Anyway, since I am not sure if all messages are being posted I think  
it would be a good idea that we display the remarks we are responding  
to in the response. That way the response is self contained. This is  
very helpful when searching gMane for past responses.

Hope that makes sense?

John...

--------------------------------------------------------------

John Foster
Eternity Software
425-486-1622

  http://www.eternity-software.com/ES_Products.html

This e-mail contains confidential & proprietary information intended  
for the use of the original addressee.  If you are not the addressee  
you are hereby notified that any dissemination or other action in  
reliance upon this communication could result in legal liability to  
you and your Organization.

--------------------------------------------------------------




**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Re: List Box Basic Question

by Chip Scheide :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

not always :)

apparently - Selection based listboxes are Long int

On Tue, 3 Nov 2009 17:57:54 +0100, Koen Van Hooreweghe wrote:

> Its a boolean array. At least in v2004 it is, I'm not really sure
> about v11, but I guess it is the same.
>
> HTH
> Koen
> Op 3-nov-09, om 17:49 heeft Stephen J. Orth het volgende geschreven:
>
>> One question that neither of these deals with is what type of variable is
>> the actual List Box (Longint, Boolean, etc.)?
>
> --------------------
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Knesselare
> Belgium
> bvbaCompass@...
>
>
> **********************************************************************
> Get the speed and power of 4D v11 SQL
> before upgrade prices increase - http://www.4d.com
>  
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4D.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> **********************************************************************
>
**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************

Parent Message unknown RE: List Box Basic Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks to everyone who has responded to the List Box question I posted.

Apparently there is much that is not really documented very well, if at all.


Steve



-----Original Message-----
From: Jack des Bouillons [mailto:jack.desbouillons@...]
Sent: Tuesday, November 03, 2009 12:34 PM
To: s.orth@...
Subject: Re: List Box Basic Question

The List Box object itself is a Boolean array.  But don't forget that the
column headers are buttons (longints)...

Also one potential gotcha you might want to look out for...

The list box values  - such as Size of Array(MyListBox) - may not match the
size of it's arrays until the screen refreshes.  Say you have a List Box
with arrays of 12 elements.  Call a routine that sets all the arrays to 0
and then check  Size of Array(MyListBox) or Get Number of ListBox rows
(MyListBox) - it will still show 12 elements.

Jack des Bouillons

 


**********************************************************************
Get the speed and power of 4D v11 SQL
before upgrade prices increase - http://www.4d.com
   

4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4D.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
**********************************************************************