Das Notes Forum
Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: Don Pasquale am 21.11.02 - 13:45:56
-
Hallo Leute,
ich benötige eine Inputbox, so weit so gut,
aber ich hätte gerne eine Meldung ausgegeben, die
mehr als nur 2 Zeilen nutzt.
Gebe ich dies ein, wird "Zeile2" nicht mehr ausgegeben, es wird von der Inputzeile verschluckt :
Desweiteren scheinen iPosX% und iPosY% keinen einfluß auf die Position der Box zu haben.
Aufforderung$ = "Bitte geben Sie etwas ein !" & CHr$(10) & "Zeile1" & Chr$(10) & "Zeile2"
Fenstertitel$ = "Inputboxvorlage"
Texteintrag$ = "Dieser Text steht schon da"
iPosX% = 7
iPosY% = 5
MELDUNG$ = Inputbox$(Aufforderung$,Fenstertitel$,Texteintrag$, iPosX%,iPosY%)
Wie schaffe ich es mehr als 2 zeilen auszugeben ?
Wieso verändert sich die Position der Box nicht ?
Ciao
Don Pasquale
-
... so weit ich das weiß, geht Mehrzeiligkeit bei Inputbox nicht...
Vielleicht kannst du innerhalb Notes auf eine DialogBox ausweichen...
ata
-
Hallo Ata,
danke, das habe ich befürchtet.
Ciao
Don Pasquale
Weiss jemand was über die Positionsangabe ?
-
... das sagt die Hilfe:
xpos
Optional. A numeric expression that specifies the horizontal distance, in units of 1 pixel, between the left edge of the dialog box and the left edge of the display screen. If you omit xpos, the distance is 0. If you specify xpos, you have to specify ypos as well.
ypos
Optional. A numeric expression that specifies the vertical distance, in units of 1 pixel, between the top edge of the dialog box and the top edge of the screen. If you omit ypos, the distance is 0. If you specify ypos, you have to specify xpos as well.
ata
-
Sorry Ata,
da hätte ich mich genauer ausdrücken sollen.
bei obigen Beispiel kann ich für xpos und ypos
eingeben was ich will, die position der box
verändert sich nicht.
ciao
Don Pasquale
-
... Sorry, ich habs noch nie verwendet...
ata