printing listboxes

2019-08-12 Thread Chip Scheide via 4D_Tech
I have code which allows me to print a listbox using Print object. I dynamically build a listbox for use on screen. If a user wants to print the listbox, I use the same process to build a separate listbox for reporting (as this is generic code for printing list boxes). What I am observing is

Screen arrangement

2019-08-09 Thread Chip Scheide via 4D_Tech
In a situation where there are 2 or more screens attached to a computer. is there any way to determine the screen arrangement? (horizontal, vertical, grid) In a 2 or more horizontal which screen is main (left, right, other) In a 2 or more vertical which screen is main (Top, bottom other) in a

Re: v13 - array listbox column Compiler definition

2019-08-09 Thread Chip Scheide via 4D_Tech
wrote: > Chip, > > Why do you need to use a copy of the data in the component? Why not > just use $HostData-> in the call to LISTBOX INSERT COLUMN? > > Jeremy > >> On 8 Aug 2019, at 20:59, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >

v13 - array listbox column Compiler definition

2019-08-08 Thread Chip Scheide via 4D_Tech
I have a component. In the component, I have a published (shared) method which opens an array listbox in its own window. The data to be shown is passed from the host. I place the data from the host into the listbox using the following commands LISTBOX INSERT

Re: Pasting problem

2019-08-07 Thread Chip Scheide via 4D_Tech
to catch the keystroke without On Event Call: you could put an invisible button on the form(s) with cntrl-v as the activator, then use Get Text From Pasteboard, and insert it at the current cursor position Im not sure if you can catch the contextual menu, but maybe: with some imaginative use On

Re: Prevent Client from Sleeping

2019-08-07 Thread Chip Scheide via 4D_Tech
Some ideas - none of these tested or tried :) LEP - and use commands to bring the desktop to the fore and then 4D? Move mouse to the menu bar, and post a click? On launch of 4D use LEP to reset screen saver timeout, reset on quit On launch of 4D use LEP to reset power timeout, reset on quit LEP

Re: pointer issue

2019-08-07 Thread Chip Scheide via 4D_Tech
can you rewrite the outer loop (the one that implied in the code you supplied) so that you pass a pointer to the array from calling method, rather then trying to create the pointer. Array Real($MetalAmount_1;10) Array Real($MetalAmount_2;10) Array Real($MetalAmount_3;10) for($i;1;3) case of

RE: How do I access a component form from a host

2019-08-06 Thread Chip Scheide via 4D_Tech
> -Original Message- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chip > Scheide via 4D_Tech > Sent: Tuesday, August 06, 2019 10:07 AM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: Chip Scheide <4d_o...@pghrepository.org> > Subject:

How do I access a component form from a host

2019-08-06 Thread Chip Scheide via 4D_Tech
I have a component form I would like to access from the host. In the component I have set the form to: Published as subform in the host database But I do not see how to get access from the host. v13.6 Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is

Re: FORMAT NUMBER

2019-08-05 Thread Chip Scheide via 4D_Tech
if ###,## does not display a blank for 0 you may have to convert back and forth to/from text to get the formatting you want Chip On Mon, 5 Aug 2019 23:24:26 +0200, stardata.info via 4D_Tech wrote: > Sorry i use 4D V16 on Windows. > > I need to display a number in an array real displayed in a

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Chip Scheide via 4D_Tech
and complex searching options: Find A & B or Find A but # B On Fri, 2 Aug 2019 10:43:54 -0700, Kirk Brooks via 4D_Tech wrote: > It can hang on to it for a long time, though. > I really wish we have a REGEX option for Find in Design. > > On Fri, Aug 2, 2019 at 10:39 AM Tim Nevels via 4D_Tech >

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Chip Scheide via 4D_Tech
Narinder, are you asking 4D to 'look inside' of the object for properties, then allow those to be used in auto complete? On Fri, 02 Aug 2019 18:10:09 +0100, Narinder Chandi via 4D_Tech wrote: > > Having used other IDEs, in particular those from JetBrains, 4D still > has a ways to go to provide

Re: Another validation issue - orphaned method resource

