Multiline EpiTextBox

Ok. I tried that and I was still having the same issue. I pin-pointed the problem: when I click inside the text box (even though it is read-only) I am entering EditMode. I set up an event trigger for the text box for EnterEdit mode and wrote some text to the box after the event and it confirmed my problem. I just need to be able to set the textbox back to multiline after entering edit mode and it should work fine.

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> No, I meant together. Like "Line one" & chr(10) & chr(13) & "Line two".
>
>
>
>
> ________________________________
> From: drew.pete <drew.pete@...>
> To: vantage@yahoogroups.com
> Sent: Wed, December 2, 2009 3:00:45 PM
> Subject: [Vantage] Re: Multiline EpiTextBox
>
> ÂÂ
> By themselves yes. I noticed that if I set the property value of the Textbox "Enabled" to false I don't have any issues. Might be a temporary bandaid. Or alternatively I could dump the text into a label - I just am not sure on how I can align the text to the upper left of the label.
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> >
> > Did you try both a chr(10) and chr(13)?
> >
> >
> >
> >
> > ____________ _________ _________ __
> > From: drew.pete <drew.pete@ ..>
> > To: vantage@yahoogroups .com
> > Sent: Wed, December 2, 2009 2:43:22 PM
> > Subject: [Vantage] Re: Multiline EpiTextBox
> >
> > ÂÂÂ
> > I tried chr(13) and it didn't work but then I tried chr(10) and it worked when the EpiViewNotification event triggered it but when I clicked inside the textbox it is almost looked like it reset the multiline to single line. In the properties for the textbox I have it set to multiline.
> >
> > --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> > >
> > > Yes, it should look something like this:
> > > Control.Text = "Line one~nLine Two"
> > >
> > > Again, I am doing this from memory and I don't think I've done this from a form customization, only from a BPM that droped it directly into the field. So maybe it won't work in a customization. Have you tried inserting a chr(10) & chr(13) or the reverse chr(13) & chr(10)? Is the text box set to multiline?
> > >
> > >
> > >
> > >
> > > ____________ _________ _________ __
> > > From: drew.pete <drew.pete@ ..>
> > > To: vantage@yahoogroups .com
> > > Sent: Wed, December 2, 2009 12:31:30 PM
> > > Subject: [Vantage] Re: Multiline EpiTextBox
> > >
> > > ÂÂÂÂ
> > > This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?
> > >
> > > Thanks,
> > >
> > > Drew
> > >
> > > --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> > > >
> > > > I'm doing this from memory, but I remember I had the same problem.ÃÆ'‚ Don't use ascii codes for the character return, instead use ~n as the new line character.ÃÆ'‚ Its a OpenEdge 4GL coding convention.
> > > >
> > > > ~{ÃÆ'‚ ÃÆ'‚ ÃÆ'‚ =ÃÆ'‚ {
> > > > ~nnn = single character where nnn is an octal value between 000 and 377
> > > > ~tÃÆ'‚ ÃÆ'‚ ÃÆ'‚ ÃÆ'‚ = Tab
> > > > ~rÃÆ'‚ ÃÆ'‚ ÃÆ'‚ ÃÆ'‚ =ÃÆ'‚ Carriage return
> > > > ~nÃÆ'‚ ÃÆ'‚ ÃÆ'‚ ÃÆ'‚ = New line / line feed
> > > > ~EÃÆ'‚ ÃÆ'‚ ÃÆ'‚ ÃÆ'‚ = Escape
> > > > ~bÃÆ'‚ ÃÆ'‚ ÃÆ'‚ =ÃÆ'‚ Backspace
> > > > ~fÃÆ'‚ ÃÆ'‚ ÃÆ'‚ ÃÆ'‚ = Form Feed
> > > >
> > > >
> > > >
> > > > ____________ _________ _________ __
> > > > From: drew.pete <drew.pete@ ..>
> > > > To: vantage@yahoogroups .com
> > > > Sent: Wed, December 2, 2009 11:28:23 AM
> > > > Subject: [Vantage] Multiline EpiTextBox
> > > >
> > > > ÃÆ'‚ÂÂÂÂ
> > > > I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
> > > >
> > > > Thanks,
> > > >
> > > > Drew
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initialize. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?

Thanks,

Drew
I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.

~{Â Â Â =Â {
~nnn = single character where nnn is an octal value between 000 and 377
~t    = Tab
~r    = Carriage return
~n    = New line / line feed
~EÂ Â Â Â = Escape
~b   = Backspace
~f    = Form Feed



________________________________
From: drew.pete <drew.pete@...>
To: vantage@yahoogroups.com
Sent: Wed, December 2, 2009 11:28:23 AM
Subject: [Vantage] Multiline EpiTextBox

Â
I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?

Thanks,

Drew







[Non-text portions of this message have been removed]
This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?

Thanks,

Drew

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.
>
> ~{   = {
> ~nnn = single character where nnn is an octal value between 000 and 377
> ~t    = Tab
> ~r    = Carriage return
> ~n    = New line / line feed
> ~E    = Escape
> ~b   = Backspace
> ~f    = Form Feed
>
>
>
> ________________________________
> From: drew.pete <drew.pete@...>
> To: vantage@yahoogroups.com
> Sent: Wed, December 2, 2009 11:28:23 AM
> Subject: [Vantage] Multiline EpiTextBox
>
> ÂÂ
> I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
>
> Thanks,
>
> Drew
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Yes, it should look something like this:
Control.Text = "Line one~nLine Two"

Again, I am doing this from memory and I don't think I've done this from a form customization, only from a BPM that droped it directly into the field. So maybe it won't work in a customization. Have you tried inserting a chr(10) & chr(13) or the reverse chr(13) & chr(10)? Is the text box set to multiline?




________________________________
From: drew.pete <drew.pete@...>
To: vantage@yahoogroups.com
Sent: Wed, December 2, 2009 12:31:30 PM
Subject: [Vantage] Re: Multiline EpiTextBox

Â
This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?

Thanks,

Drew

--- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
>
> I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.
>
> ~{   = {
> ~nnn = single character where nnn is an octal value between 000 and 377
> ~t    = Tab
> ~r    = Carriage return
> ~n    = New line / line feed
> ~E    = Escape
> ~b   = Backspace
> ~f    = Form Feed
>
>
>
> ____________ _________ _________ __
> From: drew.pete <drew.pete@. ..>
> To: vantage@yahoogroups .com
> Sent: Wed, December 2, 2009 11:28:23 AM
> Subject: [Vantage] Multiline EpiTextBox
>
> ÂÂ
> I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
>
> Thanks,
>
> Drew
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>







[Non-text portions of this message have been removed]
I tried chr(13) and it didn't work but then I tried chr(10) and it worked when the EpiViewNotification event triggered it but when I clicked inside the textbox it is almost looked like it reset the multiline to single line. In the properties for the textbox I have it set to multiline.

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> Yes, it should look something like this:
> Control.Text = "Line one~nLine Two"
>
> Again, I am doing this from memory and I don't think I've done this from a form customization, only from a BPM that droped it directly into the field. So maybe it won't work in a customization. Have you tried inserting a chr(10) & chr(13) or the reverse chr(13) & chr(10)? Is the text box set to multiline?
>
>
>
>
> ________________________________
> From: drew.pete <drew.pete@...>
> To: vantage@yahoogroups.com
> Sent: Wed, December 2, 2009 12:31:30 PM
> Subject: [Vantage] Re: Multiline EpiTextBox
>
> ÂÂ
> This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?
>
> Thanks,
>
> Drew
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> >
> > I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.
> >
> > ~{   = {
> > ~nnn = single character where nnn is an octal value between 000 and 377
> > ~t    = Tab
> > ~r    = Carriage return
> > ~n    = New line / line feed
> > ~E    = Escape
> > ~b   = Backspace
> > ~f    = Form Feed
> >
> >
> >
> > ____________ _________ _________ __
> > From: drew.pete <drew.pete@ ..>
> > To: vantage@yahoogroups .com
> > Sent: Wed, December 2, 2009 11:28:23 AM
> > Subject: [Vantage] Multiline EpiTextBox
> >
> > ÂÂÂ
> > I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
> >
> > Thanks,
> >
> > Drew
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Did you try both a chr(10) and chr(13)?




________________________________
From: drew.pete <drew.pete@...>
To: vantage@yahoogroups.com
Sent: Wed, December 2, 2009 2:43:22 PM
Subject: [Vantage] Re: Multiline EpiTextBox

Â
I tried chr(13) and it didn't work but then I tried chr(10) and it worked when the EpiViewNotification event triggered it but when I clicked inside the textbox it is almost looked like it reset the multiline to single line. In the properties for the textbox I have it set to multiline.

--- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
>
> Yes, it should look something like this:
> Control.Text = "Line one~nLine Two"
>
> Again, I am doing this from memory and I don't think I've done this from a form customization, only from a BPM that droped it directly into the field. So maybe it won't work in a customization. Have you tried inserting a chr(10) & chr(13) or the reverse chr(13) & chr(10)? Is the text box set to multiline?
>
>
>
>
> ____________ _________ _________ __
> From: drew.pete <drew.pete@. ..>
> To: vantage@yahoogroups .com
> Sent: Wed, December 2, 2009 12:31:30 PM
> Subject: [Vantage] Re: Multiline EpiTextBox
>
> ÂÂ
> This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?
>
> Thanks,
>
> Drew
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> >
> > I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.
> >
> > ~{   = {
> > ~nnn = single character where nnn is an octal value between 000 and 377
> > ~t    = Tab
> > ~r    = Carriage return
> > ~n    = New line / line feed
> > ~E    = Escape
> > ~b   = Backspace
> > ~f    = Form Feed
> >
> >
> >
> > ____________ _________ _________ __
> > From: drew.pete <drew.pete@ ..>
> > To: vantage@yahoogroups .com
> > Sent: Wed, December 2, 2009 11:28:23 AM
> > Subject: [Vantage] Multiline EpiTextBox
> >
> > ÂÂÂ
> > I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
> >
> > Thanks,
> >
> > Drew
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>







[Non-text portions of this message have been removed]
By themselves yes. I noticed that if I set the property value of the Textbox "Enabled" to false I don't have any issues. Might be a temporary bandaid. Or alternatively I could dump the text into a label - I just am not sure on how I can align the text to the upper left of the label.

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> Did you try both a chr(10) and chr(13)?
>
>
>
>
> ________________________________
> From: drew.pete <drew.pete@...>
> To: vantage@yahoogroups.com
> Sent: Wed, December 2, 2009 2:43:22 PM
> Subject: [Vantage] Re: Multiline EpiTextBox
>
> ÂÂ
> I tried chr(13) and it didn't work but then I tried chr(10) and it worked when the EpiViewNotification event triggered it but when I clicked inside the textbox it is almost looked like it reset the multiline to single line. In the properties for the textbox I have it set to multiline.
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> >
> > Yes, it should look something like this:
> > Control.Text = "Line one~nLine Two"
> >
> > Again, I am doing this from memory and I don't think I've done this from a form customization, only from a BPM that droped it directly into the field. So maybe it won't work in a customization. Have you tried inserting a chr(10) & chr(13) or the reverse chr(13) & chr(10)? Is the text box set to multiline?
> >
> >
> >
> >
> > ____________ _________ _________ __
> > From: drew.pete <drew.pete@ ..>
> > To: vantage@yahoogroups .com
> > Sent: Wed, December 2, 2009 12:31:30 PM
> > Subject: [Vantage] Re: Multiline EpiTextBox
> >
> > ÂÂÂ
> > This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?
> >
> > Thanks,
> >
> > Drew
> >
> > --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> > >
> > > I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.
> > >
> > > ~{   = {
> > > ~nnn = single character where nnn is an octal value between 000 and 377
> > > ~t    = Tab
> > > ~r    = Carriage return
> > > ~n    = New line / line feed
> > > ~E    = Escape
> > > ~b   = Backspace
> > > ~f    = Form Feed
> > >
> > >
> > >
> > > ____________ _________ _________ __
> > > From: drew.pete <drew.pete@ ..>
> > > To: vantage@yahoogroups .com
> > > Sent: Wed, December 2, 2009 11:28:23 AM
> > > Subject: [Vantage] Multiline EpiTextBox
> > >
> > > ÂÂÂÂ
> > > I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
> > >
> > > Thanks,
> > >
> > > Drew
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
No, I meant together. Like "Line one" & chr(10) & chr(13) & "Line two".




________________________________
From: drew.pete <drew.pete@...>
To: vantage@yahoogroups.com
Sent: Wed, December 2, 2009 3:00:45 PM
Subject: [Vantage] Re: Multiline EpiTextBox

Â
By themselves yes. I noticed that if I set the property value of the Textbox "Enabled" to false I don't have any issues. Might be a temporary bandaid. Or alternatively I could dump the text into a label - I just am not sure on how I can align the text to the upper left of the label.

--- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
>
> Did you try both a chr(10) and chr(13)?
>
>
>
>
> ____________ _________ _________ __
> From: drew.pete <drew.pete@. ..>
> To: vantage@yahoogroups .com
> Sent: Wed, December 2, 2009 2:43:22 PM
> Subject: [Vantage] Re: Multiline EpiTextBox
>
> ÂÂ
> I tried chr(13) and it didn't work but then I tried chr(10) and it worked when the EpiViewNotification event triggered it but when I clicked inside the textbox it is almost looked like it reset the multiline to single line. In the properties for the textbox I have it set to multiline.
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> >
> > Yes, it should look something like this:
> > Control.Text = "Line one~nLine Two"
> >
> > Again, I am doing this from memory and I don't think I've done this from a form customization, only from a BPM that droped it directly into the field. So maybe it won't work in a customization. Have you tried inserting a chr(10) & chr(13) or the reverse chr(13) & chr(10)? Is the text box set to multiline?
> >
> >
> >
> >
> > ____________ _________ _________ __
> > From: drew.pete <drew.pete@ ..>
> > To: vantage@yahoogroups .com
> > Sent: Wed, December 2, 2009 12:31:30 PM
> > Subject: [Vantage] Re: Multiline EpiTextBox
> >
> > ÂÂÂ
> > This customization is on the form. I've tried it in the string but it still won't recognize it. Am I supposed to include it in the string?
> >
> > Thanks,
> >
> > Drew
> >
> > --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...> wrote:
> > >
> > > I'm doing this from memory, but I remember I had the same problem. Don't use ascii codes for the character return, instead use ~n as the new line character. Its a OpenEdge 4GL coding convention.
> > >
> > > ~{   = {
> > > ~nnn = single character where nnn is an octal value between 000 and 377
> > > ~t    = Tab
> > > ~r    = Carriage return
> > > ~n    = New line / line feed
> > > ~E    = Escape
> > > ~b   = Backspace
> > > ~f    = Form Feed
> > >
> > >
> > >
> > > ____________ _________ _________ __
> > > From: drew.pete <drew.pete@ ..>
> > > To: vantage@yahoogroups .com
> > > Sent: Wed, December 2, 2009 11:28:23 AM
> > > Subject: [Vantage] Multiline EpiTextBox
> > >
> > > ÂÂÂÂ
> > > I have a text box that I want to display an address in and am using ascii code for the character return. I have it populating on the event trigger EpiViewNotification -> NotifyType.Initiali ze. It works fine initially but when you click inside the textbox it ignores the character return and/or returns the textbox settings to single line. Any thoughts?
> > >
> > > Thanks,
> > >
> > > Drew
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>







[Non-text portions of this message have been removed]