> For (count tasks)
>  $Reference:=Get menu bar reference(loop_counter)
>  set menu bar($Reference;Loop_counter)
>  DELETE MENU ITEM(1;9;$i)
>  DELETE MENU ITEM(1;8;$i)
> end for


should this not be something like

For ($il1lCount tasks)
        $Reference:=Get menu bar reference(loop_counter)
        DELETE MENU ITEM($Reference;9)
        DELETE MENU ITEM($Reference;8)
end for

a menu ref is a global id that can be shared between processes as well as 
dynamic popup menus.
the ref-count is incremented when you set a menu to a menu or a menu bar or a 
process,
the ref-count is decremented when you release a menu or detach it from a menu 
or a menu bar or a process.

but more importantly,
I think it is best not to mix the menu number convention with the v11 menu 
reference syntax.


宮古 啓介
セールス・エンジニア

株式会社フォーディー・ジャパン
〒150-0043
東京都渋谷区道玄坂1-10-2 渋谷THビル6F
Tel: 03-6427-8441
Fax: 03-6427-8449

[email protected]
www.4D.com/JP

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to