Re: 4D scanning

2021-06-24 Thread Peter Mew via 4D_Tech
also you can unarchive the .zip or .dmg that comes with the source > repository. > > --- > > there are several ways to communicate with a scanner > > ICA the standard on Mac and WIA is the new standard on Windows. > some hardware vendors may not provide a TWAIN driver for Window

Re: 4D scanning

2021-06-23 Thread Peter Mew via 4D_Tech
EATE FOLDER(cDTPath) > >> Else > >> DOCUMENT LIST(cDTPath;acOldDocs) > >> For ($old;1;Size of array(acOldDocs)) > >> DELETE DOCUMENT(cDTPath+acOldDocs{$old}) > >> End for > >> End if > >> > >> cDTPath:=cDTPath+Char(92)

Re: 4D scanning

2021-06-17 Thread Peter Mew via 4D_Tech
at Github you'll get a list of his > repositories. > -- > Douglas von Roeder > 949-910-4084 > > > On Thu, Jun 17, 2021 at 8:55 AM Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi >> I havent done any of this for a while so Im a bi

4D scanning

2021-06-17 Thread Peter Mew via 4D_Tech
Hi I havent done any of this for a while so Im a bit! rusty. I looking to download Miyakos twain plug in, Where do I find it? or is there a better plugin that will capture scans and work with 4D v13 mac and PC preferably free thanks -pm

Re: selecting pixels

