To duplicate the front window (if it's a map) try: dim sCmd as string sCmd = WindowInfo ( FrontWindow() , WIN_INFO_CLONEWINDOW ) run command sCmd
- Bill Thoen Michel Van Asten wrote: > > Hi, > > I got a stupid problem... > > I create a simple MapBasic program that need to access and duplicate the Front > Window... > But I access this procedure from a buttonPad.... the table name I get is always > Cosmetic2 ???? > I guess the FrontWindow() function returns me always the ID of ... the ButtonPad... > > How can I solve this problem ? > > Regards Michel Van Asten > > strActiveTable = WindowInfo ( FrontWindow() , WIN_INFO_TABLE ) --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 9790
