CodeBase - dbGUI

Return to the CodeBase listing

Category: Input / Output

Version: 1.0

0
0

Information

Uploaded: 4th Dec 2004 06:28

Modified: 1st Jan 1970 01:00

Author:  hottap

Summary

A simple function which draws a panel to the screen and returns the mouseclick() value if the user clicks on it.

Full Description

A simple function which draws a panel to the screen and returns the mouseclick() value if the user clicks on it.<br /> This function can be added to your code or saved as an #include file (all its variables are local). The panel can be made 3d by setting the 3dflag parameter to 1 (shadow &amp; hilight colors are worked out on the fly). The text will be drawn to the panel using the current text setup; most fonts will look fine centred on the panel - however if you are using a font with an irregular baseline, use the yoffset parameter to realign the text vertically.<br /> <br /> SYNTAX<br /> Return Integer = panel(x,y,w,h,color,textcolor,text$,3dflag,yoffset)

Comments

No comments yet.