Apple Newton Utilities User's Guide Page 694

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 693
1 2 ... 689 690 691 692 693 694 695 696 697 698 699 ... 941 942

Comments to this Manuals

No comments