Re: [resolved?] PICTs as static pictures was: v15 - How to get an (form) object into a blob?

2019-09-11 Thread Chip Scheide via 4D_Tech
Not so far!  thankfully  :)

Thanks
On Wed, 11 Sep 2019 04:36:02 -0700, Tom Benedict wrote:
> Chip,
> 
> In case you encountered references to picture library images which 
> have negative IDs, here is a link to some guidance from Mr Miyako on 
> how to update them to positive IDs:
> 
> http://4d.1045681.n5.nabble.com/Resource-Pictures-td5761195.html 
>  
> 
> Tom Benedict 
> 
>> On Sep 10, 2019, at 08:22, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> it is a bit of a pain, but it is fairly simple to remove these objects.
>> 
>> In older versions of 4D, auto generated forms both list and entry) have 
>> what appear to be PICT picture objects placed in/on them. On list 
>> forms, there is a gradient picture used behind the titles of the 
>> columns, and on entry forms there is a dotted line used to separate 
>> navigation buttons from 'action' buttons.
>> 
>> While it would have been ice if 4D had not put PICT images on these 
>> forms, at least they were very consistent in naming them. All of these 
>> static picture PICT objects are named: Picturexx, where xx is some 
>> number.
>> 
>> SO... locating them for removal is easy.
>> Find in design: Find Text: Picture
>> 
>> in the resulting find window, collapse all, remove any method as all 
>> you will need to care about are forms.
>> From there you will need open each form sigh... and delete the 
>> picture object.
>> 
>> Repetitive, boring, and totally a PIA - but not difficult or impossible.
>> 
>> 
>> Chip
>> ---
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing 
>> **
>> 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
>> **
> 
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: [resolved?] PICTs as static pictures was: v15 - How to get an (form) object into a blob?

2019-09-11 Thread Tom Benedict via 4D_Tech
Chip,

In case you encountered references to picture library images which have 
negative IDs, here is a link to some guidance from Mr Miyako on how to update 
them to positive IDs:

http://4d.1045681.n5.nabble.com/Resource-Pictures-td5761195.html 
 

Tom Benedict 

> On Sep 10, 2019, at 08:22, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> it is a bit of a pain, but it is fairly simple to remove these objects.
> 
> In older versions of 4D, auto generated forms both list and entry) have 
> what appear to be PICT picture objects placed in/on them. On list 
> forms, there is a gradient picture used behind the titles of the 
> columns, and on entry forms there is a dotted line used to separate 
> navigation buttons from 'action' buttons.
> 
> While it would have been ice if 4D had not put PICT images on these 
> forms, at least they were very consistent in naming them. All of these 
> static picture PICT objects are named: Picturexx, where xx is some 
> number.
> 
> SO... locating them for removal is easy.
> Find in design: Find Text: Picture
> 
> in the resulting find window, collapse all, remove any method as all 
> you will need to care about are forms.
> From there you will need open each form sigh... and delete the 
> picture object.
> 
> Repetitive, boring, and totally a PIA - but not difficult or impossible.
> 
> 
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing 
> **
> 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
**

[resolved?] PICTs as static pictures was: v15 - How to get an (form) object into a blob?

2019-09-10 Thread Chip Scheide via 4D_Tech
it is a bit of a pain, but it is fairly simple to remove these objects.

In older versions of 4D, auto generated forms both list and entry) have 
what appear to be PICT picture objects placed in/on them. On list 
forms, there is a gradient picture used behind the titles of the 
columns, and on entry forms there is a dotted line used to separate 
navigation buttons from 'action' buttons.

While it would have been ice if 4D had not put PICT images on these 
forms, at least they were very consistent in naming them. All of these 
static picture PICT objects are named: Picturexx, where xx is some 
number.

SO... locating them for removal is easy.
Find in design: Find Text: Picture

in the resulting find window, collapse all, remove any method as all 
you will need to care about are forms.
From there you will need open each form sigh... and delete the 
picture object.

Repetitive, boring, and totally a PIA - but not difficult or impossible.


Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: v15 - How to get an (form) object into a blob?

2019-09-10 Thread Chip Scheide via 4D_Tech
I copied one of the static pictures 4D inserts into the auto generated 
list forms.
pasted it into the picture library, then tested it to see if it is a 
PICT.
It is indeed a PICT!

so... if you are finding there are many PICTs in your systems whig you 
can not find - this is likely the source -- especially if you have 4D 
auto generated form from older versions (v13 and before, maybe v14 
and/or v15)
Chip

