Futurebasic/Language/Reference/def showpop

Syntax edit

DEF SHOWPOP

Description edit

This statement draws a pop-up menu triangle () in the upper-right corner of the rectangle specified by rect (which should be an 8-byte variable such as a RECT type) or pointed to by rectAddr&. This triangle is most often used with pop-up menus. Unless youÕre using the ÒFB LiteÓ runtime, the triangle is not automatically refreshed. Your program should explicitly re-draw it (call DEF SHOWPOP again) when you receive an update event for the window. FB Lite behavior: When you use the "FB Lite" runtime, DEF SHOWPOP switches to the Graphics Window before executing.

See Also edit

DEF BOX; DEF SHADOWBOX