2019-10-10 Thread Peter Mew via 4D_Tech
Thanks Could you expand a bit on your reply Thanks -pm On Thu, Oct 10, 2019 at 1:06 PM Spencer Hinsdale via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > -> On Event Call `lmk if you need more suggestions > > On 10/10/19, 4:12 AM, "4D_Tech on behalf of Peter Mew via

selecting pixels

2019-10-10 Thread Peter Mew via 4D_Tech
Hi Is it possible to select a group of pixels by dragging across them. So you get Mouse down position (in Pixels) Drag to new position (Leaving a Trail) Mouse Up position (In pixels) I'm only interested in a Horizontal Movement A pointer to which commands to read up on would be good enough (I

zooming and panning

2019-08-26 Thread Peter Mew via 4D_Tech
Hi Heres the thing I have an audio waveform (You can think of it as a map) I want to be able to choose a location somewhere in the waveform, move the waveform so the chosen location is in the centre of the waveform, and zoom in X 2 to the location. Then drop a marker at that point and then to be

save listbox

2019-08-13 Thread Peter Mew via 4D_Tech
Hi Does anyone have a routine, component, plugin, or pointer to the right direction, that will save the contents of an array based listbox, so that the data can be restored at a later date thanks -pm 4d v13 ** 4D Internet Users

Creating Hierarchical Listbox

2019-07-29 Thread Peter Mew via 4D_Tech
Hi I havent used this kind of listbox before so a few pointers would be gratefully received. At the moment my listbox contains 9 columns, some hidden, some not. One of the arrays holds information as to whether a row is designated as "start" or "end" If a row is designated as "Start", columns

Re: not enough space in memory

2019-04-16 Thread Peter Mew via 4D_Tech
e, Apr 16, 2019 at 8:15 PM Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi >> I'm trying to load a large, 1.5G, audio file into a blob using document to >> blob, and Im getting a not enough spce in memory error. I can load a file >> that is 1G o

not enough space in memory

2019-04-16 Thread Peter Mew via 4D_Tech
Hi I'm trying to load a large, 1.5G, audio file into a blob using document to blob, and Im getting a not enough spce in memory error. I can load a file that is 1G ok. Is there a setting I can change to stop this error. The Machine has 16G of Ram installed. thanks -pm

Re: Count in Text

2019-04-09 Thread Peter Mew via 4D_Tech
" > >>> > >>> To find "the" > >>> There are multiple ways, one is to parse the text into arrays based up > >>> words and find in array. There seems to be a new command in 17 r > >>> release that will do the parse for you > >>>

Count in Text

2019-04-09 Thread Peter Mew via 4D_Tech
Hi Is there a 4D command that will count the number of occurences of character, in string thanks -pm ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Re: Reporting progress

2019-03-20 Thread Peter Mew via 4D_Tech
Hi Jeremy I start a new process <>NewProcess and open a window with a text variable, vProgress, on a form. When ever I want a new message displayed I Do <>Message:= "Hello World"+char(13) Call Process(New Process) Then in the form method for New Process I do IF(Form event = on outside call)

Lep Redirect

2019-03-10 Thread Peter Mew via 4D_Tech
Hi I wonder if anyone can help me with this. I have a LEP command that reads a file from disc, does some processing using a program called "shntool", and writes the processed result back to disc C_Blob($in;$out) C_Text($err) Launch external process(<>PathToShntool+" "+"strip"+" "+"-O always"+"

Re: Write Hex Bytes

2019-02-21 Thread Peter Mew via 4D_Tech
padding bytes if necessary Sorry, long winded explanation thanks -pm On Thu, Feb 21, 2019 at 11:22 PM Peter Mew wrote: > Hi > Yes, Thats it almost exactly, I just need to convert to little endian, I > think I can manage that! > Thanks > -pm > > On Thu, Feb 21, 2019 at 10:45

Re: Write Hex Bytes

2019-02-21 Thread Peter Mew via 4D_Tech
Hi Yes, Thats it almost exactly, I just need to convert to little endian, I think I can manage that! Thanks -pm On Thu, Feb 21, 2019 at 10:45 PM Arnaud de Montard via 4D_Tech < 4d_tech@lists.4d.com> wrote: > > > Le 21 févr. 2019 à 22:09, Peter Mew via 4D_Tech <4d_tech@lists

Re: Create text object

2018-12-04 Thread Peter Mew via 4D_Tech
//object to be moved is a text or other object which can't be > referenced via pointer > OBJECT GET COORDINATES(*;$Object_Name;$Left;$Top;$Right;$Bottom) > > $Right:=$Right+($New_Left-$Left) > $Bottom:=$Bottom+($New_Top-$Top) > OBJECT MOVE(*;$Object_Name;$New_Left;$New_Top;$Right

Transform picture

2018-12-04 Thread Peter Mew via 4D_Tech
Hi Im using Transform picture to Zoom in and out. Horizontally, of a graphic. The Graphic starts out about 4500 (This will vary) pixels wide, using transform picture to fit it in a window 930 pixels wide. the code to zoom in is <>ScrollRatio:=<>ScrollRatio*2 //Zoom Ratio $ScaledL:=OrigL_3

Creating a text object

2018-11-27 Thread Peter Mew via 4D_Tech
Hi I should have said 4D v13.6 Mac Yosemite thanks -pm ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Create text object

2018-11-27 Thread Peter Mew via 4D_Tech
Hi Is it possible to, programatically, create an object that consists of text from an element of an array, and place it at a specific location on a form thanks -pm ** 4D Internet Users Group (4D iNUG) Archive:

Re: dragging an object

2018-11-21 Thread Peter Mew via 4D_Tech
ct name";$dX;$dY) > > The code is off the top of my head so it will need some tweaking but that's > the mechanics. If you are moving a picture on top of another picture (like > a background graphic) you use Drop position to get the drop xy. > > > On Tue, Nov 20, 2018 at

dragging an object

2018-11-20 Thread Peter Mew via 4D_Tech
Hi Any ideas on how to implement the following Click on an object on a form(a Picture) Drag it to a new location Have it stay at the new location a bonus would be if it could be shown being dragged Ive tried various combinations of form events involving the mouse (Mouse Enter Mouse Move etc) in

Re: Placing a picture or graphic object

2018-11-12 Thread Peter Mew via 4D_Tech
sor2”;55;0;55;60;*) > > Regards, > Jeremy French > > On Nov 11, 2018, at 2:56 PM, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I want to place a Grapic called "Cursor" at absolute > coordinates ^0 pixels from the top of the form, and 55 pixels f

Placing a picture or graphic object

2018-11-11 Thread Peter Mew via 4D_Tech
Hi I am creating a graphic object, could be a line or rectangle or a picture. Having created it, how do I place it on the form where I Want it. Bear in mind Im on v13 and dont have access to object set coordinates, only move picture, transform picture, and object get coordinates. Object Move,

Making a selection

2018-11-09 Thread Peter Mew via 4D_Tech
Hi My Prevoius post wasnt very clear. Im asking that the user can select an object or objects, by clicking on an object, say a rectangle, and draging it to change its size, for example. or the user can add multiple objects, by surrounding them with a box, to an array of object names. thanks -pm

Making a Selection

2018-11-09 Thread Peter Mew via 4D_Tech
Hi Is it possible to make a selection of objects on a form, by dragging a box around the objects, and issuing a command to select them, possibly adding the object names to an array Thanks -pm Mac Yosemite 4D 13.6 ** 4D Internet

Scroll keys

2018-10-17 Thread Peter Mew via 4D_Tech
Hi I have a forn, on which there are two pictures, which scroll in sync using a single horizontal scroll bar. How do I get the left/right arrow keys to operate the scroll bar. The language ref says Scroll keys are automatically available for users when a picture type object has a scroll bar. but

Re: 13.x Quick Report Export Max Output File Size?

2018-07-24 Thread Peter Mew via 4D_Tech
Certain File types, ie WAV files, have a 4Gig size limit due to the number of bytes allocated in the header. that contains the file size. Regardless of the disc file system. cheers -pm On Tue, Jul 24, 2018 at 7:53 PM, Timothy Penner via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Is the file system

Re: v13 version of v16 code

2018-03-30 Thread Peter Mew via 4D_Tech
terday, in fact… > > Old code = Document to BLOB > > New code = Document to text > > -- > Douglas von Roeder > 949-336-2902 > > On Fri, Mar 30, 2018 at 12:59 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > Hi does anyone have a v13 versio

v13 version of v16 code

2018-03-30 Thread Peter Mew via 4D_Tech
Hi does anyone have a v13 version for the line of code containing the v16 command "document to text" $tContent:=Document to text($tPath2XMLFile;"UTF-8";Document with CR) thanks -pm ** 4D Internet Users Group (4D iNUG) FAQ:

Re: xml to array

2018-03-29 Thread Peter Mew via 4D_Tech
it working in v16 thanks -pm On Tue, Mar 27, 2018 at 1:50 PM, Peter Mew <peterm3...@gmail.com> wrote: > Hi > Is there a 4D command that will take a block of xml, and turn it into a > number of arrays (or pairs of arrays (attribute and value) > Or is this a st

Re: xml to array

2018-03-27 Thread Peter Mew via 4D_Tech
Hi Tom I would very much like to see your method thanks -pm On Tue, Mar 27, 2018 at 10:04 PM, Benedict, Tom wrote: > Hi Peter, > > > > > > > >Is there a 4D command that will take a block of xml, and turn it into a > number of arrays (or pairs of arrays (attribute and

xml to array

2018-03-27 Thread Peter Mew via 4D_Tech
Hi Is there a 4D command that will take a block of xml, and turn it into a number of arrays (or pairs of arrays (attribute and value) Or is this a stupid question Thanks -pm ** 4D Internet Users Group (4D iNUG) FAQ:

Re: localisation (again)

2017-12-13 Thread Peter Mew via 4D_Tech
Hi But Thats what I'm doing, and its not working. The string looks like "12345.12345" and the Conversion looks like C_REAL($Number) C_TEXT($NumString) $NumString:-"12345.12345" $Number:=Num($NumString;".") On a UK system $Number = 12345.12345 On a German system $Number = 12345 any ideas would

Re: localisation (again)

2017-12-12 Thread Peter Mew via 4D_Tech
u will have to identify what system you are on and what localization is > set to and then understand what localization created text file for import > > > Regards > > Chuck > > On Tue, Dec 12, 2017 at 4:24 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com > > wro

localisation (again)

2017-12-12 Thread Peter Mew via 4D_Tech
Hi I thought I had this understood, but aparrently not. Im Importing some numbers from a file as strings.The Numbers have a period as decimal point. Because they are long decimal numbers and I need to do some calculations I convert them to longints with NUM() everything works fine on a UK system

Re: localisation

2017-12-05 Thread Peter Mew via 4D_Tech
> > On Tue, Dec 5, 2017 at 9:47 PM, Peter Mew <peterm3...@gmail.com> wrote: > >> Hi >> I dont have a Compatibilty tab, under database sttings. >> v13,3 >> >> > you should have it: > http://doc.4d.c

Re: localisation

2017-12-05 Thread Peter Mew via 4D_Tech
Hi I dont have a Compatibilty tab, under database sttings. v13,3 thanks -pm On Tue, Dec 5, 2017 at 8:41 PM, Peter Bozek <peter.bo...@gmail.com> wrote: > > > On Tue, Dec 5, 2017 at 9:22 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Hi >> I

localisation

2017-12-05 Thread Peter Mew via 4D_Tech
Hi I have an app that works fine, when used on a machine running English language. When run on a machine running German, real numbers get messed up because the decimal point is a dot and a comma is expected. what do I need to change, so that the decimal point is a comma and the German language is

Listbox resize

2017-11-23 Thread Peter Mew via 4D_Tech
Hi I have a Listbox with 8 columns. The Listbox and all the columns are set to grow horizontally The Listbox will grow when resized to the right, but it wont shrink if pulled to the left. How can I make it do that The Listbox is in a type 8 window. 4D v13 Mac Yosemite thanks -pm

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
approach with different types of arrays > but it's a lot more work whereas converting to and from text is easy. ​And > this works complied. > > D > ​oes that make sense? ​Do I get your need correctly? > > On Tue, Oct 31, 2017 at 12:42 PM, Peter Mew via 4D_Tech < > 4d_tech@li

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
arrays will be the same size, to be displayed in a listbox The final code will be compiled. BTW this is v13 MAC Yosemite Ill give it a try thanks again -pm On Tue, Oct 31, 2017 at 7:29 PM, Peter Mew <peterm3...@gmail.com> wrote: > Hi > I want to achieve the following: > To Loop

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
OK If I read that correctly, that will create the arrays for pass 1 through the loop, but what about creating the arrays for pass 2, and any subsequent passes. I expected to create the arrays, as they were needed, for each pass. something like For ($i;1;Size of array(EDLBlockArray)) If ($i<10)

Re: pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
Thank You And How do I create the Arrays in the First Place -pm On Tue, Oct 31, 2017 at 7:32 PM, npdennis wrote: > > Im pretty sure I need to use pointers to accomplish this, but I dont > know how. > > Try the command Get Pointer… > > $p:=Get Pointer(“Array201”) > or >

pointers to arrays

2017-10-31 Thread Peter Mew via 4D_Tech
Hi I want to achieve the following: To Loop through a block of code (the number of times will be determined elsewhere, but may well be different each time). Create a set of arrays that will have the same name + the loop counter, for each pass through the loop So pass 1 might create 3 arrays called

Re: find only partial strings

2017-10-27 Thread Peter Mew via 4D_Tech
n task. :-) > > Randy > > -- > Randy Jaynes > Senior Programmer and Customer Support > > http://printpoint.com <http://printpoint.com/> • 845.687.3741 • > PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964 >

find only partial strings

2017-10-27 Thread Peter Mew via 4D_Tech
Hi If I have a document, that has both the word "seg" and the word "segment", is there a way I can find the positions of just the word "seg" I can look at the character following "seg" to see if its an "m", but I wondered if there was a more direct route. thanks -pm

Re: Facial Detection/recognition

2017-07-14 Thread Peter Mew via 4D_Tech
Lewinsky stood in front of me. Hi Monica, it's Bal Clinton > :-) > > On 14 July 2017 at 17:16, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Hi >> Im interested in playing with Facial Detection/Recognition, from within 4D >> Ive found this demo databa

Facial Detection/recognition

2017-07-14 Thread Peter Mew via 4D_Tech
Hi Im interested in playing with Facial Detection/Recognition, from within 4D Ive found this demo database kb.4d.com/assetid=77536, in the knowledge base. However, I cant open it in v13.6, and while I can run it in a demo version of v15, I cant open it in designer mode. Could some one please open

Re: Rotate Picture in 4D

2017-06-27 Thread Peter Mew via 4D_Tech
; > > >> 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 its not compatible but It wo

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 tryin

Re: Rotate Picture in 4D

2017-06-25 Thread Peter Mew via 4D_Tech
Yes Same Result Thanks -pm On Sun, Jun 25, 2017 at 9:49 PM, Spencer Hinsdale <spen...@bigsoftware.com> wrote: > > did you try 270? > > > On Jun 25, 2017, at 12:51 PM, Peter Mew via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Hi > > I am trying

Rotate Picture in 4D

2017-06-25 Thread Peter Mew via 4D_Tech
Hi I am trying to use Miyako's rotate picture component in v13. I dont know if its not compatible but It wont run. So Ive extracted the code and made it a subroutine (Rotate_Picture) C_PICTURE($1;$0) C_REAL($2;$w;$h;$ww;$hh;$s;$c) PICTURE PROPERTIES($1;$w;$h) $s:=Sin($2*Degree)

Query selection by example.

2017-05-18 Thread Peter Mew via 4D_Tech
Hi Is there a way of doing a query by example, on an aleady queried selection of records? I want to create a selection of records, based on some internal criterea, and then present that selection, in the form of Query by Example, to the user. thanks -pm

Re: How to detect EOL character in text file

2017-05-14 Thread Peter Mew via 4D_Tech
That should have read replace string of course if you change all the possible EOL characters to CR, then position will find all the CRs or have I missed something? pm On Sat, May 13, 2017 at 8:30 PM, James Crate via 4D_Tech < 4d_tech@lists.4d.com> wrote: > On May 13, 2017, at 8:53 AM,

Re: How to detect EOL character in text file

2017-05-13 Thread Peter Mew via 4D_Tech
Replace text($text;lf;cr) Replace text($text;crlf;cr) Position($text;cr) -pm Sent from my iPad > On 13 May 2017, at 09:16, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > G’day Guys, > > I’m not sure if this was already a topic in the past, at least I couldn’t > find anything in

Button Variables

2017-05-11 Thread Peter Mew via 4D_Tech
Hi I have a form with 4 pages. each page has a button to create a new record. Each button also does some slightly different stuff depending which page its on. Which is why there is a button on each page, rather than a single button on Page 0 All the buttons have the variable name bNewRecord. My

Re: Off topic, sending binary files

2017-04-10 Thread Peter Mew via 4D_Tech
ech <4d_tech@lists.4d.com> > wrote: > >> On Apr 9, 2017, at 7:09 AM, Peter Mew via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> I want to send a small Mac binary file to a friend. >> [snip] >> The binary is a command line program called scanimage, whic

Off topic, sending binary files

2017-04-09 Thread Peter Mew via 4D_Tech
Hi I turn to your combined wisdom, because I don't know where else to go. I want to send a small Mac binary file to a friend. All the methods I've tried so far result in the unsetting of the executable bit. I know this can be reset using chmod +x, but he is reluctant to use any terminal command

Too Many Debug Windows

2017-03-26 Thread Peter Mew via 4D_Tech
Hi Stupidly, I have opened too many debug windows whilst developing, and now the development app quits as soon as it has opened all the debug windows. Ive had this happen before, but was able to retreive the situation, now I cant remember what I did. Is there a way I can start up 4D with all the

Where is the error?

2017-02-14 Thread Peter Mew via 4D_Tech
Hi This snippet of code is in a loop, of typically 10 to 20 items. The Array <>StartsampleArray holds the start time, in samples, of the tracks on a CD. It all works fine interpreted, but when compiled, when <>StartSampleArray{$i} exceeds around 26655216 or thereabouts $Duration turns negative,

Error Message

2017-02-13 Thread Peter Mew
Hi a user of my app on OSX Sierra is reporting this error on startup Circular Reference in records address table of table Resources of database DDP_Player_v9 Does anyone know what this means, I dont have a table called Resources thanks -pm Mac OSX Sierra 4D v13.6 compiled Standalone app

Mouse Button Interupts

2017-01-26 Thread Peter Mew
Hi I have a time Display on a form, that updates every second There is a separate process that calls the main form to update the timer. once a second The code for this process is: While (<>MainProc>0) //<>MainProc is the process number of the Main Form If (<>StartPlay=True) //<>StartPlay is

replace string

2017-01-23 Thread Peter Mew
Hi I am importing some text, which appears to have apostrophes at various points in the text file. Investigation shows that some of these characters evaluate to "'"and others to "\'92" I would like to change them all to char(39) but this expression does not work Repeat RECEIVE

Move Object

2016-12-06 Thread Peter Mew
Hi This is driving me mad, I just cant figure it out. I have a vertical ruler on a form, and a horizontal line. As the ruler is moved up and down, I want the horizontal line to follow the position on the ruler. Im using v13.6 Mac, and there does not seem to be an OBJECT SET COORDINATES command,

Re: 4D backup

2016-11-19 Thread Peter Mew
init5.fr> wrote: > > > Le 19 nov. 2016 à 00:10, Peter Mew <peterm3...@gmail.com> a écrit : > > > > Hi > > I have a v13 standalone app, to which I would like to add the ability > for the user to schedule their own 4D backups. > > I can't find anything in the

4D backup

2016-11-18 Thread Peter Mew
Hi I have a v13 standalone app, to which I would like to add the ability for the user to schedule their own 4D backups. I can't find anything in the language to make this possible. I want to Create a form where the user can choose when the backup happens, how often, where the backup is stored

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Peter Mew
Have I read this correctly? If I write a small standalone app, for a friend, zip it and send it to him, At some time in the future, there will be an Mac OS version which will say the equivalent of "I'm sorry Dave, I cant let you do that". Has the world of Apple gone mad? -pm On Mon, Nov 14, 2016

Re: Save pointer array

2016-11-05 Thread Peter Mew
the table and > field numbers, each zero padded to the left. > > >> On Saturday, November 5, 2016, Peter Mew <peterm3...@gmail.com> wrote: >> >> Hi >> I have an array of pointers, the pointers point to fields in a single >> table. >> The user is able t

Save pointer array

2016-11-05 Thread Peter Mew
Hi I have an array of pointers, the pointers point to fields in a single table. The user is able to delete elements from the array. I want to be able to save the status of this array, so it can be loaded the next time the program is opened. Save variable can't be used with arrays Array to list

Re: Reading MS Word documents

2016-10-28 Thread Peter Mew
Try "Pandoc" and LEP it will transcode almost any text format to any other text format -pm On Fri, Oct 28, 2016 at 8:33 PM, Lee Hinde wrote: > On Thu, Oct 8, 2015 at 9:14 AM, Jeremy Roussak wrote: > > > Is there a way to extract the text from simple Word

Converting from C

2016-10-14 Thread Peter Mew
Hi Please tell me to go away if this request is inappropriate Im trying to convert a C function into 4D I know very very little C, so after 2 days I'm looking for some help The C function looks like struct toc { int min; int sec; int frame; }; struct toc

Re: Resize snapshot

2016-10-11 Thread Peter Mew
the session: > • the current page, > • the position, size and visibility of each form object (including > the size and visibility of list box columns)." > > v i n c e n td el a c h a u x > > Bee green - keep

Re: Resize snapshot

2016-10-11 Thread Peter Mew
• the current page, > • the position, size and visibility of each form object (including > the size and visibility of list box columns)." > > v i n c e n td el a c h a u x > > Bee green - keep it on the screen &g

Resize snapshot

2016-10-11 Thread Peter Mew
Hi If a user resizes a form, is there a command that will take a snapshot of the new object sizes and positions, so that the form can be reinstated with the new sizes and positions, at a later date. Thanks -pm Sent from my iPad

Re: Listbox insert column

2016-10-07 Thread Peter Mew
ions. You should also be > able to grab the Header cell of the column and drag it left and right. > > Keith - CDI > > > On Oct 7, 2016, at 3:08 PM, Peter Mew <peterm3...@gmail.com> wrote: > > > > Nope > > If I do that the column is added at the right hand side,

Listbox insert column

2016-10-07 Thread Peter Mew
Hi I cant find how to do this. I have an array based listbox, with several columns. I now want to add another column between my existing column 2 and column 3 not by code, but in the design environment Ive tried adding a new column at the right hand end and dragging it, I cant find an insert

Document List

2016-10-01 Thread Peter Mew
This has me stumped. As part of a small app I'm writing for a friend, I have need display some pictures that belong to a particular record. I have a button on a detail form belonging to the record. when the button is pressed, I collect all the documents in a folder, filter them so only valid

Re: miyako/4d-plugin-audio

2016-09-26 Thread Peter Mew
; p.s. > > the "proper" way, I guess, to distribute binaries on github is to use the > "release" feature, > but for all practical purposes I normally include the final product (plugin) > as well as all dependencies. > >> 2016/09/26 22:17、Peter Mew <p

Form events, query by example

2016-09-08 Thread Peter Mew
Hi I have a form used for a Query by example. This works fine, however, I want to be able to switch pages on the form, so that different fields to query will be displayed, under different circumstances. I put some radio buttons on Page 0 of the form, so that I can switch pages, but no form events

Re: Upgrading 2004 to v15

2016-08-31 Thread Peter Mew
Hi Doug I upgraded a 2004 database to v13 in one go. I had to rewrite some code for plugins no longer supported, many of the routines for which a plug was used, are now available in native 4D. I upgraded ALP to the latest version. There were no major problems with the 4D code. Good luck -pm