Thanks Jermy. I tried your suggestion and found no resource with a matching ID 
or name that describes the picture.

FYIW, I created this button back in 2004 after seeing a Summit presentation by 
David Batton on how to create a mask object on a form. Using the presented 
technique I used a simple rectangle in 4 picture buttons to create a cropping 
rectangle that a user can resize over a picture to indicate the desired 
cropping. I no longer have the summit presentation notes and the knowledge base 
does not go back that far. Does anyone have these presentation notes. I think 
if I can see how I created the picture buttons, I can figure out how to convert 
the picture.

John



> On Jul 28, 2019, at 6:19 PM, Jeremy French <jeremyfre...@mac.com> wrote:
> 
> I suggest you try the following to see what 4D reports as resources.
> 
> Use the RESOURCE TYPE LIST command to get a list of all resource types:
> 
> RESOURCE TYPE LIST ( resTypes {; resFile} )
> 
> Omit the resFile parameter so you get all open resource types.
> 
> Then build a list of individual resources found by iterating over each 
> resTypes and calling RESOURCE LIST for that resTypes. Omit the resFile 
> parameter so you get all open items:
> 
> RESOURCE LIST ( resType ; resIDs ; resNames {; resFile} )
> 
> Put the resulting list (which will have 3-columns: “ResType”, “ResIDs”, 
> “ResNames”) in a list box.

**********************************************************************
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
**********************************************************************

Reply via email to