Domino 9 und frühere Versionen > ND6: Entwicklung

Lotus Notes Attachment vs Embedded Object

<< < (2/2)

m3:
Right. Thanks. I shouldn't post inbetween two code reviews. ;)

flaite:

--- Zitat von: koehlerbv am 07.01.08 - 16:32:22 ---No, you can't use such a construct: NotesRichTextItem.EmbedObject expects a constant of type integer as the first parameter. You can't replace it with a method of the class NotesRichtextItem.

Nevertheless, I can't see any reason in this code why instead of the desired attachments an embedded object is created. Sorry.

Bernhard

--- Ende Zitat ---
Ok, this is actually the notes Java api, where constants are implemented as final static class members. Anyway, in LotusScript its better to use the EMBED_ATTACHMENT constant instead of the magic number.
See designer help for the <notesRichTextItem>.EmbedObject. 

Navigation

[0] Themen-Index

[*] Vorherige Sete

Zur normalen Ansicht wechseln