Re: Web Area, 4D method Parameters

2019-11-11 Thread Peter Bozek via 4D_Tech
On Mon, Nov 11, 2019 at 10:29 PM Mitchell Shiller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
>
> BUT, $1 is blank. Anyone know why $1 does not pick up the “Row 1” or “Row
> 2”?
>
> Thanks. Probably pretty basic but I am very novice with HTML.
>
>
It probably should be


--

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

Re: Web Area, 4D method Parameters

2019-11-11 Thread Keisuke Miyako via 4D_Tech
should not the string argument be quoted? since you are already inside double 
quotation you should use single quotes. alternatively you could pass the 
javascript 'event' object.



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

Web Area, 4D method Parameters

2019-11-11 Thread Mitchell Shiller via 4D_Tech
Hi,

Starting working on displaying a table in a web area.
Have my HTML working correctly. i.e. my 4D data is displaying correctly.

My goal is to run a 4D method when clicking on a table row.

My table row is populated with the following HTML (rest of document left out 
for brevity sake);


  Miscellaneous 4D data 



  Next 4D data 



WA_CLICK has the following 4D code;

C_TEXT($1;$Text)
TRACE
$Text:=$1
ALERT("Web Area Clicked"+$Text)

I load the html and the all is fine.
I click on the line and the 4D method is called and stops at the TRACE.

BUT, $1 is blank. Anyone know why $1 does not pick up the “Row 1” or “Row 2”?

Thanks. Probably pretty basic but I am very novice with HTML.

Thanks

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

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread rooftop99--- via 4D_Tech
Miyako,  I hope you live forever!!  This solution worked perfectly.

Thanks,
Kirk

> On Nov 11, 2019, at 1:50 AM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-NAME.301-4445051.en.html
> https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-REFERENCE.301-4445040.en.html
> 
> there was a trick to refresh the list but I can't find the article (forums) 
> right now
> 
> 2019/11/11 17:43、rooftop99--- via 4D_Tech 
> <4d_tech@lists.4d.com>のメール:
> 
> When creating a ListBox in the 4D form editor it is possible to select a 
> single column and then set attributes for Choice List, Required List, and 
> Excluded list.  This creates drop-down menus in each cell of that column.  
> When creating a Listbox column programmatically I don’t see a way to set 
> these attributes.  Is it possible?  The command “Listbox set Property”  sets 
> other attributes, but not those three.
> 
> Bottomline:  I am looking for a way through code to create an ad hoc choice 
> dropdown in a given column of a Listbox object.  How are you folks doing this 
> now?
> 
> Thanks in advance for your help!
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

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

Re: Parsing Large JSON string

2019-11-11 Thread Gary Pedretty via 4D_Tech
Switched to http request command from Internet tools and it is working fine 
now. I was having issues originally using NTK where the JSON was getting 
truncated on the receive side.

Thanks

Gary



___
Gary Pedretty
Systems Manager
RavnAir Group

Direct Line: 907-450-7251
Mobile: 907-388-2247
Rural Mobile: 907-888-2063
Email: gary.pedre...@ravnairgroup.com





 
RavnAir Alaska – PenAir - RavnAir Connect
CONFIDENTIALITY NOTICE:
The information in this email may be confidential and/or privileged. This email 
is intended to be reviewed by only the individual or organization named above. 
If you are not the intended recipient or an authorized representative of the 
intended recipient, you are hereby notified that any review, dissemination, 
forwarding or copying of the email and its attachments, if any, or the 
information contained herein is prohibited. If you have received this email in 
error, please immediately notify the sender by return email and delete this 
email from your system. Thank you.




> On Nov 11, 2019, at 9:34 AM, Christian Sakowski 
>  wrote:
> 
>> Is there a way to parse a JSON string larger than 32k. ie: downloaded into a 
>> blob or document?
> 
> Sure, why not? Just from a text variable.
> --
> 
> Grüße/Regards,
> [heubach-media] | Christian Sakowski
> christian.sakow...@heubach-media.de
> Tel: +49/(0)40/41 455 455
> 
> 
> 
> 
> 
>> Am 05.11.2019 um 02:37 schrieb Gary Pedretty via 4D_Tech 
>> <4d_tech@lists.4d.com>:
>> 
>> Is there a way to parse a JSON string larger than 32k. ie: downloaded into a 
>> blob or document?
>> 
>> 
>> 
>> ___
>> Gary Pedretty
>> Systems Manager
>> RavnAir Group
>> 
>> Direct Line: 907-450-7251
>> Mobile: 907-388-2247
>> Rural Mobile: 907-888-2063
>> Email: gary.pedre...@ravnairgroup.com
>> 
>> 
>> 
>> 
>> 
>> 
>> RavnAir Alaska – PenAir - RavnAir Connect
>> CONFIDENTIALITY NOTICE:
>> The information in this email may be confidential and/or privileged. This 
>> email is intended to be reviewed by only the individual or organization 
>> named above. If you are not the intended recipient or an authorized 
>> representative of the intended recipient, you are hereby notified that any 
>> review, dissemination, forwarding or copying of the email and its 
>> attachments, if any, or the information contained herein is prohibited. If 
>> you have received this email in error, please immediately notify the sender 
>> by return email and delete this email from your system. Thank you.
>> 
>> 
>> 
>> 
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> 

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

Re: Parsing Large JSON string

2019-11-11 Thread Christian Sakowski via 4D_Tech
> Is there a way to parse a JSON string larger than 32k. ie: downloaded into a 
> blob or document?

Sure, why not? Just from a text variable.
--

Grüße/Regards,
[heubach-media] | Christian Sakowski
christian.sakow...@heubach-media.de
Tel: +49/(0)40/41 455 455





> Am 05.11.2019 um 02:37 schrieb Gary Pedretty via 4D_Tech 
> <4d_tech@lists.4d.com>:
> 
> Is there a way to parse a JSON string larger than 32k. ie: downloaded into a 
> blob or document?
> 
> 
> 
> ___
> Gary Pedretty
> Systems Manager
> RavnAir Group
> 
> Direct Line: 907-450-7251
> Mobile: 907-388-2247
> Rural Mobile: 907-888-2063
> Email: gary.pedre...@ravnairgroup.com
> 
> 
> 
> 
> 
> 
> RavnAir Alaska – PenAir - RavnAir Connect
> CONFIDENTIALITY NOTICE:
> The information in this email may be confidential and/or privileged. This 
> email is intended to be reviewed by only the individual or organization named 
> above. If you are not the intended recipient or an authorized representative 
> of the intended recipient, you are hereby notified that any review, 
> dissemination, forwarding or copying of the email and its attachments, if 
> any, or the information contained herein is prohibited. If you have received 
> this email in error, please immediately notify the sender by return email and 
> delete this email from your system. Thank you.
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **


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

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread Jody Bevan via 4D_Tech
Kirk:

There are two ways that we accomplish what you are thinking of. Well actually 
only one, and the other is the work around.

To have a popup icon automatically show in the cell, you need to have 4D View 
Pro active. This will permit this type of object along with many others. If you 
use 4D View Pro active then you have many types of objects, and options 
available. 

When you do not have 4D View Pro available then one is almost out of luck. 
1.  - Have an on clicked event for the cell, and make objects available on 
the form (or a new dialog window) that lets you present a popup window.

2.  - Make the column a picture column. Then use SVG to create the picture 
for each cell. The picture would be the value plus the popup icon. This of 
course is slower when may rows are displayed.


Jody

> On Nov 11, 2019, at 2:43 AM, rooftop99--- via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi All,
> 
> When creating a ListBox in the 4D form editor it is possible to select a 
> single column and then set attributes for Choice List, Required List, and 
> Excluded list.  This creates drop-down menus in each cell of that column.  
> When creating a Listbox column programmatically I don’t see a way to set 
> these attributes.  Is it possible?  The command “Listbox set Property”  sets 
> other attributes, but not those three.
> 
> Bottomline:  I am looking for a way through code to create an ad hoc choice 
> dropdown in a given column of a Listbox object.  How are you folks doing this 
> now?
> 
> Thanks in advance for your help!
> 
> Kirk

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

Parsing Large JSON string

2019-11-11 Thread Gary Pedretty via 4D_Tech
Is there a way to parse a JSON string larger than 32k. ie: downloaded into a 
blob or document?



___
Gary Pedretty
Systems Manager
RavnAir Group

Direct Line: 907-450-7251
Mobile: 907-388-2247
Rural Mobile: 907-888-2063
Email: gary.pedre...@ravnairgroup.com





 
RavnAir Alaska – PenAir - RavnAir Connect
CONFIDENTIALITY NOTICE:
The information in this email may be confidential and/or privileged. This email 
is intended to be reviewed by only the individual or organization named above. 
If you are not the intended recipient or an authorized representative of the 
intended recipient, you are hereby notified that any review, dissemination, 
forwarding or copying of the email and its attachments, if any, or the 
information contained herein is prohibited. If you have received this email in 
error, please immediately notify the sender by return email and delete this 
email from your system. Thank you.




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

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread rooftop99--- via 4D_Tech
Thank you Kirk and Miyako!  Excellent suggestions I will investigate.

Kirk, I am already using the "pop up menu” command in this particular listbox 
to support various functions. (Super useful)   However, I was hoping to use the 
“built-in”  Choice List because It has a nice little dropdown icon that sits at 
the very right of the Cell, so it clearly indicates rows in this particular 
column have a dropdown menu available.  Also, it is unobtrusive in that it 
allows the user to type directly in the Cell and only activate the choices menu 
when needed by clicking on the isolated indicator… I am not sure how to mimic 
this functionality using “Pop up Menu” of other menu commands.  Are there any 
“tricks” I am missing?

Thanks again for your help!
Kirk



> On Nov 11, 2019, at 7:50 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hi Kirk,
> I like to create menus the user invokes with a right click for this sort of
> thing.
> 
> Enable the On click event in the listbox to catch it anywhere in the column
> (let's you create a menu with content specific to the cell, column or row
> clicked on) or use the On header click event to open the menu on the
> header.
> 
> With this in place I trap the Contextual click and then draw the menu. For
> simple menus I use Pop up menu (
> https://doc.4d.com/4Dv18/4D/18/Pop-up-menu.301-4504659.en.html)
> 
> For more involved or hierarchical ones I just create, display and release a
> menu using the menu commands.
> 
> Building even fairly complex menus is amazingly fast. It's easy to write a
> method to build and display the menu then return the result to the calling
> method.
> 
> 
> On Mon, Nov 11, 2019 at 12:43 AM rooftop99--- via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Hi All,
>> 
>> When creating a ListBox in the 4D form editor it is possible to select a
>> single column and then set attributes for Choice List, Required List, and
>> Excluded list.  This creates drop-down menus in each cell of that column.
>> When creating a Listbox column programmatically I don’t see a way to set
>> these attributes.  Is it possible?  The command “Listbox set Property”
>> sets other attributes, but not those three.
>> 
>> Bottomline:  I am looking for a way through code to create an ad hoc
>> choice dropdown in a given column of a Listbox object.  How are you folks
>> doing this now?
>> 
>> Thanks in advance for your help!
>> 
>> Kirk
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> ===
> 
> What can be said, can be said clearly,
> and what you can’t say, you should shut up about
> 
> *Wittgenstein and the Computer *
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

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

Re: Event handler method in component

2019-11-11 Thread Jeremy Roussak via 4D_Tech
Chip, you’re right. For my purposes, that isn’t an issue, but your approach is 
perhaps neater.

Jeremy

> On 11 Nov 2019, at 16:43, Chip Scheide <4d_o...@pghrepository.org> wrote:
> 
> Jeremy,
> Just to be clear
> 
> your code will *only* work if both the component and host are 
> interpreted.
> for me, one of the advantages of using a component is being able to 
> compile it.
> 
> For that circumstance you will need to have some other means to inject 
> code.
> as I said I use text files in the resources folder, this is an 
> abbreviated bit of code that runs ON EXIT of the component (when 
> closing development).
> 
> then you can import/inject the code from the component even if the 
> component is compiled. :)
> 
> ARRAY TEXT($Methods;0)
> 
> If (Application type=4D Local mode)
>  //methods to be injected into host system
>  //done this way to allow easy updating of the list
> APPEND TO ARRAY($Methods;)
>  // repeated for each method to export
> 
>  //insure that the most up to date versions of
>  // the methods to be injected are saved to disk
> shtdwn_Write_Code_to_Disk (->$Methods)
> 
> 
> On Mon, 11 Nov 2019 16:16:46 +, Jeremy Roussak wrote:
>> Exactly. FWIW, this is my code. 
> We have done so much, with so little, for so long;
> We are now qualified to anything with nothing 
>  - unknown

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

Re: Event handler method in component

2019-11-11 Thread Chip Scheide via 4D_Tech
Jeremy,
Just to be clear

your code will *only* work if both the component and host are 
interpreted.
for me, one of the advantages of using a component is being able to 
compile it.

For that circumstance you will need to have some other means to inject 
code.
as I said I use text files in the resources folder, this is an 
abbreviated bit of code that runs ON EXIT of the component (when 
closing development).

then you can import/inject the code from the component even if the 
component is compiled. :)

ARRAY TEXT($Methods;0)

If (Application type=4D Local mode)
  //methods to be injected into host system
  //done this way to allow easy updating of the list
APPEND TO ARRAY($Methods;)
  // repeated for each method to export

  //insure that the most up to date versions of
  // the methods to be injected are saved to disk
shtdwn_Write_Code_to_Disk (->$Methods)


On Mon, 11 Nov 2019 16:16:46 +, Jeremy Roussak wrote:
> Exactly. FWIW, this is my code. 
We have done so much, with so little, for so long;
We are now qualified to anything with nothing 
  - unknown
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Event handler method in component

2019-11-11 Thread Jeremy Roussak via 4D_Tech
Exactly. FWIW, this is my code. The METHOD SET ATTRIBUTES call allows the 
injected method to be used as a callback. Methods to be injected begin with an 
underscore in the component, which is removed when creating the method in the 
host.

Jeremy

METHOD GET NAMES($omNames;"_OM@")
METHOD GET NAMES($hostNames;"OM@";*)

For ($i;1;Size of array($omNames))

$hostName:=Substring($omNames{$i};2)
If (Find in array($hostNames;$hostName)#-1)  // already exists, 
so see if needs to be updated

METHOD GET MODIFICATION 
DATE($omNames{$i};$omDate;$omTime)
METHOD GET MODIFICATION 
DATE($hostName;$hostDate;$hostTime;*)

If (($omDate>$hostDate) | (($omDate=$hostDate) & 
($omTime>$hostTime)))
METHOD GET CODE($hostName;$code;*)
$hostNameOld:=$hostName+"Old"
METHOD SET CODE($hostNameOld;$code;*)
METHOD GET CODE($omNames{$i};$code)
METHOD SET CODE($hostName;$code;*)
METHOD SET ATTRIBUTE($hostName;Attribute 
shared;True;*)
End if 

Else 

METHOD GET CODE($omNames{$i};$code)
METHOD SET CODE($hostName;$code;*)
METHOD SET ATTRIBUTE($hostName;Attribute shared;True;*)

End if   // if method exists

End for 



> On 11 Nov 2019, at 15:45, Chip Scheide <4d_o...@pghrepository.org> wrote:
> 
> as a bonus you can update the code in the method(s) you are injecting 
> as needs change (or bugs are found and fixed), by simply allowing the 
> injection method to overwrite the existing code.
> 
> Chip
> 
> On Mon, 11 Nov 2019 15:09:34 +, Jeremy Roussak wrote:
>> Chip, you read my mind - that is almost exactly what I implemented 
>> yesterday afternoon. It was really easy to do and it works a treat.
>> 
>> Jeremy
>> 
>>> On 11 Nov 2019, at 15:06, Chip Scheide <4d_o...@pghrepository.org> wrote:
>>> 
>>> another option - depending on your view of doing this... is Code 
>>> injection.
>>> 
>>> At startup of the host (will have to be started at least once 
>>> interpretedly)
>>> you copy the code for the event call method into a method in the host.
>>> 
>>> it looks something like this (interpreted host and component):
>>> METHOD GET CODE() 
>>> METHOD SET CODE(;)
>>> 
>>> Alternatively (compiled component and interpreted host):
>>> - At component shut down, write the method(s) to be injected to disk as 
>>> text (I use the resources folder)
>>> - at host or component startup read the text files
>>> METHOD SET CODE(;)
>>> 
>>> Chip
>>> 
>>> On Sun, 10 Nov 2019 18:07:01 +, Jeremy Roussak via 4D_Tech wrote:
 I’d like to have a method set by ON EVENT CALL to live in a 
 component. It works, in that the method is called on each event, but 
 the system variables Modifiers and KeyCode are undefined so testing 
 for the event itself is tricky.
 
 I can get round the absence of Modifiers by using Macintosh control 
 down, but I’m not sure how I get the keystroke that triggered the 
 event.
 
 Is it possible?
 
 Jeremy
>> 
> We have done so much, with so little, for so long;
> We are now qualified to anything with nothing 
>  - unknown

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

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread Kirk Brooks via 4D_Tech
Hi Kirk,
I like to create menus the user invokes with a right click for this sort of
thing.

Enable the On click event in the listbox to catch it anywhere in the column
(let's you create a menu with content specific to the cell, column or row
clicked on) or use the On header click event to open the menu on the
header.

With this in place I trap the Contextual click and then draw the menu. For
simple menus I use Pop up menu (
https://doc.4d.com/4Dv18/4D/18/Pop-up-menu.301-4504659.en.html)

For more involved or hierarchical ones I just create, display and release a
menu using the menu commands.

Building even fairly complex menus is amazingly fast. It's easy to write a
method to build and display the menu then return the result to the calling
method.


On Mon, Nov 11, 2019 at 12:43 AM rooftop99--- via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
>
> When creating a ListBox in the 4D form editor it is possible to select a
> single column and then set attributes for Choice List, Required List, and
> Excluded list.  This creates drop-down menus in each cell of that column.
> When creating a Listbox column programmatically I don’t see a way to set
> these attributes.  Is it possible?  The command “Listbox set Property”
> sets other attributes, but not those three.
>
> Bottomline:  I am looking for a way through code to create an ad hoc
> choice dropdown in a given column of a Listbox object.  How are you folks
> doing this now?
>
> Thanks in advance for your help!
>
> Kirk
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Windows network - cannot open structure of database {BaseName}

2019-11-11 Thread Peter Jakobsson via 4D_Tech
Hi

Amazing how just typing the problem out catalyses your brain !

It wasn’t enough to allow just TCP protocol in the firewall. It had to allow 
UDP as well. (In fact I just changed it to “All Protocols”).

Sorry for the noise :-)


Peter

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

Re: Event handler method in component

2019-11-11 Thread Chip Scheide via 4D_Tech
as a bonus you can update the code in the method(s) you are injecting 
as needs change (or bugs are found and fixed), by simply allowing the 
injection method to overwrite the existing code.

Chip
 
On Mon, 11 Nov 2019 15:09:34 +, Jeremy Roussak wrote:
> Chip, you read my mind - that is almost exactly what I implemented 
> yesterday afternoon. It was really easy to do and it works a treat.
> 
> Jeremy
> 
>> On 11 Nov 2019, at 15:06, Chip Scheide <4d_o...@pghrepository.org> wrote:
>> 
>> another option - depending on your view of doing this... is Code 
>> injection.
>> 
>> At startup of the host (will have to be started at least once 
>> interpretedly)
>> you copy the code for the event call method into a method in the host.
>> 
>> it looks something like this (interpreted host and component):
>> METHOD GET CODE() 
>> METHOD SET CODE(;)
>> 
>> Alternatively (compiled component and interpreted host):
>> - At component shut down, write the method(s) to be injected to disk as 
>> text (I use the resources folder)
>> - at host or component startup read the text files
>>  METHOD SET CODE(;)
>> 
>> Chip
>> 
>> On Sun, 10 Nov 2019 18:07:01 +, Jeremy Roussak via 4D_Tech wrote:
>>> I’d like to have a method set by ON EVENT CALL to live in a 
>>> component. It works, in that the method is called on each event, but 
>>> the system variables Modifiers and KeyCode are undefined so testing 
>>> for the event itself is tricky.
>>> 
>>> I can get round the absence of Modifiers by using Macintosh control 
>>> down, but I’m not sure how I get the keystroke that triggered the 
>>> event.
>>> 
>>> Is it possible?
>>> 
>>> Jeremy
> 
We have done so much, with so little, for so long;
We are now qualified to anything with nothing 
  - unknown
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Windows network - cannot open structure of database {BaseName}

2019-11-11 Thread Peter Jakobsson via 4D_Tech
Hi

I’m slightly stumped by what appears to be a networking/firewall/permissions 
issue but I’m not really sure. (Ports are open).

A 4D Client connecting to 4D Server (v15) over a Windows LAN (Windows 10) 
connects but then dies while trying to download local resources. The error 
messages are:

1024 Can’t open structure of database ({BaseName})
1211 Cannot create connection
10035 Unknown error

The weird thing is that there is a perfectly serviceable version of exactly the 
same structure running on a different server which works fine (so it doesn’t 
seem to be an issue with permissions on the client side and 4D not being able 
to write to its local cache folder). Also, I have to connect to the failing 
server using the “Custom” tab as it doesn’t automatically show up in 
“Available” which the production server does.

I have opened the Windows firewall port 19813 on the server O/S, both inbound 
and outbound. Apart from that I can see no difference from the one that works 
(they are separately licensed).

Client O/S: Windows 10
Server O/S's (Both): Windows Server 2016 Standard

Server IPs:

192.168.0.249 (Works)
192.168.0.40 (Fails)

If anyone is familiar with this issue I’d appreciate any tips !

Regards

Peter

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

Re: 4d write pro and rich text

2019-11-11 Thread Pat Bensky via 4D_Tech
Yes ... Something to submit a Wish list request to 4D about :)

Pat

On Mon, 11 Nov 2019 at 10:19, Bernd Fröhlich via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Pat Bensky:
>
> > So are you saying that you want users to be able to paste formatted text
> > from Word and have the formatting carry through to the 4D report?
>
> Me too.
> My users also complain that they can no longer paste formatted text into a
> WritePro area (like it was possible with the old 4D Write).
>
> I know that this would not be easy on 4Ds part to implement, because they
> would have to filter out all the (invisible) characters that could mess up
> the WP area, but I can also understand my users. "It worked before, so why
> doesn´t it work anymore?".
> Does not look good if you install an "update" and some basic functionality
> is gone.
>
> Greetings from Germany,
> Bernd Fröhlich
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4d write pro and rich text

2019-11-11 Thread Pat Bensky via 4D_Tech
4DWrite Pro areas allow rich text entry. See:

https://doc.4d.com/4Dv17/4D/17/Using-a-4D-Write-Pro-area.200-3726280.en.html

There's also a more user-friendly toolbar component available ... see
https://blog.4d.com/4d-write-pro-a-new-bar-is-born/

Helpful?

Pat

On Mon, 11 Nov 2019 at 12:08, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Either that or allow for rich text entry
>
> Chuck
>
> Sent from my iPhone
>
> > On Nov 11, 2019, at 12:10 PM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > So are you saying that you want users to be able to paste formatted text
> > from Word and have the formatting carry through to the 4D report?
> > Pat
> >
> >> On Sun, 10 Nov 2019 at 23:00, Charles Miller via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>
> >> We create a report now with 4D write and ha e various text areas we
> would
> >> love to allow for formatting in them now users paste in from word
> >>
> >> Regards
> >>
> >> Chuck
> >>
> >> On Thu, Nov 7, 2019 at 6:21 PM Pat Bensky via 4D_Tech <
> >> 4d_tech@lists.4d.com>
> >> wrote:
> >>
> >>> Chuck,
> >>> Can you explain in a bit more detail what you are trying to do? Create
> a
> >>> rich text area on the fly? Add rich text to plain text as part of a
> >> report?
> >>> Pat
> >>>
> >>> On Thu, 7 Nov 2019 at 19:06, Charles Miller via 4D_Tech <
> >>> 4d_tech@lists.4d.com> wrote:
> >>>
>  I see from documentation the following
> 
>  different rich text areas within 4D (text variables/fields and list
> >>> boxes),
>  a 4D Write Pro (or 4D Write) area and a 4D rich text area,
>  an external styled text and a 4D rich text area.
> 
>  What I don't see is ability to do this when creating a report on the
>  fly. I assume it is possible but do not see how. Can anyone shed light
>  on this
> 
>  Regards
> 
>  Chuck
>  --
> 
> 
> >>>
> >>
> -
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>    Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
> 
> 
> >>>
> >>
> -
>  This message and any attached documents contain information which may
>  be confidential, subject to privilege or exempt from disclosure under
>  applicable law.  These materials are intended only for the use of the
>  intended recipient. If you are not the intended recipient of this
>  transmission, you are hereby notified that any distribution,
>  disclosure, printing, copying, storage, modification or the taking of
>  any action in reliance upon this transmission is strictly prohibited.
>  Delivery of this message to any person other than the intended
>  recipient shall not compromise or waive such confidentiality,
>  privilege or exemption from disclosure as to this communication.
>  **
>  4D Internet Users Group (4D iNUG)
>  Archive:  http://lists.4d.com/archives.html
>  Options: https://lists.4d.com/mailman/options/4d_tech
>  Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>  **
> >>>
> >>>
> >>>
> >>> --
> >>> *
> >>> CatBase - Top Dog in Data Publishing
> >>> tel: +44 (0) 207 118 7889
> >>> w: http://www.catbase.com
> >>> skype: pat.bensky
> >>> *
> >>> **
> >>> 4D Internet Users Group (4D iNUG)
> >>> Archive:  http://lists.4d.com/archives.html
> >>> Options: https://lists.4d.com/mailman/options/4d_tech
> >>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>> **
> >>
> >> --
> >>
> >>
> -
> >> Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
> >> Informed Solutions, Inc.
> >> Brookline, MA 02446 USA Registered 4D Developer
> >>   Providers of 4D, Sybase & SQL Server connectivity
> >>  https://www.informed-solutions.com
> >>
> >>
> -
> >> This message and any attached documents contain information which may be
> >> confidential, subject to privilege or exempt from disclosure under
> >> applicable law.  These materials are intended only for the use of the
> >> intended recipient. If you are not the intended recipient of this
> >> transmission, you are hereby notified that any distribution, disclosure,
> >> printing, copying, storage, modification or the 