2019-07-31 Thread Chip Scheide via 4D_Tech
compact the structure? as to the user group errors - on a copy - try deleting the group and recreating it Chip On Wed, 31 Jul 2019 10:10:25 -1000, JOHN BAUGHMAN via 4D_Tech wrote: > I am getting a bunch of warnings in the Check Orphan Methods section > that say… > > Warning: The method

Re: How to decode this text

2019-07-30 Thread Chip Scheide via 4D_Tech
mpany offer insuranⅽe? > > Neil > > > >> On Jul 30, 2019, at 12:28 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I am playing with a method to extract the Body of emails to a plain >> text file >> I am using a trash fo

How to decode this text

2019-07-30 Thread Chip Scheide via 4D_Tech
I am playing with a method to extract the Body of emails to a plain text file I am using a trash folder which contains a bunch of spam... When I extract the subject I get the following text (as the subject): =?UTF-8?B?RG9lcyB5b3VyIGNvbXBhbnkgb2ZmZXIgaW5zdXJhbuKFvWU/?= How do I go about decoding

Re: Creating Hierarchical Listbox

2019-07-29 Thread Chip Scheide via 4D_Tech
there is a functional example of listbox hierarchical lists in 4Dpop constants editor > 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

RE: SQL - renaming a field

2019-07-26 Thread Chip Scheide via 4D_Tech
t a "drop" destroy data? > > Steve > > -Original Message- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chip > Scheide via 4D_Tech > Sent: Friday, July 26, 2019 1:46 PM > To: Tom Benedict > Cc: Chip Scheide <4d_o...@pghrepo

Re: SQL - renaming a field

2019-07-26 Thread Chip Scheide via 4D_Tech
1314.en.html > <https://doc.4d.com/4Dv16/4D/16/ALTER-TABLE.300-3201314.en.html> > > Tom Benedict > >> On Jul 26, 2019, at 11:30, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I'm trying to use SQL to rename an existing fi

SQL - renaming a field

2019-07-26 Thread Chip Scheide via 4D_Tech
I'm trying to use SQL to rename an existing field $Sql:="Alter table ["+$Table_Name+"] Rename "+"Unused"+" to "+$Field_Name+";" When executed I get a parsing error at 'Rename'. can someone better versed either correct my above syntax, or point out a way to rename an existing field using SQL,

Re: Find in Design and Replace

2019-07-25 Thread Chip Scheide via 4D_Tech
tends to self-correct backslashed inserted in the middle of a token, > so you might need to regex your way to find the right insertion point. > >> 2019/07/26 2:57、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>のメール: >> >> for example I have: >> very very long lin

Re: Error -1 using SQL.

2019-07-25 Thread Chip Scheide via 4D_Tech
End sql > Regards > > Chuck > > Sent from my iPhone > >> On Jul 25, 2019, at 3:16 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I am working up a method to set the primary key property on a field. >> I am using S

Re: REATE SELECTION FROM ARRAY

2019-07-24 Thread Chip Scheide via 4D_Tech
Ferdinando to test: in one process: create (or edit) a record in a second process: put the record number of the new/edited record into an array and create selection from array if you get the error then this is the problem, you might be able to catch the error with an On Err Call method. If

Re: REATE SELECTION FROM ARRAY

2019-07-24 Thread Chip Scheide via 4D_Tech
Ferdinando, From the language reference: Error -10503 - Record # is out of range (during GOTO RECORD, or data file needs to be repaired). (see note 3) Note 3: The error -10503 Record # is out of range generally means that your code (for example, the GOTO RECORD command) is attempting to access

Writting code to disk

2019-07-23 Thread Chip Scheide via 4D_Tech
When exporting 4D code does it matter in what way the text of the code is written to disK? i.e. - send packet - variable to blob, blob to document - text to blob blob to document etc. Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: How to Catch Paste Action

2019-07-19 Thread Chip Scheide via 4D_Tech
ill need to use > Get edited text command to get the data. > > HTH, > Add > > > > > On 7/19/19, 2:59 PM, "4D_Tech on behalf of Chip Scheide via 4D_Tech" > <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> > wrote: > > I ha

How to Catch Paste Action

2019-07-19 Thread Chip Scheide via 4D_Tech
I have a variable in which the user enters search criteria. They can paste from elsewhere also (as it is just text). everything works as I want when typing, but nothing happens when the user pastes, until they tab or click outside of the entry area. I would like to catch the paste action, and

