RAP does not have the FileExists routine built in however it would be very easy to create a pass-thru function that does so. Take a look at the main RAP demo located in the \Demos\0. RAP\... directory for examples of how to create and use pass-thru functions.
The TppDBImage can optionally be connected to a string field that contains an image file name. It will internally check whether the file exists and load the image.
I don't know whether this would be an option for you, but thought I would mention it.
- Nard Moseley Digital Metaphors www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
RAP does not have the FileExists routine built in however it would be
very easy to create a pass-thru function that does so. Take a look at
the main RAP demo located in the \Demos\0. RAP\... directory for
examples of how to create and use pass-thru functions.
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
an image file name. It will internally check whether the file exists and
load the image.
I don't know whether this would be an option for you, but thought I would
mention it.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Can that be achieved via the editor or do you need Delphi code?
This would be a useful function for our end users - is there any
documentation anywhere?
Regards
Rod
bind to a datafield of type string.
The RBuilder help topic for TppDBImage needs to be updated - this will be
included in the next maintenance release.
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com