Hi 1: No but if you parse the argument as a string - like, ABC;true, ABC;false or ABC; your function can then test the different valuse
2 and 3: In version 7 you can actualy place a Map in a Control using the "Control DocumentWindow" thake a look at the sampelcode for the NORTHARROW.MBX Peter Peter |---------+-----------------------------------> | | "Canfield, Andrew" | | | <[EMAIL PROTECTED]| | | omcast.com> | | | | | | 05-12-2002 14:54 | | | | |---------+-----------------------------------> >-------------------------------------------------------------------------------------------------------------------------------| | | | Til: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> | | cc: | | Vedr.: MI-L Three MapBasic questions | >-------------------------------------------------------------------------------------------------------------------------------| First is there a way to make an argument to a function Optional like in VB where you say something like Function MyTestFunct( valueOne as String, Optional ValueTwo as Boolean) ? Second is there any way to Color buttons on a dialog so they aren't the standard grey? Three does MapBasic have a repaint or redraw function for it's dialogs or do I have to call the Window's API? Thanks, Andy --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 4440