Apple Newton Utilities Guia do Utilizador Página 694

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 693
1 2 ... 689 690 691 692 693 694 695 696 697 698 699 ... 941 942

Comentários a estes Manuais

Sem comentários