Karen,
As best I can tell, there is no longer a (clean) way to use a "trimmed
down" copy of a mapinfo menu (it's doable in the UNIX version, but is still
a pain). Even if it were possible (which it MAY be starting with 6.5 - I
haven't investigated that, yet) I would advise against it - it causes your
user's (or you) grief at times.
Since you're (obviously) using MapBASIC, I would suggest removing the
undesired commands (if that's what you intend to do) from within your
application by using the "alter menu" command:
e.g. (refer to the mapinfo help system):
Alter Menu "File" remove 101, 102, 103
(removes the "New Table", "Open Table", "Close Table" commands from the
"File" menu)
You might also try the opposite approach: edit the
"MAPINFO_HOME\MapInfow.mnu" file to remove all undesired commands, then use
the "Alter Menu" to add the commands you want your "power users" to
have. Just remember that if you use THIS approach, then commands you "add"
will be at the bottom of the menu.
FINALLY, as for the "hidden password", you can use the "PASSWORD" option of
the "EditText" control to display asterisks instead of the typed text:
e.g.
Control EditText
Position 10,20
ID 1001
Value ""
Into str_my_password
Password
(again, refer the the MapBasic Help system - EditText control)
HTH
Good Luck,
Dave
At 10:41 AM 04/24/2001, you wrote:
>Dear all
>
>I am in the process of setting up a customised user interface, and have hit
>a couple of queries (so far!) - any help with these would be greatfully
>appreciated.
>
>Menus - is it possible to have two versions of Mapinfow.mnu, with different
>menu options and buttons (so I can have different setups for different user
>groups), and if so how and where do I tell MI which one to use.
>
>Password - I have a dialog box that requests username and password details.
>Is there a way to disguise the password input, so as the user types a symbol
>(eg a star) appears instead of each character, but MapBasic still reads the
>password as intended?
>
>I am using MI 6 and MB 6.
>
>TIA
>Karen
David L. Dennis
SOFPREP Support Manager Phone: (904) 881-2312
TYBRIN Corporation DSN: 641-2312
[EMAIL PROTECTED] FAX: (904) 881-4985
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.