Hello Yas,
MapBasic User's guide (page 128):
"A MapBasic program cannot customize the button icon or draw
mode associated with the ToolHandler procedure; the icon and
cursor always use a simple + shape. If you need to specify
a custom icon or cursor, use the Create buttonPad or
Alter ButtonPad statement instead of ToolHandler Procedure"
Regards,
Anssi
At 00:00 12.4.1999 +0100, you wrote:
>Hello again Yas,
>
>> BUT, I guess I did not make myself clear enough.
>> As you know, mapbasic comes with several handlers such as
>> SelChangedHandler, WinClosedHandler, and one of them is called
>> "TOOLHANDLER".
>> ...
>
>As the online help for "ToolHandler" says, it is a simple but restrictive
way to add a custom tool to
>MI's main button. For the full functionality, including changing icon, use
the more flexible alter or
>create buttonpad statements. Is there any reason why you can't use this
more comprehensive
>method of creating a tool? Unfortunately, I don't think there is any way of
getting the functionality
>you need any other way within MB.
>
>Regards,
>Warren Vick
>Europa Technologies Ltd, U.K.
>http://www.europa-tech.com
>----------------------------------------------------------------------
>To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
>"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]