Hello,
I thought I already asked that, but I can't find any proof (maybe I dreamt of
it?)…
So, MenuMBS no longer compiles, which, currently, breaks my code.
Here's the “current” code:
dim b As Boolean
dim i As Integer
dim m As MenuMBS
dim s As String
m=new MenuMBS
m.Handle=MenuHandle
i=PMPropertiesHandles.IndexOf(MenuHandle) 'Check if the passed handle is in my
array; this array contains the menu(s) handle I want to monitor.
if i>-1 then
for i=1 to m.Count
s=m.Text(i)
b=s<>CstStrConcerningFileTrack
if not b then
m.DisableAllMenuItems
m.Enabled(i)=False
m.Bold(i)=True
m.Underline(i)=True
end if
next
end if
In short, this code disables a particular menu item inside a popup menu.
What's the proper way to do the same without using MenuMBS?
_______________________________________________
[email protected] mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info