[noob again]objects and properties and messages

J. Landman Gay jacque at hyperactivesw.com
Mon Mar 28 19:00:10 EST 2005


On 3/28/05 11:05 AM, Mikey wrote:

>>Are you automating creating tabs? If so, can't you name the tab when you
>>create the card and *then* put the list of cardnames into the tab button?
> 
> The tabs are updated with the names of the cards as the cards are
> created.  Thus when a new card is created, there is a tab that says
> "card id _____".  I suppose I could attempt to determine if a card is
> a new card and rename it before resetting the tabs.

Use the "newcard" message (just like HC):

on newcard
  ask "Name this card:"
  if it <> ""
  then put cr & it after btn "myMenuBtn"
end newcard

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list