Domino 9 und frühere Versionen > ND6: Entwicklung

Auswahl treffen von Stringelementen in Script

(1/1)

Alexis:
Hallo Forum,

ich möchte aus einem vorhandenen String (Elemente jeweils getrennt durch CHAR(10)) per Dialogbox eine Auswahl treffen und das per LotusScript.

Gebt mir einen Tipp, wie ich das bewerkstelligen kann.

Alexis



umi:
Naja sowas wie

--- Code: ---dim auswahl as variant
dim antwort as variant
dim uiws as new notesuiworkspace
auswahl = split(meinString,char(10))
antwort = uiws.prompt(PROMPT_OKCANCELLIST,"titel","Prompt","",auswahl)
if antwort <>"" then
'antwort enthält ausgewähltes element
end if

--- Ende Code ---
sollte ungefähr  funktionieren

gruss umi

Alexis:
Hallo UMI,

wie so oft ist das Forum eine effektive Hilfe!

Danke

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln