John Flynn | 1 Feb 01:06

Want enterable List Box but no line selection

Hi.

I'm using 4D 2004.8 on Windows. I have a List Box that allows data entry 
into the cells. The default 4D behavior seems to be that when the user 
clicks on a cell, it first selects the line, and then the user must click 
again to start entering data into the cell. Then, when the user later 
clicks or tabs out of the List Box, 4D displays the last-selected line 
with a faint gray background.

I don't want either of those things to happen. I want the user to be able 
to click once into a cell and start typing. Then when he tabs out I want 
all the lines of the List Box to look the same. (Obviously, my app doesn't 
need the concept of a "selected line" on that screen.) Is there a built-in 
attribute that lets me do that, like AreaList has?

I have solved my problem through complicated programming, i.e. trapping 
the various events and using EDIT ITEM and/or SELECT LISTBOX ROW to get 
the effect I want. But I'm hoping there's a simpler way to do it.

Thanks.
- John.

**********************************************************************
4D v12.3 is available - OSX Lion Certified, and more
http://www.4d.com/products/new.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
(Continue reading)

Max Morrison | 1 Feb 01:36

Re: How Do You Determine If A Set Exist

apologies on both accounts so please accept this small token
<http://www.dartmouth.edu/~milton/reading_room/pl/book_1/ 
 > thought it may not alter your faith in the solid 90 or the slinking  
lawyer it just might right wrongs greater than my egregious meandering  
if you get to the first period not part of a semicolon before you  
decide that its notions too are not worth the paper it's printed on  
and that the author though not lawyerly embodies the trappings of  
implied paranahs damn only made it to eighty nine

On Jan 31, 2012, at 2:44 PM, Richard Wright wrote:

> I gave up after the 5th comma in the first sentence. I don't believe  
> in sentences with >90 words unless you're a lawyer, but I don't  
> believe in lawyers either.

**********************************************************************
4D v12.3 is available - OSX Lion Certified, and more
http://www.4d.com/products/new.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 Dancy | 1 Feb 01:37
Picon

Re: How Do You Determine If A Set Exist

LOL! I'm a compulsive reader so I made it the end of the sentence - but I
was mentally out of breath because of the lack of punctuation. :)

David Dancy
Sydney, Australia

On 1 February 2012 11:36, Max Morrison <maxxie@...> wrote:

> apologies on both accounts so please accept this small token <
> http://www.dartmouth.edu/~**milton/reading_room/pl/book_1/<http://www.dartmouth.edu/~milton/reading_room/pl/book_1/>
> **≥ thought it may not alter your faith in the solid 90 or the slinking
> lawyer it just might right wrongs greater than my egregious meandering if
> you get to the first period not part of a semicolon before you decide that
> its notions too are not worth the paper it's printed on and that the author
> though not lawyerly embodies the trappings of implied paranahs damn only
> made it to eighty nine
>
>
> On Jan 31, 2012, at 2:44 PM, Richard Wright wrote:
>
>  I gave up after the 5th comma in the first sentence. I don't believe in
>> sentences with >90 words unless you're a lawyer, but I don't believe in
>> lawyers either.
>>
>
>
> **************************************************************************
> 4D v12.3 is available - OSX Lion Certified, and more
> http://www.4d.com/products/**new.html<http://www.4d.com/products/new.html>
>
(Continue reading)

Re: How Do You Determine If A Set Exist

From a blast from the past - this is how I determine if a set exists - I don't!

  ` (M)  z_Util_Set_DoesItExist
  ` z_Util_Set_DoesItExist (Pointer to Table; SetName)
  ` z_Util_Set_DoesItExist ( P; S )

  `Created by: © Michael Weisenberger
  `Date Created: 05/01/2003 at 20:17:55
  `Last Modified: 05/01/2003 at 20:17:55

  ` Test if the passed set name exists
  ` If it does do nothing
  ` if it does not - create an empty one for the Table specified
C_POINTER($p_Table;$1)
C_STRING(80;$vs_NameofSet;$2)
C_LONGINT($vl_RecsInSet)

$p_Table:=$1
$vs_NameofSet:=$2
$vl_RecsInSet:=Records in set($vs_NameofSet)
If ($vl_RecsInSet=0)  ` Assume the set does not exist - even if it is it is empty
  CREATE EMPTY SET($p_Table->;$vs_NameofSet)  ` Create a new empty one
Else 
    ` set exists and has records in it  
