I'm trying to migrate some MapBasic programs I wrote several years ago from
MB 3 to MB 4. I have several that build buttonpads and use [used to use...]
custom icons. I'm unable to get this to work with MI 4 [Mac], as MI claims
it's unable to find the icons ["Unable to load external icon source"]...

the relevant [?] snippet is

create buttonpad "True Pad" as
        pushbutton calling button_prompt        id 1 icon 128 File "truepad"
        pushbutton calling button_prompt        id 2 icon 132    File "truepad"

and the file "truepad" is in the same directory as the MapBasic
application. If I use the File "" syntax, which worked with MI 3, I get the
same error message. If I delete the File info, the program works just fine,
but uses the default MI icons, which ain't too helpfull.

Any suggestions on how to make this work, or should I just go back to MI 3??

Dave
------------------------------------------------------------------------
Dave Fitch,
Department of Geography,  University of Edinburgh.
Drummond St, Edinburgh,  Scotland. EH8 9XP.
0131-650-2524 (FAX)

http://www.ed.ac.uk/~dlf/mtb/index.html
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to