Another Newbie List Box Question

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

Another Newbie List Box Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have an array based List Box, and I want to allow the user to be able to
enter values in the second column of the list box.

Is the Edit Item command the correct way to accomplish this, or is there a
better command that would allow me to designate that the entire column is
editable?  The Edit Item command only works on a cell.

Thanks in advance!


Steve




**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html


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: Another Newbie List Box Question

by Bill Weale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve--

After selecting the LB object in the form editor, click on a column  
and check the Enterable attribute box.

Seems like a bunch of us are confronting list boxes for the first  
time...

Bill


On Nov 12, 2009, at 3:10 PM, Stephen J. Orth wrote:

> I have an array based List Box, and I want to allow the user to be  
> able to
> enter values in the second column of the list box.
>
> Is the Edit Item command the correct way to accomplish this, or is  
> there a
> better command that would allow me to designate that the entire  
> column is
> editable?  The Edit Item command only works on a cell.
>
> Thanks in advance!
>
>

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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: Another Newbie List Box Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, I have this figured out, but something weird is happening.

I am setting the individual cell to enterable, via the Edit Item
command....however, when this happens the cell becomes completely white, and
you can't see what your typing, until you leave the cell.

What am I doing wrong here, as this seems odd.  Why can't we see what we are
typing?


Steve



-----Original Message-----
From: 4d_tech-bounces@... [mailto:4d_tech-bounces@...] On
Behalf Of Stephen J. Orth
Sent: Thursday, November 12, 2009 2:11 PM
To: '4D iNug Technical'
Subject: Another Newbie List Box Question

I have an array based List Box, and I want to allow the user to be able to
enter values in the second column of the list box.

Is the Edit Item command the correct way to accomplish this, or is there a
better command that would allow me to designate that the entire column is
editable?  The Edit Item command only works on a cell.

Thanks in advance!


Steve

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html


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: Another Newbie List Box Question

by Doug Cottrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve,

In the design environment, you can set the array as enterable- you can select
a specific array within a listbox as well as selecting the listbox
itself.  Or, at runtime
you can call Set Enterable on the array.

DKC

>I have an array based List Box, and I want to allow the user to be able to
>enter values in the second column of the list box.
>
>Is the Edit Item command the correct way to accomplish this, or is there a
>better command that would allow me to designate that the entire column is
>editable?  The Edit Item command only works on a cell.
>
>Thanks in advance!
>
>
>Steve
>
>
>
>
>**********************************************************************
>Get up to $600 to spend on Amazon.com
>this holiday season - http://www.4d.com/serverpromo.html
>
>
>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@...
>**********************************************************************


--
Doug Cottrill
PTM Software, LLC

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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: Another Newbie List Box Question

by David Nasralla :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is the column available in the design environment, or are you
inserting the array on the fly?

If you are doing it on the fly use the object name of the column.
SET ENTERABLE(*;"ObjectName_at";True)

d

On Thu, Nov 12, 2009 at 1:10 PM, Stephen J. Orth
<s.orth@...> wrote:

> I have an array based List Box, and I want to allow the user to be able to
> enter values in the second column of the list box.
>
> Is the Edit Item command the correct way to accomplish this, or is there a
> better command that would allow me to designate that the entire column is
> editable?  The Edit Item command only works on a cell.
>
> Thanks in advance!
>
>
> Steve
>
>
>
>
> **********************************************************************
> Get up to $600 to spend on Amazon.com
> this holiday season - http://www.4d.com/serverpromo.html
>
>
> 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@...
> **********************************************************************
>



--
David Nasralla
Clean Air Engineering
**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html


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: Another Newbie List Box Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks to everyone who responded.  I did go back and read the documentation
again, and have found the suggestions everyone is mentioning.

My problem now is that when the cell is enterable, you cannot see what your
typing until you leave the cell.

This can't be normal, and something must be configured wrong...yes?


Steve




-----Original Message-----
From: David Nasralla [mailto:dnasralla@...]
Sent: Thursday, November 12, 2009 2:28 PM
To: s.orth@...; 4D iNug Technical
Subject: Re: Another Newbie List Box Question

