with the code below I populate the text property of the option menu "btnVitigni"
Code: Select all
set ItemDel to TAB
repeat for each line tLine in tListaViti
put item 2 of tLine & return after gDatiViti
end repeat
set the text of button "btnVitigni" to gDatiViti
to avoid it, at the end of the code I've added this:
Code: Select all
set the label of btn btnVitigni to "Seleziona un vitigno"
franco