×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

ASAP Opening an Image from thumbnail to full view

ASAP Opening an Image from thumbnail to full view

ASAP Opening an Image from thumbnail to full view

(OP)
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)

RE: ASAP Opening an Image from thumbnail to full view

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:www.crowncap.demon.nl\info\crwnbase
Download the CrownBase source code !!

RE: ASAP Opening an Image from thumbnail to full view

(OP)
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

RE: ASAP Opening an Image from thumbnail to full view

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:www.crowncap.demon.nl\info\crwnbase
Download the CrownBase source code !!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close