dbTalk Databases Forums  

Image box

comp.databases.filemaker comp.databases.filemaker


Discuss Image box in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dnilo84
 
Posts: n/a

Default Image box - 07-10-2007 , 09:27 AM






Hi,
I need to create a box when I can show different images by selecting
from ether a menu or buttons.
Right now I have some buttons that are portals to other layout where
the image is. What I want is be able to pick on of those buttons and
in the same layout view the image.
Thanks for your help!!!!!


Reply With Quote
  #2  
Old   
Matt WIlls
 
Posts: n/a

Default Re: Image box - 07-10-2007 , 02:14 PM






In article
<1184077677.321292.128000 (AT) n2g2000hse (DOT) googlegroups.com>dnilo84
<dnilo84 (AT) yahoo (DOT) com> wrote:

Quote:
Hi,
I need to create a box when I can show different images by
selectingfrom ether a menu or buttons.
Right now I have some buttons that are portals to other layout where
the image is. What I want is be able to pick on of those buttons
andin the same layout view the image.
Thanks for your help!!!!!


Make a calculation field along the lines of the following. Your
buttons will be from a value list based on the Imagename field:
calcDisplayField = "image:/Path/to/imagefolder/" & Imagename

ultimately, we'll return this as Container, but let's make it Text
first.
If the path to the image file is correct as text, it will display the
image when we change the return to Containier. In my setup, it comes
out as image:/HDX/Users/matt/Documents/Photos/Montreal.JPG
Alternately, you could make two fields from the same calculation, one
as text one as Container, as an aid to getting the calc correct.
Matt




Reply With Quote
  #3  
Old   
Chris Brown
 
Posts: n/a

Default Re: Image box - 07-10-2007 , 06:14 PM



dnilo84 wrote:
Quote:
Hi,
I need to create a box when I can show different images by selecting
from ether a menu or buttons.
Right now I have some buttons that are portals to other layout where
the image is. What I want is be able to pick on of those buttons and
in the same layout view the image.
Thanks for your help!!!!!


What I do is make thumbs of the buttons, using a rel ID::ID (the record
ID that the image relates to e.g Patient_ID...). This can be a normal
vertical arrangement, or as multiple singe row portal iterations for
horizontal displays,or as multiple rows of thumbs using the portal row
range method.

The button attached to the image then parses the actual image ID to a
global, and using g_ImageID::ImageID establish a second rel for display
of the selected image.

This approach allows filtering the initial display rel for subtypes...
and a hilite selected can be added to the thumbs



regards


Chris


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.