The only method I found that worked is below, but then Select is one of menu items.
Code: Select all
on FillInData pData
-- This message is sent when the Data Grid needs to populate
-- this template with the column data. pData is the value to be displayed.
-- Example:
lock messages
set the text of btn "methodType" of me to "Select:"& cr & "Method A"& cr & "Method B"
set the menuhistory of button "methodType" of me to lineoffset(pData, the text of button "methodType" of me)
unlock messages
end FillInData