Hi Gina,
There is a way to do this is to run the following statement (in the
startup.wor, mapbasic window or mbx):
Alter MapInfoDialog dialog_ID
Control control_ID
{ Disable | Hide | Value new_value } [ , {
Disable... } ]
[ Control... ]
The diallog ID numbers are version specific though. To determine a
dialog's ID number, run MapInfo for Windows with this command line:
mapinfow.exe -helpdiag
After you run MapInfo with the -helpdiag argument, display a MapInfo
dialog box and click the Help button. Ordinarily, the Help button
launches Help, but because you used the -helpdiag argument, MapInfo
displays the ID number of the current dialog box.
Each individual control has an ID number. For example, most OK buttons
have an ID number of 1, and most Cancel buttons have an ID number of 2.
To determine the ID number for a specific control, you must use a
third-party developer's utility, such as the Spy++ utility that
Microsoft provides with its C compiler. The MapBasic software does not
provide a Spy++ utility.
In your case (based MI ver 7.0):
Alter MapInfoDialog 3110 Control XXXX Disable
Where XXXX is the Control ID (which I have not determined)
HTH,
Laurence Seeff
Points Business Mapping Ltd.
22 Tuval St., Ramat-Gan, 52522
Israel
Tel: +972-3-6126216
Fax: +972-3-6126323
Email: [EMAIL PROTECTED]
-----Original Message-----
From: Gina Adams [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 23, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: MI-L Custom symbols
We have set up our own custom symbols which are present when you load
MapInfo. However if you accidentally press on the Reload our custom
symbols disappear and MapInfo's custom symbols are present. To retrieve
our custom symbols we have to restart the program which wastes time.
Is there a way in which we can disable the reload button, or how can we
re-code the reload button so if its pressed it loads our custom symbols?
Many thanks for your help
Have a happy Christmas and happy new year.
Gina
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * This email and any attachments with it are intended for the
addressee only. It may be confidential and may be the subject of legal
and/or professional privilege.
If you have received this email in error please notify the sender or
[EMAIL PROTECTED] The content may be personal or contain
personal opinions and cannot be taken as an expression of the County
Council's position. Surrey County Council reserves the right to monitor
all incoming and outgoing mail. Whilst every care has been taken to
check this outgoing e-mail for viruses, it is your responsibility to
carry out any checks upon receipt.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9682
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 9686