Re: Get System Info vs PLATFORM PROPERTIES

2019-07-18 Thread Chip Scheide via 4D_Tech
probably just the major version info Windows : XP, 7, 8, or 10 Mac : 10.9, 10.10, 10.11 ... so far, for me, I only need to differentiate between platforms, not OSes so when I need if (Folder separator = ":") `this is a mac do mac stuff else do windows stuff end if Chip On Thu, 18 Jul 2019

Re: Silly question?

2019-07-12 Thread Chip Scheide via 4D_Tech
aren't headers an all or nothing thing? either all headers are visible or all headers are not There is a design environment setting for headers, and a separate setting for visible, BUT there does not appear to be a command (v15) to get or set the header visibility as part of the listbox

Re: Splitter behaviour

2019-07-12 Thread Chip Scheide via 4D_Tech
Pat, While I am not using v17, and have not seen this exact behavior... I have seen similar behavior with Sliders and pushers. The form resizing issue is related to 1 or more objects being at least partially off window to the right. Once an object over laps, or extends past the right side of the

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
> > Does it work if you do use an intermediate value? e.g. > > > > > > > > $value:= $Return_ptr-> {$Item} > > > > $Result:= $Column1 ->{$value} > > > > > > > >

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
---Original Message- > > > From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of > 4D Tech > > > Mailing List <4d_tech@lists.4d.com> > > > Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> > > > Date: Tuesday, 9 July 2019 at 17:16 &

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
;4d_tech-boun...@lists.4d.com> on behalf of 4D Tech > > Mailing List <4d_tech@lists.4d.com> > > Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> > > Date: Tuesday, 9 July 2019 at 17:16 > > To: 4D Tech Mailing List <4d_tech@lists.

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
ling is: > $Result:= $Column1 ->{ $Return_ptr-> {$Item} } > > On Tue, 9 Jul 2019 12:14:37 -0400, Chip Scheide via 4D_Tech wrote: > > $Result:= $Column1{ $Return_ptr{$Item} } > --- > Gas is for washing parts > Alcohol is for

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
My bad -- the correct line of code that is failing is: $Result:= $Column1 ->{ $Return_ptr-> {$Item} } On Tue, 9 Jul 2019 12:14:37 -0400, Chip Scheide via 4D_Tech wrote: > $Result:= $Column1{ $Return_ptr{$Item} } --- Gas is for washing parts Alcohol is for drinkin' Nit

What is wrong with this statement?

2019-07-09 Thread Chip Scheide via 4D_Tech
Given: -- $Return_ptr is a pointer to a longint array --- Array has 2 elements values of (4, 2) -- $Column1 is a pointer to a different array which has 10 elements --- all elements are populated -- $Item is a longint value as index to the array -- $Result is a longint variable (spacing added

Re: The set does not exist

2019-07-06 Thread Chip Scheide via 4D_Tech
The highlight set for a listbox is set in the listbox properties. If this is empty, then there is no highlight set. If the listbox set name you are trying to use does not match the listbox set name property then you are not going to get the anwer(s) you expect. If you want I have an old

Re: [off]Apple script issue

2019-07-03 Thread Chip Scheide via 4D_Tech
this one got away - it was supposed to have been deleted - so feel free to ignore sorry :) On Wed, 3 Jul 2019 15:51:28 -0400, Chip Scheide via 4D_Tech wrote: > Not been really following... > > Are you creating the PDF? > if so, then you should be able to create the pdf such th

Re: [off]Apple script issue

2019-07-03 Thread Chip Scheide via 4D_Tech
Not been really following... Are you creating the PDF? if so, then you should be able to create the pdf such that it is 100% (or maybe better 95%) maybe th On Wed, 3 Jul 2019 15:23:10 -0400, Chuck Miller via 4D_Tech wrote: > Thanks it got me the following: > > Open Script Editor, navigate to

Re: OUT OF RANGE

2019-07-03 Thread Chip Scheide via 4D_Tech
in a multi user system it could be that a different user deleted the record In your logs, a record number is not necessarily enough to ID the trouble record. In your log - write some data specific information - UUID, or some other info that is unique to the record, as 4D can/does reuse record

Re: Deleting a record from a listbox

2019-07-03 Thread Chip Scheide via 4D_Tech
if the sort is based on the listbox headers then the solutions to determine which header the listbox is sorted on, and then resort using the same header. if you sort the listbox some other way, and can track the sort criteria then you could use that to re-sort after deleting. I can't be of

Re: v13 problem

2019-07-02 Thread Chip Scheide via 4D_Tech
I just thought of this... If you can get to the 'user' environment select a table - reduce the selection to 1 record Apply formula (from record menu) insert SET USER PROPERTIES() to change designer password. Chip On Mon, 1 Jul 2019 12:37:46 -0400, Chuck Miller via 4D_Tech wrote: > Hi All, > >

Re: v13 problem

2019-07-01 Thread Chip Scheide via 4D_Tech
Chuck, on Mac: Shift + Option + Command + right click = interrupt menu (with possible option for user/design access) Does the database have/give the ability to execute code from the runtime environment? if so you try to execute the command to change the designer password (Set user properties)

Re: v14+ find in design

2019-06-27 Thread Chip Scheide via 4D_Tech
I was the instigator of this thread :) My question was: [In which version does] Find in design locate method references in object properties? ex: Listbox: Font foreground color: my_font_color_selection_method In v13 Find in design will not locate references to methods which are entered into

Re: v14+ find in design

2019-06-26 Thread Chip Scheide via 4D_Tech
sign. I also tried it > with an expression which calls a Project Method and it shows up too. > > Tom Benedict > >> On Jun 26, 2019, at 09:26, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Does, v14 or newer versions of 4D support

v14+ find in design

2019-06-26 Thread Chip Scheide via 4D_Tech
Does, v14 or newer versions of 4D support Find in die sign locating method references which are in object properties? ex: Listbox - Foregound Line Color -> my_method_to_set_Fore_Color In the above example does Find in Design locate the call to 'my_method_to_set_Fore_Color'? Thanks Chip

Re: Transferring a DB from Firebird to 4D using RazorSQL on Mac

2019-06-26 Thread Chip Scheide via 4D_Tech
Jorg, I tried this search got something that looks useful, but I have no clue, maybe you will. "GDSServerVersion.INVALID_VERSION firebird" (no quotes) it says something about format of expected reply. On Wed, 26 Jun 2019 22:57:09 +1000, Jörg Knebel via 4D_Tech wrote: >

Re: list box and sort

2019-06-25 Thread Chip Scheide via 4D_Tech
Chuck, all of my listbox code was written a while ago.. so I am a bit fuzzy but for the predesigned listbox, as I recall since you are 'stepping around' the native sort function of the header button (listbox setting 'sortable', I think this is what is causing the header button to not change

Re: Dialog (;*) question

2019-06-25 Thread Chip Scheide via 4D_Tech
peter, depending on what type of progress you need to display.. Progress Component - part of 4D now - will display either a barber pole (indeterminate duration) with text above and below, or a progress thermometer (defined interation count), again with text above and below. - Both of these run

Re: Select document command and .4lbp files

2019-06-24 Thread Chip Scheide via 4D_Tech
I would try passing the extension (.4lbp) On Mon, 24 Jun 2019 15:01:34 -0400, jeff--- via 4D_Tech wrote: > In 4D v17.2 on MacOS 10.14.3, I am attempting to open a 64-bit label > format file using Select document. I am passing "com.4d.4d.labelFile" > in the fileTypes parameter but all such files

Re: POSIX Path Syntax (How to convert from 4D POSIX to Terminal POSXIX?)

2019-06-24 Thread Chip Scheide via 4D_Tech
Jermey, follows code that should resolve your conversion to posix //fileutl_Path_Convert_to_Posix //$1 - Text - Path to convert //Original from JorgeChB via iNug //Converts a Mac file path to a Posix form //RETURNS - Text - converted path, or empty string if path is empty, or error

Re: Drag & drop a file - what am I missing?

2019-06-21 Thread Chip Scheide via 4D_Tech
Pat, not using v17 - but yes. I have never tried picture dropping, but I was unable to get Drag N drop to function to a field. I work around this (and it makes the target easier for the user) by using an invisible button which covers a section of the screen so that the user can drag n drop

[Tip]Set Query Destination

2019-06-21 Thread Chip Scheide via 4D_Tech
[Tl;DR] at end This command is your friend - and - your foe! :) Yesterday I spent a significant amount of time trying to track down a compiled/built app crash, but did/does not happen interpretedly. The crash happened only occasionally, after placing alerts and asserts, I determined that the

Re: Window type -724 (more info)

2019-06-19 Thread Chip Scheide via 4D_Tech
I guess :) so Thanks Chip > > but how they map to 4D constants for Open window is anybody's guess. Hell is other people Jean-Paul Sartre ** 4D Internet Users Group (4D iNUG) Archive:

Re: Window type -724 (more info)

2019-06-19 Thread Chip Scheide via 4D_Tech
I have no idea! :) this is a floating window I use for window management. In my system it contains a listbox with all open windows/processes. I have been using this for ages. On a Mac. I was just working with windows version of a 4D app that uses this window (same purpose) and it looks like

Re: Window type -724 (more info)

2019-06-19 Thread Chip Scheide via 4D_Tech
appears narrower the a standard type 8 window Thanks again Chip On Wed, 19 Jun 2019 14:13:56 -0400, Chip Scheide via 4D_Tech wrote: > How does this value come about? > I know the '-' makes it a floating window > but how is the value 724 generated? > > Thanks > Chip >

Window type -724

2019-06-19 Thread Chip Scheide via 4D_Tech
How does this value come about? I know the '-' makes it a floating window but how is the value 724 generated? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet

Re: 17.1 Client and macOS 10.15 Catalina beta 2

2019-06-19 Thread Chip Scheide via 4D_Tech
IN the mean time - try turning this off do not know that it will help but On Wed, 19 Jun 2019 17:48:21 +1000, James Brown via 4D_Tech wrote: > > System Integrity Protection: enabled --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: what format for an Icon file - windows?

2019-06-17 Thread Chip Scheide via 4D_Tech
Thanks On Mon, 17 Jun 2019 16:05:28 +, Keisuke Miyako via 4D_Tech wrote: > it needs to be an .ico file for windows. > > 2019/06/18 0:52、Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: > does the icon file need to be in a dif

what format for an Icon file - windows?

2019-06-17 Thread Chip Scheide via 4D_Tech
I have a custom icon I am using for a built application on Mac. the icon is in a .icns file When I build the system on windows, I do not get the custom icon. I assume that the icon file needs to be in a different format, what is that format? or does the icon file need to be in a different

Re: “Get Edited Text” after Pasting and “On Menu Selected” form event

2019-06-15 Thread Chip Scheide via 4D_Tech
also - On Data Change or On Losing Focus > I am upgrading a database from v14 to v17. > > In v14, “Get Edited Text” would return the text of a form variable > after text was pasted into that variable and the“On Menu Selected” > form event fired. This behavior was undocumented, but it worked.

Re: v13 - Volume desktop build - windows

2019-06-14 Thread Chip Scheide via 4D_Tech
Duh! Thanks Chip On Fri, 14 Jun 2019 14:11:43 -0700, Douglas von Roeder wrote: > Chip: > > In the Build window, you have to specify the file path to the volume > desktop application. > > -- > Douglas von Roeder > 949-336-2902 > > > On Fri, Jun 14, 2019 at

v13 - Volume desktop build - windows

2019-06-14 Thread Chip Scheide via 4D_Tech
I am trying to build an application for use on Windows. - I have a v13 Dev Pro license (recognized by 4D) - I have a v13 Unlimited desktop license (recognized by 4D) - The license manager shows both licenses - the license manager information matches my Mac version (different #s obviously) - The

Re: v13+ - support for OpenType &/or TrueType fonts - Windows

2019-06-12 Thread Chip Scheide via 4D_Tech
san serif font for content, as in Word and Excel. > > HTH, > > Jim > > > On Wed, Jun 12, 2019 at 9:41 AM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> What is the offical stance on support for OpenType (specifically) and >> TrueType

v13+ - support for OpenType &/or TrueType fonts - Windows

2019-06-12 Thread Chip Scheide via 4D_Tech
What is the offical stance on support for OpenType (specifically) and TrueType as well font system on Windows? I found a font I like that is an OpenType font - Raleway. On a Mac it (in 4D) it functions as I would expect all 9 weights of the font are available for selection in the Style Sheet

[please ignore] Re: Fonts on windows

2019-06-11 Thread Chip Scheide via 4D_Tech
On Tue, 11 Jun 2019 15:32:42 -0400, Chip Scheide via 4D_Tech wrote: > I am looking for some suggestions for font selection for windows... I > know a fruitless and frustrating task... > > I am using (OS X 10.9 and 10.11) Lucida Grande (various sizes from 10 - > 12 pt) > on

Fonts on windows

2019-06-11 Thread Chip Scheide via 4D_Tech
I am looking for some suggestions for font selection for windows... I know a fruitless and frustrating task... I am using (OS X 10.9 and 10.11) Lucida Grande (various sizes from 10 - 12 pt) on windows I am using Tahoma (various sizes 10 - 12) I am setting the font size on windows 1 pixel

Re: Replacing Obsolete Subtable Commands in v15 to v17 Migration

2019-06-11 Thread Chip Scheide via 4D_Tech
from memory so... One note: - I believe existing (v15+) subtable support is one level deep only, I do not know if this will/does affect you. i.e [parent].substable_level1.subtable_level2... is not supported. there is a special link between converted subtables and their parent. this special

Re: issue with invisible button

2019-06-10 Thread Chip Scheide via 4D_Tech
is there an accept being posted some how along with a modification of the record? an accept without a modification of the record does not fire validate. to mark the record as "dirty" so it gets saved when an accept is posted in the on load put : [table]field:=[table]field Chip On Fri, 7 Jun

Re: Open a v17 data file when Structure is unknown

2019-06-09 Thread Chip Scheide via 4D_Tech
Jorg, a couple of things to watch for: - hidden field(s) - I do not believe these will show up to be exported. - blobs - they will export, but without knowing what is in them... -- encrypted blobs - again they will export, but the data will be useless; and I do not believe there is any way to

Re: Konstants - trying to determine where it is defined

2019-05-30 Thread Chip Scheide via 4D_Tech
's > constants file is named Constants_Sweetwater.xlf and sits in the > Resources folder next to the .4DC file. > >> On May 30, 2019, at 4:29 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >&g

RE: Konstants - trying to determine where it is defined

2019-05-30 Thread Chip Scheide via 4D_Tech
1-5080 > Email : t...@4d.com > Web : www.4d.com > > > > > > -Original Message----- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Chip > Scheide via 4D_Tech > Sent: Thursday, May 30, 2019 1:30 PM > To: 4D iNug Technical <4d_tech@lists.4

Konstants - trying to determine where it is defined

2019-05-30 Thread Chip Scheide via 4D_Tech
Is there a way to determine where a Konstant is defined? v13 if this matters Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) Archive:

Re: I've not seen this before

2019-05-29 Thread Chip Scheide via 4D_Tech
might also be a mounting issue. volume might have been mounted, lost connection, and remounted as a different letter designation On Tue, 28 May 2019 16:50:28 -0700, Robert McKeever via 4D_Tech wrote: > A client reports that Windows did an update last night. > > Today, when importing one of the

Re: creating a plain text document from within 4D

2019-05-28 Thread Chip Scheide via 4D_Tech
Plain text document: $Doc_Ref:=open document($Path;"TEXT") Send packet($Doc_Ref;$Text_to_Send) Close document($Doc_Ref) On Mon, 27 May 2019 16:58:57 -0400, ernest hilgers via 4D_Tech wrote: > Hi All, > > I have encountered an issue of which I am not able to find a > solutions (blush). >

Re: Injecting Forms from a component

2019-05-23 Thread Chip Scheide via 4D_Tech
Thanks! I did not think it was possible to inject a form into a host, but thought I would ask. :) Chip On Thu, 23 May 2019 11:27:50 -0500, John DeSoi via 4D_Tech wrote: > > >> On May 23, 2019, at 10:26 AM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote:

Injecting Forms from a component

2019-05-23 Thread Chip Scheide via 4D_Tech
I know you can inject (copy/install) methods into a host system from a component. I expect that you can do the same for table(s) via SQ, I have not tried. Can you inject a form from a component into a host system? if so - how? Thanks Chip --- Gas is for washing parts Alcohol is for

Re: How can a line of code be separated into multiple lines?

2019-05-18 Thread Chip Scheide via 4D_Tech
selection to array([table]field1;$Array1;\ [table]field2;$Array2;\ [table]field3;$Array3;\ [table]field4;$Array4) you use the \ character -- but you need to be careful where you use it. you need to use it between 'operators'. after a math operation (+-/*), after a semicolon (is generally the

Re: list box issue

2019-05-14 Thread Chip Scheide via 4D_Tech
>> On May 14, 2019, at 3:53 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Chuck, >> you said the column is not enterable - disabled for a check box >> a disabled check box shows as light grey, and if checked the check is >

Re: Scroll position of display-type subform

2019-05-14 Thread Chip Scheide via 4D_Tech
Alan, does the form event: On Selection Change fire during scrolling? Chip On Tue, 14 May 2019 16:04:00 -0400, Alan Tilson wrote: > Chip, > Thank you for your thoughts on this. However, in this case I'm > recalculating the entire list and also I'm not using a listbox, it's a > regular output

Re: list box issue

2019-05-14 Thread Chip Scheide via 4D_Tech
Chuck, you said the column is not enterable - disabled for a check box a disabled check box shows as light grey, and if checked the check is darker grey so actually is sounds as if it draws incorrectly the first time in - appearing blue = enterable You might be able to change the color (blue)

Re: list box issue

2019-05-14 Thread Chip Scheide via 4D_Tech
On Tue, 14 May 2019 15:28:40 -0400, Charles Miller via 4D_Tech wrote: > If I change the column to > allow entry, this issue goes away Form event = on activated set enterable set disabled ?? Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: v17R4 infelicities

2019-05-14 Thread Chip Scheide via 4D_Tech
Not using v17(anything) ... but 1 - exit design when going into application environment to me means close it up. I would try turning this off 2 - try: -(Form.lastQ.outputVAT) or (-1 * Form.lastQ.outputVAT) On Tue, 14 May 2019 20:25:57 +0100, Jeremy Roussak via 4D_Tech wrote: > I’m noticing two

Re: Scroll position of display-type subform

2019-05-14 Thread Chip Scheide via 4D_Tech
I think you can save yourself some work. if you are working on a record (which is displayed) then... try this: do the recalc (you could clear it first) ADD the record to the listbox selection set use your named selection I *think* 4D will scroll the display to show the highlighted record. if

Re: Scroll position of display-type subform

2019-05-13 Thread Chip Scheide via 4D_Tech
you could set the highlight row, then do whatever, then set the scroll position back and (if needed) un set the highlight row Chip On Sat, 11 May 2019 10:06:22 -0400, Alan Tilson via 4D_Tech wrote: > Hello again, > What I meant if it wasn't clear is can I get this to work with an Output > Form

Re: Printing an existing PDF File in Windows 10

2019-05-06 Thread Chip Scheide via 4D_Tech
Doug, 2 suggestions: - 1 - go to www.computerhope.com -- very good, and seemingly complete, documentation for OSX, Linux, DOS, Windows. You can get the exact syntax for the command(s) you want. - 2 - get whatever you end up with working from the command line -- FIRST --, then screw around

Re: 4D V15 crash

2019-05-04 Thread Chip Scheide via 4D_Tech
immediate observation - OS version 14.4 v 14.3 have them try to update OS > My client (4 time zones away), had been running the single user > compiled and merged app under windows. Then he purchased a new Mac. > It is running 10.14.3, I’m running 10.14.4. I have moved the > appropriate mac

Re: Re(2): Window reverse layering issues

2019-05-03 Thread Chip Scheide via 4D_Tech
if the user clicks on it to bring it forward it has to have received the click, and it should generate either or both outside call, activate. Chip On Fri, 3 May 2019 11:48:52 -0700, Don Lapin wrote: > Hi Chip, > > Does the incorrectly-layered window (the type 8 in this case, > supposed to be

Re: Window reverse layering issues

2019-05-03 Thread Chip Scheide via 4D_Tech
how about... a bit clunky - but should work when you open the modal dialog on top of the non modal window, you grab the modal window's window reference. then in the form event of the non-modal (I presume larger window) during either On OUTSIDE CALL and/or ON ACTIVATE: Hide Window() Show

Forums

2019-05-01 Thread Chip Scheide via 4D_Tech
personally - they are horrible I made a feature request for improvements: https://forums.4d.com/Post//29609582/1/ vote for and/or add your own Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: Resizing text on en Entry form

2019-05-01 Thread Chip Scheide via 4D_Tech
well it also has to take into account : - spacing BETWEEN objects. - vertical alignment - horizontal alignment ... and I was hoping not to have to re-invent the wheel, so to speak :) Chip On Wed, 1 May 2019 08:40:34 +0200, Herr Alexander Heintz via 4D_Tech wrote: > Its basically not that

Re: Split Screen Support with 4D and MacOS?

2019-05-01 Thread Chip Scheide via 4D_Tech
you can still do this - just expand the explorer windows to show the 'preview' or I do not remember who created it/them - but I know there are components which will export all methods to text you can then compare using something like Textwrangler's diff functions, or a Code management system,

Resizing text on en Entry form

2019-04-30 Thread Chip Scheide via 4D_Tech
I have code to resize the font in a listbox/listing form. I was wondering if there anyone has code they would share to resize all text on an entry form? something like command/control + (or -) on a web page. Thanks Chip --- Hell is other people Jean-Paul Sartre

Re: Split Screen Support with 4D and MacOS?

2019-04-30 Thread Chip Scheide via 4D_Tech
Tom, don't copy/paste drag n drop - open 2 copies of 4D with what ever systems you want - display the explorer in both - adjust the windows so you can see the column (list of methods/forms whatever) in the destination. - drag from the source to destination. -- release when the cursor is a

Re: Data Merge from v13 to v15

2019-04-30 Thread Chip Scheide via 4D_Tech
Ronnie, I do not remember, and with a little bit of experimenting you can figure it out. BUT as I recall if use SEND RECORD from [table A] which is a subset of [table A] in the receiving table this works. issues : - field order would need to be the same (at least through the fields sent from

Re: Unexpected authentication window appears in web area

2019-04-25 Thread Chip Scheide via 4D_Tech
windows firewall? windows running though a proxy? through a different router/switch? have you tried entering your network (email or or server) credentials? if you can determine what credentials are accepted maybe you figure out what the cause is Chip On Thu, 25 Apr 2019 22:29:34 +0200, Peter

Project methods vs ...

2019-04-25 Thread Chip Scheide via 4D_Tech
Chris B made the below statement about project methods. from a 'classic' 4D pogromming view, IMHO - which may mean nothing :), this is not the approach I use or advocate. I do use object methods - but - only to call project methods which do all of the actual work. ex: accept button script

Re: -1 undefined database event

2019-04-24 Thread Chip Scheide via 4D_Tech
immediate thoughts: - the data file it self is read only. -- due to file access permissions (from the OS) -- the data file is open by another copy of the structure -- the record (or more) are damaged in some manner (run MSC) Chip On Wed, 24 Apr 2019 16:23:09 -0500, David Ringsmuth via

More Engine quesitons

2019-04-24 Thread Chip Scheide via 4D_Tech
Custom desktop icon. Is there a way to get the icon to 'stick'? i.e. apply the icon in such a way that when I rebuild the app I do not have to manually place it. Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: Engined App

2019-04-24 Thread Chip Scheide via 4D_Tech
Thanks - not happening :) CHip On Wed, 24 Apr 2019 09:46:52 -0700, Douglas von Roeder via 4D_Tech wrote: > Chip: > > That’s a licensing issue. I checked a few years back and the price was $3k. > > -- > Douglas von Roeder > 949-336-2902 > > > On Wed, Apr 24, 20

Re: Code signing works on one app but fails on another

2019-04-24 Thread Chip Scheide via 4D_Tech
compress the dmg (zip it) before uploading to dropbox? On Wed, 24 Apr 2019 17:42:10 +0100, Pat Bensky via 4D_Tech wrote: > Actually it doesn't seem to be working ... it seems to corrupt the app in > some way. > It's quite bizarre ... I compile the app, sign it using Miyako's code, and > create a

<    1   2   3   4   5   6   7   8   9   10   >