• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Some help on dialog director
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some help on dialog director


  • Subject: Some help on dialog director
  • From: Jan Erik Moström <email@hidden>
  • Date: Fri, 22 Jun 2001 18:08:13 +0200

I got a dialog in a handler which is specified like this

set listDialog to {size:[500, 450], contents:[,
{class:push button, name:"Done", bounds:[410, 408, 490, 428],
font:{style:bold}}, ,
{class:list box, contents:pMailboxNames, bounds:[10, 24, 494, 382],
column widths:[30, 355], flags:0}, ,
{class:push button, name:"Change Options", bounds:[10, 408, 110, 428],
font:{style:bold}} ,
], name:"Mailbox List", style:movable dialog}
dd install with fonts pDialogFonts with grayscale
set s to dd make dialog listDialog
repeat
set i to dd interact with user
if i = 1 then
-- Done button
exit repeat
else if i = 2 then

else if i = 3 then
set y to (dd get value of item 3 of s)
display dialog "Change values <" & (class of y as text) & ">"
end if
end repeat
dd delete s
dd uninstall

When I click on Change butten I want to read the currently selected list items
but I must be using the wrong command since I only get a boolean in return. I
tried to look at the docs and the examples but I can't find out how to do it.

Can someone tell me what I'm missing?

jem
--
Jan Erik Mostrvm mailto:email@hidden
Free Elektron http://www.mostrom.pp.se/folk/jem/


  • Prev by Date: Re: The Need for Speed: Finding Entourage contacts by display name or nickname
  • Next by Date: info on FaceSpan
  • Previous by thread: Re: The Need for Speed: Finding Entourage contacts by display name or nickname
  • Next by thread: Re: Some help on dialog director
  • Index(es):
    • Date
    • Thread