Normal Topic Help with Formating text box for notes (Read 968 times)
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Help with Formating text box for notes
Jan 8th, 2004 at 10:12pm
Print Post Print Post  
How do you recommend controlling a text box for continuing notes?

I created a layout element called BasicNotes
I then put that field on a tab. I made it rather large.

When I tried entering data, I was expecting that the text would wrap when I got to the edge of the element box but it actually keeps going on the same line (silly me this is not Q&A for windows) So I looked in my handy dandy Sesame Manuals and I came up with the @fedit command.

I created a command button and tried having that take me to the basic notes field and then open up the field editor box.

Goto basicnotes

     
     @fedit

This did not work so I thought I would try something like the example on page 87 of  the programming guide and this did not work for me either.

Var vbasn as char

Goto basicnotes
Vbasn = "y"
     
     if vbasn = "y"  then
{
            @fedit
}

I have no problem getting the @fedit box to open but even when I save to element and exit my data is not visible.

Thoughts ????
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Help with Formating text box for notes
Reply #1 - Jan 8th, 2004 at 10:39pm
Print Post Print Post  
Quote:
I created a layout element called BasicNotes
I then put that field on a tab. I made it rather large.

When I tried entering data, I was expecting that the text would wrap when I got to the edge of the element box but it actually keeps going on the same line (silly me this is not Q&A for windows)


Use a multiline layout element. They word wrap by default. To make a multiline by typing on the form use "<" where you would normally use ":". To make one using the propert editor: make a normal text box and then set its property to multiline in the property editor. Its under the "Text" tab, and remember to select "text" instead of "label" in the "Set" pulldown to enable the "multiline" choice.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
BOBSCOTT
Senior Member
Members
*****
Offline


That Darn Computer #$X#
{curse words}

Posts: 1195
Joined: Nov 22nd, 2002
Re: Help with Formating text box for notes
Reply #2 - Jan 8th, 2004 at 10:54pm
Print Post Print Post  
Thank you, Thank you, Thank you.  Cheesy

It is great having a toolbox full of great features in Sesame.(The good part)

It just takes some time for some of us to learn and remember all the fine details on how to use them.  Shocked (the bad part)
  

Team – Together Everyone Achieves More
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Help with Formating text box for notes
Reply #3 - Jan 8th, 2004 at 11:25pm
Print Post Print Post  
The problem you were having with @fedit has nothing to do with @fedit. You just found a bug where the ON ENTER / EXIT events do not fire if you are moving focus from or to a tab page. This is not to be confused with moving focus from element to element on a tab page.

Found and fixed. Thank you.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged