If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > Picture Control

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-25-04, 10:12
Indian Indian is offline
Registered User
 
Join Date: Sep 2003
Posts: 30
Picture Control

Hi

how can i load a picture in "Picture Control" (the Resource with the Cactus).

for example i click in a listbox on a row and the picture will be loaded in the "Picture Control. How do i load the picture ???

I've searched and searched, haven't found something usefull till yet.

Indian
Reply With Quote
  #2 (permalink)  
Old 05-25-04, 11:13
SCIROCCO SCIROCCO is offline
Registered User
 
Join Date: Mar 2004
Location: www.scirocco.ca
Posts: 346
You are better off storing the location of the Picture in your table instead of the picture itself. When a user selects from the list which picture they want you set the picture located in that item. i.e.

YourPictureObject.Picture = "C:\MyPicture.jpg"
__________________
http://www.scirocco.ca/images/banner...occobanner.gif

Download for FREE the ADO/DAO Data Controls that makes life EASIER developing database applications in: VB, FoxPro, Access, VC++, .NET etc... Navigate, Add New, Delete, Update, Search, Undo and Save your changes. Supports Disconnected Recordsets and Transactions!

Or try our Ask An Expert service to answer any of your questions!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On