You can not do this in MapBasic. Some use c,c++ or delphi to embed forms
in dll to use from MapBasic in MapInfo. If your a novice devloper I
would stick to the standard MapBasic dialogs. 

You could build a buttonpad (not a dialog) in MapBasic with toggle
buttons and icon change on toggle.

HTH
Jakob Lanstorp
Software Developer
GIS, Surveying & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S
Denmark
 
Tel     +45 6311 4900
Mob     +45 4020 7529
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rakesh
Rao
Sent: Tuesday, September 26, 2006 1:05 PM
To: [email protected]
Subject: [MI-L] Icon Image Buttons in dialogs


Hello,

I am trying to build a MapBasic dialog box with icons in Push buttons
which act like toggles. 
One push and it is On and Push again, it is Off. I need to be able to
dynamically change the icon of each button as it is depressed (like in
VB) by changing the bmp's. How do I do this? 
What control I must use?

Any help is appreciated and thanks in advance.

Regards
- Rakesh Rao [ rakesh.rao (at)4d-technologies.com ]
- Four Dimension Technologies
  [www.4d-technologies.com]
- Get GeoTools, Work smarter: www.4d-technologies.com/geotools
- Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
- View GDF files within the AutoCAD environment, Use GDFViewer with
GeoTools
------- End of forwarded message -------

- Rakesh Rao [ rakesh.rao (at)4d-technologies.com ]
- Four Dimension Technologies
  [www.4d-technologies.com]
- Get GeoTools, Work smarter: www.4d-technologies.com/geotools
- Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
- View GDF files in AutoCAD, Get GDFViewer with GeoTools

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l




_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to