Re: Rotate Picture in 4D

2017-06-26 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 // Bes

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

2017-06-26 Thread Kirk Brooks via 4D_Tech
Robert, I second Tim's approach - just build your own menu based on the On clicked event with Contextual Click. I don't think a user could tell the difference between it being a '4D menu' and an 'OS menu'. I'm not even sure there is any. The only thing I'd do differently is not bother with an IP

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

2017-06-26 Thread Robert ListMail via 4D_Tech
This Windows-based client sees this as a glaring omission from modern software… I would expect it to work by default or easy to implement although I personally accepted the fact that I can’t right-click for a useful contextual menu at times. Tim, care to share how you implemented this for one of

Re: [Ann] 4D Set Component

2017-06-26 Thread David Adams via 4D_Tech
On Tue, Jun 27, 2017 at 4:07 AM, Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Never heard of this. I'd be interested to know. > Nope, doesn't seem to work in 16.1. ** 4D Internet Users Group (4D iNUG) FAQ: http://l

Re: Generating Random Numbers

2017-06-26 Thread Cannon Smith via 4D_Tech
I can’t agree more with what David has said about passwords. Here is another article about it including a comic that I like: -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236

Re: Generating Random Numbers

2017-06-26 Thread David Adams via 4D_Tech
On Tue, Jun 27, 2017 at 1:32 AM, Jim Medlen via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I concatenate 8 characters to build a ³random² > password which then has to meet a few simple rules. > contains a number > contains a lower case letter > No Double characters > Not 3 or more consecutive numbe

Re: Is there a way to get a list of set semaphores?

2017-06-26 Thread Kirk Brooks via 4D_Tech
Okey dokey - here's the list to my feature request: http://forums.4d.fr/Post//19605563/1/ On Mon, Jun 26, 2017 at 11:23 AM, Kirk Brooks wrote: > Just wondering. > > -- > Kirk Brooks > San Francisco, CA > === > > *The only thing necessary for the triumph of evil is for good

Re: v13+ - component method parameters

2017-06-26 Thread Alan Tilson via 4D_Tech
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 trying to compile (testing database) > with interpreted component. > The error provided "In

Re: [Ann] 4D Set Component

2017-06-26 Thread Jeffrey Kain via 4D_Tech
Never heard of this. I'd be interested to know. -- Jeffrey Kain jeffrey.k...@gmail.com > On Jun 24, 2017, at 9:41 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I keep meaning to test this out or ask...is wildcard set clearing still > supported? Deep into some numbers now so I

Re: Generating Random Numbers

2017-06-26 Thread Jim Medlen via 4D_Tech
Tim, Thanks for the help. I think that my method was based on your original tech note http://kb.4d.com/assetid=76055 I found the PHP command mt_rand which generates a random number using Mersenne Twister. This function was recommended on several web pages regarding random number generators. U

Re: Is there a way to get a list of set semaphores?

2017-06-26 Thread Chip Scheide via 4D_Tech
The only way I can think of is to know* all the semaphores and use Test Semaphore * - if you create 'random' semaphores - add them to an IP array, otherwise build an IP array with all the possible semaphores On Mon, 26 Jun 2017 11:23:28 -0700, Kirk Brooks via 4D_Tech wrote: > Just wondering. >

Is there a way to get a list of set semaphores?

2017-06-26 Thread Kirk Brooks via 4D_Tech
Just wondering. -- Kirk Brooks San Francisco, CA === *The only thing necessary for the triumph of evil is for good men to do nothing.* *- Edmund Burke* ** 4D Internet Users Group (4D iNUG) FAQ: http://lists

Re: [Ann] 4D Set Component

2017-06-26 Thread Chip Scheide via 4D_Tech
David, This will not work in my component, mostly because I didn't know such a thing existed... I will look into it later this week, and if this behavior exists, I'll update and include it. And post back to let you know. Chip On Sun, 25 Jun 2017 11:41:31 +1000, David Adams via 4D_Tech wrote: >

RE: Generating Random Numbers

2017-06-26 Thread Timothy Penner via 4D_Tech
> Is the 4D Random function considered a good random number generator ? It's OK, it produces a 15-bit random number between 1 and 32,767. If you need numbers above 32,767 you can use this: http://kb.4d.com/assetid=7 If the built in command doesn't meet your need then you can use PHP (like Dav

Re: Generating Random Numbers

2017-06-26 Thread David Samson via 4D_Tech
Jim, The standard random function in 4D is pretty basic. I looked into it once and found a much better solution was to use PHP. This is mathematically a much more "robust" generator. Here is a code example. (I think I found this in the iNUG archives.) // ---

Re: [Ann] 4D Set Component

2017-06-26 Thread David Adams via 4D_Tech
I keep meaning to test this out or ask...is wildcard set clearing still supported? Deep into some numbers now so I'm not trying it out myself. But does anyone know? It used to be that you could clear everything like this: CLEAR SET("@") ...or be more selective, like: CLEAR SET("Items_@") Does a

RE: Generating Random Numbers

2017-06-26 Thread Dennis, Neil via 4D_Tech
Not considered a good random number generator when you are looking for random numbers. Add in milliseconds or seed it by looking for a random number (from millisecond or something) of random numbers and tossing them. I usually use something like this Random+Abs(Milliseconds) and they seem rando

Generating Random Numbers

2017-06-26 Thread Jim Medlen via 4D_Tech
Is the 4D Random function considered a good random number generator ? Is there a better 4D function for generating a random number ? I am currently using vi1:=(Random%35)+1 to make a random selection of lower case letters or numbers. I concatenate 8 characters to build a ³random² password which

Re: v13+ - component method parameters

2017-06-26 Thread Chip Scheide via 4D_Tech
Alan, First the specific problem was/is trying to compile (testing database) with interpreted component. The error provided "Invalid parameter" is not really the correct error to generate. As to your question regarding sets. download the (shareware) component. https://www.dropbox.com/s/075k0ap

Re: v13+ - component method parameters

2017-06-26 Thread Alan Tilson via 4D_Tech
Hello Chip, Sorry, I don't know the answer to your issues, but I am curious about how you determine what sets if any exist for a table? I thought the only test available was Records in Set()>0? Thanks, Alan On Wed, Jun 21, 2017 at 12:30 PM, Chip Scheide via 4D_Tech < 4d_tech@lists.4d.com> wrote:

Re: Rotate Picture in 4D

2017-06-26 Thread Chip Scheide via 4D_Tech
270 :) On Sun, 25 Jun 2017 20:51:57 +0100, Peter Mew via 4D_Tech wrote: > Can anyone see why and suggest a modification > to make it so --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing *

Re: Rotate Picture in 4D

2017-06-26 Thread Peter Mew via 4D_Tech
Ok thanks -pm Sent from my iPad > On 26 Jun 2017, at 02:38, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > it's not so much "my" component since rotating a picture is an innate feature > of SVG. > the only the component does it is make sure the center of rotation is at the > c