PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[7.5] image display on button
[7.5] image display on button
Started by Tom, Sep., 07 2005 8:13 PM - 1 reply
Connect yourself…
Tom
#1
Posted on September, 07 2005 - 8:13 PM
Hello,
I use the following code to display an image on a button. the images are stored in hyperfile memo field.
HExtractMemo(FILE,ITEM_IMAGE,LOCAL_PATH)
CTRL_BUTTON..Image = LOCAL_PATH
this works fine but is a bit slow because each time the image has to be created on hard disk.
Is there a way to directly assign the file item to the button-image property?
Thanks in advance,
Tom
Report
0
0
Clive Dickinson
#2
Posted on September, 09 2005 - 2:38 AM
Tom,
Perhaps you could leave the image file on the hard disk after it has been extracted and then for subsequent uses read it directly from the disk ie put some conditional code in that checks for the existence of the image and reads it from the disk if it already exists. That way it would be slow the first time the window is accessed but quicker for subsequent times.
hth
Clive
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text