CLICK ANYWHERE TITLE BOX TECHNIQUE ================================== by Peter Hibbs On most programs that use the GEM system and a resource file there is usually a title box which gives the current issue of the program, the programmers name, date of issue, etc. Sometimes the box appears when the program is first run and sometimes it can be displayed by clicking on the first entry in the DESK entry of the menu bar. In some programs the user has to click on a small button marked OK, EXIT or something similar to return to the main program, in most commercial programs the user can click anywhere in the box to return to the program. Personally, I think that the second method is a much better idea and looks more professional but how do you do it ? Using a Resource File Editor (I use WERCS but all similar programs should give the same facilities) design the outline box and the text/graphics objects, as required. At this stage you will also need to include an EXIT button as WERCS does not allow you to test the form without one. The flag settings of the various objects can be set from the 'Flags' entry on the menu bar, unfortunately, setting the 'EXIT' flag of the main outline box does not work if the user should happen to click on any of the text or graphics objects which may be in the box. What you should do is to set the 'TOUCH EXIT' flag instead of the 'EXIT' flag on ALL the text/graphics objects in the box so that wherever the user clicks, the program will exit OK. The EXIT button should now be moved to a convenient part of the main box where it is out of the way (and made smaller if necessary) and its 'HIDE' flag set to hide the button from view. If you need to see the exit button again after you have hidden it, first select the parent object (usually the main box) and then select the 'Un-hide Children' option from the Flags menu. And that's it, simple when you know how !