Apple Newton Utilities Uživatelská příručka Strana 694

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 693
CHAPTER 19
Built-in Applications and System Data
19-20 Dates
local slip :=
BuildContext(
{_proto: protoFloater
viewFlags:vClickable + vFloating +
vApplication + vClipping,
viewJustify:0,
viewBounds:SetBounds (
parentBox.left+40,
parentBox.top+40,
parentBox.right-40,
parentBox.bottom-100),
declareSelf:'base,
stepChildren:
[
{viewStationery: 'para,
text: "test slip",
viewBounds:RelBounds(10, 10,50, 20)
},
{_proto: protoCancelButton,
buttonClickScript: func()
//closes the view and tells
//calendar the view was closed
AddDeferredSend(
cal,
'RememberedClose,
[base]),
}
],
});
// open the view and tell Dates it was opened
GetRoot().calendar:RememberedOpen(slip);
nil; // tells Dates not to open
// default meeting slip
end,
});
Miscellaneous Operations 19
Dates provides a number of methods that have not been mentioned elsewhere:
DisplayDate displays meetings in the Dates application, To Do items, or the
agenda for a specied date.
GetSelectedDates returns an array of the currently selected and
displayed dates.
Zobrazit stránku 693
1 2 ... 689 690 691 692 693 694 695 696 697 698 699 ... 941 942

Komentáře k této Příručce

Žádné komentáře