An option is to put your dialogs in a DLL - a few people on this list have done that - but otherwise, one groovy tip I heard one of the MI partners did a while back is to set up a non-earth map with polygons representing buttons(don't know who and never saw it but admired the ingenuity).
This gives you complete control over the appearance and also gives you a non-modal dialog. Getting a standard Windows appearance is a bit of a fiddle I imagine but you can get pretty artistic. Then give your users custom tools to implement the button logic and only let the tools work on this window. So - draw your polygons, save them as TAB files, in your code map from them and trap the window ID. In the tool handlers, check that they clicked on this window and then process the commands (eg use CommandInfo(CMD_INFO_X) and CommandInfo(CMD_INFO_Y) to find which 'button' they clicked on). You can use Set Window statements to remove the control boxes and prevent resizing. I've been doing stuff from VB so long I wouldn't want to do this now but if you really need to use MapBasic this could be a good approach. Paul Crisp Syntegra Innovation Place Delta Bank Road Newcastle NE11 9DJ Tel 0191 461 4522 Fax 0191 460 1987 -----Original Message----- From: Windeler, David [mailto:[EMAIL PROTECTED]] Sent: 19 February 2003 19:12 To: 'MapInfo-L (E-mail) Subject: MI-L dialog font style To whom it may concern: I tried searching the archives for a response to the following question but was unable to find anything other than a posting asking the same question. What I am wondering is whether or not it is possible to change the font used to create a Dialog Box in MapBasic? From what I gather the font clause is only useful for creating a font style for a text object. On a similar note, what is the default font used in dialog boxes? David Windeler Hons. BSc. Geo, GIS Apps. Specialist GIS Technician / Applications Specialist City Of Vaughan Engineering Department 2141 Major Mackenzie Drive Vaughan, Ontario L6A 1T1 Tel. (905) 832-8525 Ext. 8747 Fax (905) 832-6145 E-mail [EMAIL PROTECTED] http://www.city.vaughan.on.ca ******************************************************************** This email may contain information which is privileged or confidential. If you are not the intended recipient of this email, please notify the sender immediately and delete it without reading, copying, storing, forwarding or disclosing its contents to any other person Thank you Check us out at http://www.syntegra.com ********************************************************************
