Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASAP Opening an Image from thumbnail to full view

Status
Not open for further replies.

lashwarj

IS-IT--Management
Joined
Nov 1, 2000
Messages
1,067
Location
US
I have a form that has a boundcontrol on it (kodak Thumbnail viewer) The path for the image is stored in a memo field. What I need to do is create a button that when clikced will open the image in full view, how can I ackomplish this. (The Database is a linked SQL Database so the memo field storeds an actual location for the image)
 
Why not create a popup form that has an image control on it and shows your image.
it can appear after you double clock on the control that you use to show the thumbnails.

I have done something similar in my CrownBase app.

HTH,
Weedz (Wietze Veld)
My private project:Download the CrownBase source code !!
 
I viewed your CrownBase and I haev to say that it is a great idea the way you have it but how do I set that up on my program. Is there a wizard or do I need to do code with a bound controler
 
THere is no wizard, you will just have to code/design it yourself.
BUt, once you have the path to the image, it is no big deal to set the image source for your image control (be aware that I a referring to an image control and not an olebound control, an image control does not have a controlsource).

Say, you have a (modal)form with an image control on it and it is called from a method from your thumbnail form:

PROCEDURE ShowImage
LOCAL loForm, lcMyImageReference

lcMyImageReference = This should come from the place where you stored your image path


loForm = CREATEOBJECT('MyImageShowForm')
WITH loForm
.imgImageControl.Picture = lcMyImageReference && the path to your image
.Show()
ENDWITH

ENDPROC


BTW you can also download the source code of CrownBase and have a look how I did it, because I store the raltive path of the image as well and do something almost exactly like I stated above.

HTH,
Weedz (Wietze Veld)
My private project:Download the CrownBase source code !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top