Monday, March 17, 2014
Tip of the Day: DIALOG Command - Automatic Resizing for Custom Images
Product.: R:BASE eXtreme 9.5 (32/64)
Build...: 9.5.4.30310 or higher www.rupdates.com
Keywords: DIALOG, RESIZE_ICON, Icons, Custom Images
Section.: Commands
Did you know that the DIALOG command has been enhanced with the RESIZE_ICON
parameter, to resize a specified image to 32x32 pixels?
When using the ICON_FILE parameter, a custom image can be added to the DIALOG
window to replace one of the available icons R:BASE provides.
If the custom image is smaller or large than 32x32 pixels, the display of the
image will not fit precisely within the image holder.
The RESIZE_ICON (ON/OFF) parameter will resize the image (except
.ico) to 32x32.
Example:
DIALOG 'Do you wish to continue?' vResponse vEndKey YES +
CAPTION 'Confirm' OPTION ICON_FILE Logo128x128.jpg +
|RESIZE_ICON ON +
|MESSAGE_FONT_COLOR NAVY +
|MESSAGE_FONT_NAME Tahoma +
|MESSAGE_FONT_SIZE 10 +
|MESSAGE_BOLD ON
NOTE: The following image formats are supported. There is no size limitation,
though 32x32 is recommended.
wmf | Windows Metafiles
emf | Enhanced Metafiles
ico | Icon Files
bmp | Windows Bitmap Files
png | Portable Network Graphics
jpeg | JPEG Image File
jpg | JPEG Image File
tif | TIFF Image File
tiff | TIFF Image File
gif | Compuserve GIF Image
jp2 | JPEG 2000 Image
j2k | JPEG 2000 Image
jpc | JPEG 2000 Image
tga | Truevision Targa File
vst | Truevision Vista File
afi | Truevision Targa File
pcx | ZSoft PC Paintbrush
pcc | ZSoft PC Paintbrush
dcx | DCX Image File
Enjoy the showcase and pride of our eXpanded R:Dream Team!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
www.Razzak.com
www.RazzakMemon.com
--
31 years of continuous innovation!
16 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================