Das Notes Forum

Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: Alexis am 04.01.05 - 14:03:45

Titel: Auswahl treffen von Stringelementen in Script
Beitrag von: Alexis am 04.01.05 - 14:03:45
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



Titel: Re: Auswahl treffen von Stringelementen in Script
Beitrag von: umi am 04.01.05 - 14:08:21
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
sollte ungefähr  funktionieren

gruss umi
Titel: Re: Auswahl treffen von Stringelementen in Script
Beitrag von: Alexis am 04.01.05 - 14:26:08
Hallo UMI,

wie so oft ist das Forum eine effektive Hilfe!

Danke