Re: Event handler method in component

2019-11-11 Thread Jeremy Roussak via 4D_Tech
Chip, you read my mind - that is almost exactly what I implemented yesterday 
afternoon. It was really easy to do and it works a treat.

Jeremy

> On 11 Nov 2019, at 15:06, Chip Scheide <4d_o...@pghrepository.org> wrote:
> 
> another option - depending on your view of doing this... is Code 
> injection.
> 
> At startup of the host (will have to be started at least once 
> interpretedly)
> you copy the code for the event call method into a method in the host.
> 
> it looks something like this (interpreted host and component):
> METHOD GET CODE() 
> METHOD SET CODE(;)
> 
> Alternatively (compiled component and interpreted host):
> - At component shut down, write the method(s) to be injected to disk as 
> text (I use the resources folder)
> - at host or component startup read the text files
>  METHOD SET CODE(;)
> 
> Chip
> 
> On Sun, 10 Nov 2019 18:07:01 +, Jeremy Roussak via 4D_Tech wrote:
>> I’d like to have a method set by ON EVENT CALL to live in a 
>> component. It works, in that the method is called on each event, but 
>> the system variables Modifiers and KeyCode are undefined so testing 
>> for the event itself is tricky.
>> 
>> I can get round the absence of Modifiers by using Macintosh control 
>> down, but I’m not sure how I get the keystroke that triggered the 
>> event.
>> 
>> Is it possible?
>> 
>> Jeremy
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Event handler method in component

2019-11-11 Thread Chip Scheide via 4D_Tech
another option - depending on your view of doing this... is Code 
injection.

At startup of the host (will have to be started at least once 
interpretedly)
you copy the code for the event call method into a method in the host.

it looks something like this (interpreted host and component):
 METHOD GET CODE() 
 METHOD SET CODE(;)

Alternatively (compiled component and interpreted host):
- At component shut down, write the method(s) to be injected to disk as 
text (I use the resources folder)
- at host or component startup read the text files
  METHOD SET CODE(;)

Chip

On Sun, 10 Nov 2019 18:07:01 +, Jeremy Roussak via 4D_Tech wrote:
> I’d like to have a method set by ON EVENT CALL to live in a 
> component. It works, in that the method is called on each event, but 
> the system variables Modifiers and KeyCode are undefined so testing 
> for the event itself is tricky.
> 
> I can get round the absence of Modifiers by using Macintosh control 
> down, but I’m not sure how I get the keystroke that triggered the 
> event.
> 
> Is it possible?
> 
> Jeremy
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
We have done so much, with so little, for so long;
We are now qualified to anything with nothing 
  - unknown
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Event handler method in component

2019-11-11 Thread Patrick Emanuel via 4D_Tech
Hi Arnaud,

I had also the same problem and the only way I found is, like all of us, to
insert a method onto the host to call back it.
Not sure that the object is a solution. Nothing found on this and not sure
that another solution exists.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Event handler method in component

2019-11-11 Thread Arnaud de Montard via 4D_Tech

> Le 10 nov. 2019 à 19:07, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> I’d like to have a method set by ON EVENT CALL to live in a component. It 
> works, in that the method is called on each event, but the system variables 
> Modifiers and KeyCode are undefined so testing for the event itself is tricky.
> 
> I can get round the absence of Modifiers by using Macintosh control down, but 
> I’m not sure how I get the keystroke that triggered the event.
> 
> Is it possible?

