Thanks so much for your help - I tried the tag property and assumed I
set it the same way I set the name but when I call it is set to its
default of 0 (zero). I am setting the title and tag properties like
so...
set the_menu_item to make new menu item at the end of menu items
of menu of the_popup with properties {title:the_vendor, tag: id_vendor}
I did try casting the "id_vendor" variable to an integer but that
made no difference. When I call the title it is correct. But when I
call the tag it is, as I said, 0. I am calling like so....
set the_title to title of popup button "the_vendors" of win_main
set the_id_vendor to tag of popup button "the_vendors" of win_main