Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have made buttons with icons availabe in mapinfo but now i want to add custom icon. Is it possible my code is as follows:

  Include "icons.def"
  Declare Sub Main
  Declare Sub button_prompt
  Sub Main
 Create ButtonPad "Custom" As 
PushButton
Icon MI_ICON_ZOOM_QUESTION
Calling button_prompt
HelpMsg "Item1"
fixed

Alter ButtonPad "Custom"
Add Separator
Add PushButton
Icon MI_ICON_GRABBER
Calling button_prompt
HelpMsg "Item2"
fixed
 End Sub
 Sub button_prompt
 End Sub
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

This should help with creating custom buttons.

http://twiav.nl/files/TWIAV_TIP_MB001.pdf

Also try the MapInfo-L mailing list:

http://groups.google.com/group/mapinfo-l

share|improve this answer
    
+1 Thanks for link –  kinkajou Jul 7 '11 at 9:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.