Hi Jeremy, 
I had a similar problem with an ON ERROR CALL method, after a while I put that 
method back in the host  :-(
Maybe I missed something, like using an object reference in v17… 

-- 
Arnaud de Montard 





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

Re: 4D 2002r8

2019-11-11 Thread Uist Macdonald via 4D_Tech

forgot to say - Windows

On 11/11/2019 13:40, Uist Macdonald via 4D_Tech wrote:

Does anyone have a copy of 4D2003r8 installer? Or a link?

Thanks

Uist


--

Ceres Computer Consultants Ltd

Registered Office:
South Scotstarvit
Chance Inn
Cupar
Fife KY15 5QJ

+44 (0) 1334 828002

Registered in Scotland : SC107838

An ISO 9001 registered company.

This message including any attachments, is intended and authorized for
the addressee only, and may contain privileged and/or confidential
information.  If you are not the authorized addressee, you are not
authorized to either review or disseminate this message.  Accordingly,
if you are not the intended and authorized recipient, please disregard
this message and notify the sender.  If you are the authorized
addressee, you may use this for the purpose for which it was intended; a
direct, personal communication to you and your legal agents.  You may
not distribute it to or publish it in any public forum without prior,
specific, written permission from the sender.

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

4D 2002r8

2019-11-11 Thread Uist Macdonald via 4D_Tech

Does anyone have a copy of 4D2003r8 installer? Or a link?

Thanks

Uist

--

Ceres Computer Consultants Ltd

Registered Office:
South Scotstarvit
Chance Inn
Cupar
Fife KY15 5QJ

+44 (0) 1334 828002

Registered in Scotland : SC107838

An ISO 9001 registered company.

This message including any attachments, is intended and authorized for
the addressee only, and may contain privileged and/or confidential
information.  If you are not the authorized addressee, you are not
authorized to either review or disseminate this message.  Accordingly,
if you are not the intended and authorized recipient, please disregard
this message and notify the sender.  If you are the authorized
addressee, you may use this for the purpose for which it was intended; a
direct, personal communication to you and your legal agents.  You may
not distribute it to or publish it in any public forum without prior,
specific, written permission from the sender.

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

Re: 4d write pro and rich text

2019-11-11 Thread Chuck Miller via 4D_Tech
Either that or allow for rich text entry 

Chuck

Sent from my iPhone

> On Nov 11, 2019, at 12:10 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> So are you saying that you want users to be able to paste formatted text
> from Word and have the formatting carry through to the 4D report?
> Pat
> 
>> On Sun, 10 Nov 2019 at 23:00, Charles Miller via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>> 
>> We create a report now with 4D write and ha e various text areas we would
>> love to allow for formatting in them now users paste in from word
>> 
>> Regards
>> 
>> Chuck
>> 
>> On Thu, Nov 7, 2019 at 6:21 PM Pat Bensky via 4D_Tech <
>> 4d_tech@lists.4d.com>
>> wrote:
>> 
>>> Chuck,
>>> Can you explain in a bit more detail what you are trying to do? Create a
>>> rich text area on the fly? Add rich text to plain text as part of a
>> report?
>>> Pat
>>> 
>>> On Thu, 7 Nov 2019 at 19:06, Charles Miller via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>> 
 I see from documentation the following
 
 different rich text areas within 4D (text variables/fields and list
>>> boxes),
 a 4D Write Pro (or 4D Write) area and a 4D rich text area,
 an external styled text and a 4D rich text area.
 
 What I don't see is ability to do this when creating a report on the
 fly. I assume it is possible but do not see how. Can anyone shed light
 on this
 
 Regards
 
 Chuck
 --
 
 
>>> 
>> -
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  https://www.informed-solutions.com
 
 
>>> 
>> -
 This message and any attached documents contain information which may
 be confidential, subject to privilege or exempt from disclosure under
 applicable law.  These materials are intended only for the use of the
 intended recipient. If you are not the intended recipient of this
 transmission, you are hereby notified that any distribution,
 disclosure, printing, copying, storage, modification or the taking of
 any action in reliance upon this transmission is strictly prohibited.
 Delivery of this message to any person other than the intended
 recipient shall not compromise or waive such confidentiality,
 privilege or exemption from disclosure as to this communication.
 **
 4D Internet Users Group (4D iNUG)
 Archive:  http://lists.4d.com/archives.html
 Options: https://lists.4d.com/mailman/options/4d_tech
 Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
 **
>>> 
>>> 
>>> 
>>> --
>>> *
>>> CatBase - Top Dog in Data Publishing
>>> tel: +44 (0) 207 118 7889
>>> w: http://www.catbase.com
>>> skype: pat.bensky
>>> *
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: https://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>> 
>> --
>> 
>> -
>> Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>> Informed Solutions, Inc.
>> Brookline, MA 02446 USA Registered 4D Developer
>>   Providers of 4D, Sybase & SQL Server connectivity
>>  https://www.informed-solutions.com
>> 
>> -
>> This message and any attached documents contain information which may be
>> confidential, subject to privilege or exempt from disclosure under
>> applicable law.  These materials are intended only for the use of the
>> intended recipient. If you are not the intended recipient of this
>> transmission, you are hereby notified that any distribution, disclosure,
>> printing, copying, storage, modification or the taking of any action in
>> reliance upon this transmission is strictly prohibited.  Delivery of this
>> message to any person other than the intended recipient shall not
>> compromise or waive such confidentiality, privilege or exemption from
>> disclosure as to this communication.
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> 

Re: 4d write pro and rich text

2019-11-11 Thread Bernd Fröhlich via 4D_Tech
Pat Bensky:

> So are you saying that you want users to be able to paste formatted text
> from Word and have the formatting carry through to the 4D report?

Me too.
My users also complain that they can no longer paste formatted text into a 
WritePro area (like it was possible with the old 4D Write).

I know that this would not be easy on 4Ds part to implement, because they would 
have to filter out all the (invisible) characters that could mess up the WP 
area, but I can also understand my users. "It worked before, so why doesn´t it 
work anymore?".
Does not look good if you install an "update" and some basic functionality is 
gone.

Greetings from Germany,
Bernd Fröhlich
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4d write pro and rich text

2019-11-11 Thread Pat Bensky via 4D_Tech
So are you saying that you want users to be able to paste formatted text
from Word and have the formatting carry through to the 4D report?
Pat

On Sun, 10 Nov 2019 at 23:00, Charles Miller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> We create a report now with 4D write and ha e various text areas we would
> love to allow for formatting in them now users paste in from word
>
> Regards
>
> Chuck
>
> On Thu, Nov 7, 2019 at 6:21 PM Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com>
> wrote:
>
> > Chuck,
> > Can you explain in a bit more detail what you are trying to do? Create a
> > rich text area on the fly? Add rich text to plain text as part of a
> report?
> > Pat
> >
> > On Thu, 7 Nov 2019 at 19:06, Charles Miller via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > I see from documentation the following
> > >
> > > different rich text areas within 4D (text variables/fields and list
> > boxes),
> > > a 4D Write Pro (or 4D Write) area and a 4D rich text area,
> > > an external styled text and a 4D rich text area.
> > >
> > > What I don't see is ability to do this when creating a report on the
> > > fly. I assume it is possible but do not see how. Can anyone shed light
> > > on this
> > >
> > > Regards
> > >
> > > Chuck
> > > --
> > >
> > >
> >
> -
> > >  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
> > >  Informed Solutions, Inc.
> > >  Brookline, MA 02446 USA Registered 4D Developer
> > >Providers of 4D, Sybase & SQL Server connectivity
> > >   https://www.informed-solutions.com
> > >
> > >
> >
> -
> > > This message and any attached documents contain information which may
> > > be confidential, subject to privilege or exempt from disclosure under
> > > applicable law.  These materials are intended only for the use of the
> > > intended recipient. If you are not the intended recipient of this
> > > transmission, you are hereby notified that any distribution,
> > > disclosure, printing, copying, storage, modification or the taking of
> > > any action in reliance upon this transmission is strictly prohibited.
> > > Delivery of this message to any person other than the intended
> > > recipient shall not compromise or waive such confidentiality,
> > > privilege or exemption from disclosure as to this communication.
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: https://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> >
> >
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> --
>
> -
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
>
> -
> This message and any attached documents contain information which may be
> confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution, disclosure,
> printing, copying, storage, modification or the taking of any action in
> reliance upon this transmission is strictly prohibited.  Delivery of this
> message to any person other than the intended recipient shall not
> compromise or waive such confidentiality, privilege or exemption from
> disclosure as to this communication.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: 

Re: ListBox - Possible to set choice list programmatically?

2019-11-11 Thread Keisuke Miyako via 4D_Tech
https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-NAME.301-4445051.en.html
https://doc.4d.com/4Dv16/4D/16.6/OBJECT-SET-LIST-BY-REFERENCE.301-4445040.en.html

there was a trick to refresh the list but I can't find the article (forums) 
right now

2019/11/11 17:43、rooftop99--- via 4D_Tech 
<4d_tech@lists.4d.com>のメール:

When creating a ListBox in the 4D form editor it is possible to select a single 
column and then set attributes for Choice List, Required List, and Excluded 
list.  This creates drop-down menus in each cell of that column.  When creating 
a Listbox column programmatically I don’t see a way to set these attributes.  
Is it possible?  The command “Listbox set Property”  sets other attributes, but 
not those three.

Bottomline:  I am looking for a way through code to create an ad hoc choice 
dropdown in a given column of a Listbox object.  How are you folks doing this 
now?

Thanks in advance for your help!



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

ListBox - Possible to set choice list programmatically?

2019-11-11 Thread rooftop99--- via 4D_Tech
Hi All,

When creating a ListBox in the 4D form editor it is possible to select a single 
column and then set attributes for Choice List, Required List, and Excluded 
list.  This creates drop-down menus in each cell of that column.  When creating 
a Listbox column programmatically I don’t see a way to set these attributes.  
Is it possible?  The command “Listbox set Property”  sets other attributes, but 
not those three.

Bottomline:  I am looking for a way through code to create an ad hoc choice 
dropdown in a given column of a Listbox object.  How are you folks doing this 
now?

Thanks in advance for your help!

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