HK Components

================================================================================

HK_preferences

PREF_get_picture

Retrieves a picture preference according to the preference code passed.
The preference is first queried as user specific, then, if not found, as general.
THe picture is first converted to blob an then to base64 text before storage and retrieved the same way,

Call

prefpict:=PREF_get_picture(prefcode)

Parameters

$1 -> text preference identification code
$0 <- picture the picture representation of the preference

Example

if($l_error_level=1) `major problem
   $t_icon:="icn_warn"
else `minor problem
   $t_icon:="icn_info"
end if
$g_alerticon:=PREF_get_picture($t_icon)
--------------------------------------------------------------------------------

Pricing

All current components are donationware in their compiled form, please use the donate button below to give what you think it's worth via paypal.

You can buy the sourcecode to the components. AC_Basics is free, but the source for all other components is 100 U$/€ via PayPal. You will receive the password to the archive contained in the component as soon as I receive the email from paypal confirming payment. Please make sure to call the payment button from the webpage of the desired component, so I know what you want to pay for. I can send an invoice by mail if you so require, EU corporate entities may provide a VAT ID in the message of their PayPal payments so I can deduct the VAT.

Thanks a lot

========================

Current version

0.8 - 2009.02.27
========================