Is the column available in the design environment, or are you
inserting the array on the fly?

If you are doing it on the fly use the object name of the column.
SET ENTERABLE(*;"ObjectName_at";True)

d

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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: Another Newbie List Box Question

by Bill Weale :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My guess is that it's the highlight or field color. Works OK here, and  
I generally see problems most others don't complain about.

8-)

Bill


On Nov 12, 2009, at 3:32 PM, Stephen J. Orth wrote:

> Thanks to everyone who responded.  I did go back and read the  
> documentation
> again, and have found the suggestions everyone is mentioning.
>
> My problem now is that when the cell is enterable, you cannot see  
> what your
> typing until you leave the cell.
>
> This can't be normal, and something must be configured wrong...yes?
>

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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: Another Newbie List Box Question

by Doug Cottrill :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That is definitely not normal.  Is the same array being used elsewhere in the
same form?  This has bitten me in the past- even having the same array on
a different page will cause problems.  I don't have any other ideas off the top
of my head.

DKC


>Thanks to everyone who responded.  I did go back and read the documentation
>again, and have found the suggestions everyone is mentioning.
>
>My problem now is that when the cell is enterable, you cannot see what your
>typing until you leave the cell.
>
>This can't be normal, and something must be configured wrong...yes?
>
>
>Steve
>
>
>
>
>-----Original Message-----
>From: David Nasralla [mailto:dnasralla@...]
>Sent: Thursday, November 12, 2009 2:28 PM
>To: s.orth@...; 4D iNug Technical
>Subject: Re: Another Newbie List Box Question
>
>Is the column available in the design environment, or are you
>inserting the array on the fly?
>
>If you are doing it on the fly use the object name of the column.
>SET ENTERABLE(*;"ObjectName_at";True)
>
>d
>
>**********************************************************************
>Get up to $600 to spend on Amazon.com
>this holiday season - http://www.4d.com/serverpromo.html
>  
>
>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@...
>**********************************************************************


--
Doug Cottrill
PTM Software, LLC

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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: Another Newbie List Box Question

by Keith Culotta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This sounds like an issue that existed in an older version.  There was a point where the justification of the column could affect its visibility, but all this has been fixed.

Keith
Computer Dimensions, Inc.

On Nov 12, 2009, at 3:31 PM, 4d_tech-request@... wrote:

> My problem now is that when the cell is enterable, you cannot see what your
> typing until you leave the cell.

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html


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: Another Newbie List Box Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doug,

No, this array is specific to this List Box...but thanks for the tip.


Steve




-----Original Message-----
From: Doug Cottrill [mailto:dkc@...]
Sent: Thursday, November 12, 2009 2:37 PM
To: s.orth@...; 4D iNug Technical
Subject: RE: Another Newbie List Box Question

That is definitely not normal.  Is the same array being used elsewhere in
the
same form?  This has bitten me in the past- even having the same array on
a different page will cause problems.  I don't have any other ideas off the
top
of my head.

DKC

**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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: Another Newbie List Box Question

by Stephen J. Orth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bill,

Thanks for the suggestion, however I don't see where you set the highlight
or field color.

Can you point me in the right direction?

Thanks!


Steve




-----Original Message-----
From: Bill Weale [mailto:Bill.Weale@...]
Sent: Thursday, November 12, 2009 2:36 PM
To: s.orth@...; 4D iNug Technical
Subject: Re: Another Newbie List Box Question

My guess is that it's the highlight or field color. Works OK here, and  
I generally see problems most others don't complain about.

8-)

Bill


On Nov 12, 2009, at 3:32 PM, Stephen J. Orth wrote:

> Thanks to everyone who responded.  I did go back and read the  
> documentation
> again, and have found the suggestions everyone is mentioning.
>
> My problem now is that when the cell is enterable, you cannot see  
> what your
> typing until you leave the cell.
>
> This can't be normal, and something must be configured wrong...yes?
>


**********************************************************************
Get up to $600 to spend on Amazon.com
this holiday season - http://www.4d.com/serverpromo.html
   

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@...
**********************************************************************