Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Guy Algot via 4D_Tech
It does if it’s only a single column. You don’t use a listbox, you use a hierarchical list. If it’s more than one column then ditch the listbox and use DisplayList or ALP. > On Jun 27, 2017, at 3:14 AM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I might be remembering this

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Sujit Shah via 4D_Tech
There are some really nice TA examples on the french forum also our Man Keisuke.. I think it is a KB called Address Validation or something similar. I like the way Keisuke use Styled text to generate double row list boxes that pretty much look like JS drop downs. On Wed, Jun 28, 2017 at 12:52

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread John DeSoi via 4D_Tech
> On Jun 27, 2017, at 8:54 PM, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Have 36 buttons that trigger to the 26 characters and 10 numerals. > > These are combined into a string and if that text is found (in the current > sorted column) that line is highlighted. > > If

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Justin Carr via 4D_Tech
On 28 Jun 2017, at 12:01 pm, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Wed, Jun 28, 2017 at 11:54 AM, Wayne Stewart via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi, >> >> I did it with help from Dave Batton (so you can imagine how fresh this >> solution is)! >> >> The

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread David Adams via 4D_Tech
On Wed, Jun 28, 2017 at 11:54 AM, Wayne Stewart via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi, > > I did it with help from Dave Batton (so you can imagine how fresh this > solution is)! > > The way it works is this and you will laugh/wince. > Dang, I'm kind of impressed. That's actually a lot

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Wayne Stewart via 4D_Tech
Hi, I did it with help from Dave Batton (so you can imagine how fresh this solution is)! The way it works is this and you will laugh/wince. Here is a screenshot of the form: http://www.4dsupport.guru/iNUGPictures/2017/Select.png Have 36 buttons that trigger to the 26 characters and 10

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread David Adams via 4D_Tech
On Wed, Jun 28, 2017 at 1:01 AM, Kirk Brooks via 4D_Tech < 4d_tech@lists.4d.com> wrote: I've been messing around with type ahead recently. I came across that as > well and I seem to recall the solution was some 'regular' type ahead > methodology wired up to the list box. So you'd still have the

Re: v13 (+?) - Replace String [warning]

2017-06-27 Thread Alan Chan via 4D_Tech
Hi Chip, Try the following and it should be done in a second or 2 (compiled). //ES_ReplaceStr_Shrink($source;$oldString;$newString;{$count pointer})->Resulted text C_TEXT($0;$1;$2;$3;$source;$oldStr;$newStr;$result;$tempTxt) C_POINTER($4)

Re: v13 (+?) - Replace String [warning]

2017-06-27 Thread Chip Scheide via 4D_Tech
It was lunch time any way :) On Tue, 27 Jun 2017 22:59:01 +0200, Arnaud de Montard via 4D_Tech wrote: >> >> [...] >> I have a 4.8 meg text, I am using for testing. >> I accidentally ran the following line of code against it. >> >> $Source:=Replace String($Source;Char(9);"";*) >> >> [...] it

Re: Max Password Length

2017-06-27 Thread Jeremy French via 4D_Tech
15 alphanumeric characters. See item #5 of “ Adding and modifying users” at: http://doc.4d.com/4Dv16/4D/16.1/Managing-users-and-groups.300-3373309.en.html > On Jun 27, 2017, at 3:05 PM, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > What is the maximum Length of a 4D Password ?

Re: Max Password Length

2017-06-27 Thread Arnaud de Montard via 4D_Tech
> Le 27 juin 2017 à 21:05, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > > What is the maximum Length of a 4D Password ? In the change password dialog, the upper input becomes unpleasantly noisy after 15. -- Arnaud de Montard

Max Password Length

2017-06-27 Thread Jim Medlen via 4D_Tech
What is the maximum Length of a 4D Password ? Thanks, Jim Medlen Computer & Information Systems Functional Devices, Inc. j.med...@functionaldevices.com phone (765) 883-5538 x 428 fax (765) 883-4262 http://www.functionaldevices.com This email was transmitted on 100 percent recycled electrons

v13 (+?) - Replace String [warning]

2017-06-27 Thread Chip Scheide via 4D_Tech
I was playing around with the code StringOmit from Keith Culotta. I made some changes, which should make it faster... still testing. but in the process I found a 'problem' with Replace String. I have a 4.8 meg text, I am using for testing. I accidentally ran the following line of code against

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Arnaud de Montard via 4D_Tech
> Le 27 juin 2017 à 17:01, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > [...] > I've been playing around with the idea of trying to implement TA in a text > field, the way the method editor looks up method names for instance. Not > really liking anything I've got yet. That

Re: Generating Random Numbers

2017-06-27 Thread Arnaud de Montard via 4D_Tech
> Le 26 juin 2017 à 20:46, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I think that my method was based on your original tech note > http://kb.4d.com/assetid=76055 It's based on Random, same problem of distribution… > I found the PHP command mt_rand which generates a random

Re: Generating Random Numbers

2017-06-27 Thread Chip Scheide via 4D_Tech
I ran into a problem with the PHP execute code, it was throwing an error, I do not know exactly why, and of course I can't get it to repeat now to capture the error message... Also it was a bit slower. replacing (for capital letters) Char(Random%($CapEnd-$CapStart+1))+$CapStart) -- (656 seconds

RE: Expose with 4D Mobile Service

2017-06-27 Thread Timothy Penner via 4D_Tech
> It seems like everything just got it when we upgraded and the only way to > unset it is to manually go through every field and table and uncheck the box. You can multi-select tables and fields as shown here: http://kb.4d.com/assetid=77316 -Tim PENNER

