< Futurebasic < Language < Reference
Syntax
DEF SHADOWBOX
Description
This statement draws a box with a single-pixel drop shadow, and erases the interior of the box. The box is drawn just outside of the rectangle specified by rect (which should be an 8-byte variable such as a RECT type) or pointed to by rectAddr&. The box can be used as a border for text, pop-up menu items, and other things. The box is not automatically refreshed, unless you're using the "FB Lite" runtime. Otherwise; your program should explicitly re-draw it (call DEF SHADOWBOX again) when you receive an update event for the window. FB Lite behavior: When you use the "FB Lite" runtime, DEF SHADOWBOX switches to the Graphics Window before executing.
Example:
CD Example: DEF SHADOWBOX.BAS
See Also
EDIT FIELD; DEF BOX; DEF SHOWPOP
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.