Das Notes Forum

Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: Don Pasquale am 21.11.02 - 13:45:56

Titel: Inputbox mit mehrzeiliger Meldung
Beitrag 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
Titel: Re:Inputbox mit mehrzeiliger Meldung
Beitrag von: ata am 21.11.02 - 13:49:08
... so weit ich das weiß, geht Mehrzeiligkeit bei Inputbox nicht...
Vielleicht kannst du innerhalb Notes auf eine DialogBox ausweichen...

ata
Titel: Re:Inputbox mit mehrzeiliger Meldung
Beitrag von: Don Pasquale am 21.11.02 - 13:59:48
Hallo Ata,

danke, das habe ich befürchtet.

Ciao
Don Pasquale


Weiss jemand was über die Positionsangabe ?
Titel: Re:Inputbox mit mehrzeiliger Meldung
Beitrag von: ata am 21.11.02 - 14:03:34
... 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
Titel: Re:Inputbox mit mehrzeiliger Meldung
Beitrag von: Don Pasquale am 21.11.02 - 14:20:44
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
Titel: Re:Inputbox mit mehrzeiliger Meldung
Beitrag von: ata am 21.11.02 - 14:24:50
... Sorry, ich habs noch nie verwendet...

ata