End if 
  `eom

If you think about it, what you really want is to avoid errors when using the Set either in USE SET or UNION,
INTERSECTION etc. So this avoids the issue by just creating an empty set if the set does not exist or even if
it does, recreate it again as an empty one. In your code just before you do any Set manipulation call this
(Continue reading)

Sujit Shah | 1 Feb 02:32
Picon

Cannot get into interpreted Mode??

Ok here goes:

I am dragging the 4D V12 Structure shortcut and dropping it onto the
4D.exe shortcut. All's good it launches and I hold the SHIFT key which
brings up the 4D password dialog. I login as developer/designer and I
am in. However I cannot get into the design mode?

Also tried launching 4D.exe -> Choose 4DB -> choose Data -> Open Interpreted

Nope does not work either.

Hmm..

--

-- 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"There must be ingenuity as well as intention, strategy as well as strength. "
**********************************************************************
4D v12.3 is available - OSX Lion Certified, and more
http://www.4d.com/products/new.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@...
**********************************************************************

Sujit Shah | 1 Feb 02:37
Picon

Re: Cannot get into interpreted Mode??

I suspect I have been time bombed for not renewing my yearly partner fees..

On Wed, Feb 1, 2012 at 12:32 PM, Sujit Shah <sujit.au@...> wrote:
> Ok here goes:
>
> I am dragging the 4D V12 Structure shortcut and dropping it onto the
> 4D.exe shortcut. All's good it launches and I hold the SHIFT key which
> brings up the 4D password dialog. I login as developer/designer and I
> am in. However I cannot get into the design mode?
>
> Also tried launching 4D.exe -> Choose 4DB -> choose Data -> Open Interpreted
>
> Nope does not work either.
>
>
> Hmm..
>
>
> --
>
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> "There must be ingenuity as well as intention, strategy as well as strength. "

--

-- 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"There must be ingenuity as well as intention, strategy as well as strength. "
**********************************************************************
4D v12.3 is available - OSX Lion Certified, and more
http://www.4d.com/products/new.html
(Continue reading)

Ronald Hofmann | 1 Feb 02:34
Picon

Re: Cannot get into interpreted Mode??

Are you on a Mac?

Greetings from Switzerland, Ronald Hofmann
---
Am 01.02.2012 um 02:32 schrieb Sujit Shah:

> Ok here goes:
> 
> I am dragging the 4D V12 Structure shortcut and dropping it onto the
> 4D.exe shortcut. All's good it launches and I hold the SHIFT key which
> brings up the 4D password dialog. I login as developer/designer and I
> am in. However I cannot get into the design mode?
> 
> Also tried launching 4D.exe -> Choose 4DB -> choose Data -> Open Interpreted
> 
> Nope does not work either.
> 
> 
> Hmm..
> 
> 
> -- 
> 
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> "There must be ingenuity as well as intention, strategy as well as strength. "
> **********************************************************************
> 4D v12.3 is available - OSX Lion Certified, and more
> http://www.4d.com/products/new.html
> 
> 4D Internet Users Group (4D iNUG)
(Continue reading)

Sujit Shah | 1 Feb 02:48
Picon

Re: Cannot get into interpreted Mode??

Windoze

On Wed, Feb 1, 2012 at 12:34 PM, Ronald Hofmann <prolog@...> wrote:
> Are you on a Mac?
>
> Greetings from Switzerland, Ronald Hofmann
> ---
> Am 01.02.2012 um 02:32 schrieb Sujit Shah:
>
>> Ok here goes:
>>
>> I am dragging the 4D V12 Structure shortcut and dropping it onto the
>> 4D.exe shortcut. All's good it launches and I hold the SHIFT key which
>> brings up the 4D password dialog. I login as developer/designer and I
>> am in. However I cannot get into the design mode?
>>
>> Also tried launching 4D.exe -> Choose 4DB -> choose Data -> Open Interpreted
>>
>> Nope does not work either.
>>
>>
>> Hmm..
>>
>>
>> --
>>
>> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> "There must be ingenuity as well as intention, strategy as well as strength. "
>> **********************************************************************
>> 4D v12.3 is available - OSX Lion Certified, and more
(Continue reading)

Jeffrey Kain | 1 Feb 03:07

Re: Cannot get into interpreted Mode??

It's probably related to your license.

On 1/31/12 8:32 PM, "Sujit Shah" <sujit.au@...> wrote:

>Ok here goes:
>
>I am dragging the 4D V12 Structure shortcut and dropping it onto the
>4D.exe shortcut. All's good it launches and I hold the SHIFT key which
>brings up the 4D password dialog. I login as developer/designer and I
>am in. However I cannot get into the design mode?
>
>Also tried launching 4D.exe -> Choose 4DB -> choose Data -> Open
>Interpreted
>
>Nope does not work either.

**********************************************************************
4D v12.3 is available - OSX Lion Certified, and more
http://www.4d.com/products/new.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@...
**********************************************************************

Owen Watson | 1 Feb 05:02
Picon

SAVE LIST freezes 4D if list editor open

Is there any way to tell whether the list editor is open anywhere on a
4D Server v11.9 client list?
Just that SAVE LIST seems to freeze 4D if the list editor is open (I'm
running 4D Server interpreted).
ON ERR CALL doesn't make any difference.

--

-- 
Owen Watson
**********************************************************************
4D v12.3 is available - OSX Lion Certified, and more
http://www.4d.com/products/new.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@...
**********************************************************************


Gmane