Re: Generating Random Numbers

2017-06-27 Thread Chip Scheide via 4D_Tech
Below are some links to sites which show statistics on various password frequency, some based on hacked password systems. A summary on passwords - from where I do not remember - We have succeeded in enfacing passwords which are difficult for us humans to use/remeber, and easy for computers to

Expose with 4D Mobile Service

2017-06-27 Thread Douglas Cryer via 4D_Tech
Hello, Is there any way to get or set the property in 4D tables and fields to identify if a field or table is exposed with 4D Mobile Service. Is there any penalty or risk associated with having this setting on? It seems like everything just got it when we upgraded and the only way to unset it

Re: v13+ - component method parameters

2017-06-27 Thread Chip Scheide via 4D_Tech
Yes. It is mine. On Mon, 26 Jun 2017 17:24:55 -0400, Alan Tilson wrote: > Chip, > Thanks for the link. I'll try to check it out. Is it your component? > Alan > > On Mon, Jun 26, 2017 at 11:13 AM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> Alan, >> First the specific problem was/is

Re: Error -19191

2017-06-27 Thread Spencer Hinsdale via 4D_Tech
this is cant use new network layer from old clients... http://kb.4d.com/assetid=77427 Spencer > On Jun 27, 2017, at 6:15 AM, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > We have a client trying to connect to a database from Austria

Error -19191

2017-06-27 Thread Douglas Cryer via 4D_Tech
Hi, We have a client trying to connect to a database from Austria and they are getting a -19191 error when trying to connect. Anyone know what this error is? Regards, Dougie telekinetix Limited- J. Douglas Cryer Phone : 01234 761759

Re: Rotate Picture in 4D

2017-06-27 Thread Keisuke Miyako via 4D_Tech
http://blog.4d.com/component-source-code-sharing-4d-partners/ good news is that svg component is open source ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html

Re: Rotate Picture in 4D

2017-06-27 Thread Peter Mew via 4D_Tech
V13 I'm afraid Thanks -pm Sent from my iPad > On 27 Jun 2017, at 08:52, Vincent de Lachaux via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hello, > > If you are using v14 or more, you can try the command SVG_ROTATION_CENTERED ( > svgObject ; angle ) > > > > > >> On 27 Jun 2017, at

Re: Rotate Picture in 4D

2017-06-27 Thread Peter Mew via 4D_Tech
Hi Bernd I went with LEP and imagemagick, which is also quite slow. I will try your code and see how it compares" Thanks -pm Sent from my iPad > On 27 Jun 2017, at 07:53, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Peter Mew: > >> I am trying to use Miyako's rotate picture

RE: 4D and Exchange Server with IMAP

2017-06-27 Thread 4dialog via 4D_Tech
A shot in the dark - what happends if you change the LOCAL $id to a global var vID? - Hilsen -- Helge Antonsen 4Dialog as Tel: +47 64 000 164 Mob: +47 90 15 56 19 Web: www.4dialog.no -- View this message in context:

Automatic type-ahead on single-column listbox?

2017-06-27 Thread David Adams via 4D_Tech
I might be remembering this wrong, but I thought that 4D had a built-in way of letting you type ahead to a row in a listbox. I have a one-column listbox based on an array and want to select items by type. Like, typing 'ca' selects the first item starting with 'ca'. I messed around with the

Re: Contextual Cut, Copy & Paste...?

2017-06-27 Thread Keisuke Miyako via 4D_Tech
the source code for this example is lost, but an early version (with bugs) is still hosted here: http://forums.4d.fr/Post//6273875/1 > 2017/06/27 17:51、Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> のメール: > > http://sources.4d.com/trac/4d_keisuke/wiki/CustomContextualMenu

Re: Contextual Cut, Copy & Paste...?

2017-06-27 Thread Keisuke Miyako via 4D_Tech
contextual (or otherwise) click on an editable text input is only available in v14 or later, in older version you need to work around with ON EVENT CALL. http://sources.4d.com/trac/4d_keisuke/wiki/CustomContextualMenu but then, if your are on v14 or later, you could simply use the built-in

Re: Rotate Picture in 4D

2017-06-27 Thread Keisuke Miyako via 4D_Tech
by the way, GD has a rotate function too, https://github.com/miyako/4d-plugin-gd also available via 4D native PHP ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Rotate Picture in 4D

2017-06-27 Thread Vincent de Lachaux via 4D_Tech
Hello, If you are using v14 or more, you can try the command SVG_ROTATION_CENTERED ( svgObject ; angle ) > On 27 Jun 2017, at 08:53, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Peter Mew: > >> I am trying to use Miyako's rotate picture component in v13. >> I dont know if

Re: Rotate Picture in 4D

2017-06-27 Thread bernard--- via 4D_Tech
> Le 27 juin 2017 à 08:53, Bernd Fröhlich via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Peter Mew: > >> I am trying to use Miyako's rotate picture component in v13. >> I dont know if its not compatible but It wont run. > > Hi Peter, > I had some problems also (not sure what exactly), so

Re: Rotate Picture in 4D

2017-06-27 Thread Bernd Fröhlich via 4D_Tech
Peter Mew: > I am trying to use Miyako's rotate picture component in v13. > I dont know if its not compatible but It wont run. Hi Peter, I had some problems also (not sure what exactly), so I rolled my own: // Methode: PIC_Rotate // Angelegt: BF 04.04.12 // Objekt: Bildbearbeitung //