On Tue, 10 Sep 2019 01:52:54 +0100, Narinder Chandi via 4D_Tech wrote:
> Actually, you and Tom are onto something there. During my recent v15 
> to v17 conversion MSC reported PICTS on some auto generated list 
> forms which I then simply deleted. As Tom points out, they are easy 
> to spot on the forms as they have the red X.
> 
> Regards,
>  
> Narinder Chandi,
> ToolBox Systems Ltd.
>  
> I am available for new consulting opportunities…
> http://4d.1045681.n5.nabble.com/ANN-4D-Developer-Available-td5765443.html
> -- 
> 
> -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, 10 September 2019 at 01:18
> To: 
> Cc: Chip Scheide <4d_o...@pghrepository.org>, 4D Tech Mailing List 
> <4d_tech@lists.4d.com>
> Subject: Re: v15 - How to get an (form) object into a blob?
> 
> I *think* that 4D's auto generated list form (and maybe entry 
> form) may have PICTS as part of their creation
>  for example the list form has 2 static pictures which form a 
> backgrounders behind the fields and titles being displayed.
> 
> I will try the copy paste idea tomorrow - I can not get a 64 bit 
> version of 4D running on the OS I am on currently (at least I do not 
> think so . v16 doesn't run until OS X 10.11(?) (13?) either way we 
> are not there yet
> 
> Chip
> 
> 
> > Hi Chip,
> > 
> > I may not completely understand your question, but one way you can 
> > tell if a static picture is still in PICT format is to open the form 
> > in 64 bit. If it’s still in PICT you’ll see it substituted by 
> a red X.
> > 
> > Tom Benedict
> > 
> >> On Sep 9, 2019, at 15:29, Chip Scheide via 4D_Tech 
> >> <4d_tech@lists.4d.com> wrote:
> >> 
> >> I have passed an application to 4D inc to check it for 64 bot 
> >> compatibility.
> >> The report showed a number of PICTs, outside of the library.
> >> 
> >> I *think* I have found them, but.. I am not sure how I can check.
> >> 
> >> The objects are form objects (type 'Static Picture'), they are not 
> >> variables.
> >> How can I determine if a static picture is of type PICT?
> >> 
> >> I have code to test if a picture in a variable is of type PICT.
> >> 
> >> any ideas?
> >> Thanks
> >> Chip
> >> 
> > 
> > 
> 
> Hell is other people 
>  Jean-Paul Sartre
> **
> 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
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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: v15 - How to get an (form) object into a blob?

2019-09-10 Thread Charles Miller via 4D_Tech
Hi chip when I get back from vacation I can send you link to JPR’s code
that will go through all form and then you can fix any of the Picts

Regards

Chuck

On Mon, Sep 9, 2019 at 6:33 PM Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I have passed an application to 4D inc to check it for 64 bot
> compatibility.
> The report showed a number of PICTs, outside of the library.
>
> I *think* I have found them, but.. I am not sure how I can check.
>
> The objects are form objects (type 'Static Picture'), they are not
> variables.
> How can I determine if a static picture is of type PICT?
>
> I have code to test if a picture in a variable is of type PICT.
>
> any ideas?
> Thanks
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 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: v15 - How to get an (form) object into a blob?

2019-09-09 Thread Narinder Chandi via 4D_Tech
Actually, you and Tom are onto something there. During my recent v15 to v17 
conversion MSC reported PICTS on some auto generated list forms which I then 
simply deleted. As Tom points out, they are easy to spot on the forms as they 
have the red X.

Regards,
 
Narinder Chandi,
ToolBox Systems Ltd.
 
I am available for new consulting opportunities…
http://4d.1045681.n5.nabble.com/ANN-4D-Developer-Available-td5765443.html
-- 

-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, 10 September 2019 at 01:18
To: 
Cc: Chip Scheide <4d_o...@pghrepository.org>, 4D Tech Mailing List 
<4d_tech@lists.4d.com>
Subject: Re: v15 - How to get an (form) object into a blob?

I *think* that 4D's auto generated list form (and maybe entry form) may 
have PICTS as part of their creation
 for example the list form has 2 static pictures which form a backgrounders 
behind the fields and titles being displayed.

I will try the copy paste idea tomorrow - I can not get a 64 bit version of 
4D running on the OS I am on currently (at least I do not think so . v16 
doesn't run until OS X 10.11(?) (13?) either way we are not there yet

Chip


> Hi Chip,
> 
> I may not completely understand your question, but one way you can 
> tell if a static picture is still in PICT format is to open the form 
> in 64 bit. If it’s still in PICT you’ll see it substituted by a red X.
> 
> Tom Benedict
> 
>> On Sep 9, 2019, at 15:29, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> I have passed an application to 4D inc to check it for 64 bot 
>> compatibility.
>> The report showed a number of PICTs, outside of the library.
>> 
>> I *think* I have found them, but.. I am not sure how I can check.
>> 
>> The objects are form objects (type 'Static Picture'), they are not 
>> variables.
>> How can I determine if a static picture is of type PICT?
>> 
>> I have code to test if a picture in a variable is of type PICT.
>> 
>> any ideas?
>> Thanks
>> Chip
>> 
> 
> 

Hell is other people 
 Jean-Paul Sartre
**
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: v15 - How to get an (form) object into a blob?

2019-09-09 Thread Chip Scheide via 4D_Tech
I *think* that 4D's auto generated list form (and maybe entry form) may have 
PICTS as part of their creation
 for example the list form has 2 static pictures which form a backgrounders 
behind the fields and titles being displayed.

I will try the copy paste idea tomorrow - I can not get a 64 bit version of 4D 
running on the OS I am on currently (at least I do not think so . v16 doesn't 
run until OS X 10.11(?) (13?) either way we are not there yet

Chip


> Hi Chip,
> 
> I may not completely understand your question, but one way you can 
> tell if a static picture is still in PICT format is to open the form 
> in 64 bit. If it’s still in PICT you’ll see it substituted by a red X.
> 
> Tom Benedict
> 
>> On Sep 9, 2019, at 15:29, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> I have passed an application to 4D inc to check it for 64 bot 
>> compatibility.
>> The report showed a number of PICTs, outside of the library.
>> 
>> I *think* I have found them, but.. I am not sure how I can check.
>> 
>> The objects are form objects (type 'Static Picture'), they are not 
>> variables.
>> How can I determine if a static picture is of type PICT?
>> 
>> I have code to test if a picture in a variable is of type PICT.
>> 
>> any ideas?
>> Thanks
>> Chip
>> 
> 
> 

Hell is other people 
 Jean-Paul Sartre
**
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: v15 - How to get an (form) object into a blob?

2019-09-09 Thread Tom Benedict via 4D_Tech
Hi Chip,

I may not completely understand your question, but one way you can tell if a 
static picture is still in PICT format is to open the form in 64 bit. If it’s 
still in PICT you’ll see it substituted by a red X.

Tom Benedict

> On Sep 9, 2019, at 15:29, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I have passed an application to 4D inc to check it for 64 bot 
> compatibility.
> The report showed a number of PICTs, outside of the library.
> 
> I *think* I have found them, but.. I am not sure how I can check.
> 
> The objects are form objects (type 'Static Picture'), they are not 
> variables.
> How can I determine if a static picture is of type PICT?
> 
> I have code to test if a picture in a variable is of type PICT.
> 
> any ideas?
> Thanks
> Chip
> 

**
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: v15 - How to get an (form) object into a blob?

2019-09-09 Thread Narinder Chandi via 4D_Tech
Is it possible to Copy/Paste them from the form into the Picture Library? You 
could then use GET PICTURE FROM LIBRARY and GET PICTURE FORMATS commands to 
analyse the image:
https://doc.4d.com/4Dv17/4D/17.2/GET-PICTURE-FROM-LIBRARY.301-4387016.en.html
https://doc.4d.com/4Dv17/4D/17.2/GET-PICTURE-FORMATS.301-4387029.en.html

Regards,
 
Narinder Chandi,
ToolBox Systems Ltd.
 
I am available for new consulting opportunities…
http://4d.1045681.n5.nabble.com/ANN-4D-Developer-Available-td5765443.html
-- 

-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: Monday, 9 September 2019 at 23:29
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Chip Scheide <4d_o...@pghrepository.org>
Subject: v15 - How to get an (form) object into a blob?

I have passed an application to 4D inc to check it for 64 bot 
compatibility.
The report showed a number of PICTs, outside of the library.

I *think* I have found them, but.. I am not sure how I can check.

The objects are form objects (type 'Static Picture'), they are not 
variables.
How can I determine if a static picture is of type PICT?

I have code to test if a picture in a variable is of type PICT.

any ideas?
Thanks
Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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
**

v15 - How to get an (form) object into a blob?

2019-09-09 Thread Chip Scheide via 4D_Tech
I have passed an application to 4D inc to check it for 64 bot 
compatibility.
The report showed a number of PICTs, outside of the library.

I *think* I have found them, but.. I am not sure how I can check.

The objects are form objects (type 'Static Picture'), they are not 
variables.
How can I determine if a static picture is of type PICT?

I have code to test if a picture in a variable is of type PICT.

any ideas?
Thanks
Chip
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
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
**