|
Home > Archive > Programming with dBASE > October 2005 > Email formats
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I need to set up an email system which can use text email or formatted html email.
With text email I know I should be able to use a standard editor control on a form, with the email text stored in a memo field. I’m unclear on how to set up a way for users to construct a fancier, formatted email which would have to be stored in html for
mat.
I know html is just text, so I could store the email in a memo field. but my concern is how to allow users to easily edit the html email.
MS Word seems to be able to construct and edit an html document in a user friendly way, i.e., not showing html code but letting user make bold, italic, etc. text and add colors. Would this be a good way to go?
Any ideas very much appreciated. Thanks,
Rick
| |
| Ken Mayer [dBVIPS] 2005-10-07, 3:26 am |
| Rick wrote:
> I need to set up an email system which can use text email or formatted html email.
>
> With text email I know I should be able to use a standard editor control on a form, with the email text stored in a memo field. I’m unclear on how to set up a way for users to construct a fancier, formatted email which would have to be stored in html f
ormat.
>
> I know html is just text, so I could store the email in a memo field. but my concern is how to allow users to easily edit the html email.
>
> MS Word seems to be able to construct and edit an html document in a user friendly way, i.e., not showing html code but letting user make bold, italic, etc. text and add colors. Would this be a good way to go?
>
> Any ideas very much appreciated. Thanks,
Ronnie has been working on an HTML version of the dBASE editor that
mostly works pretty well. You might check threads here ...
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
|
| Ken,
Boy that would be outstanding. Will do some searching.
Thanks,
Rick
Ken Mayer [dBVIPS] Wrote:
> Rick wrote:
format.[color=darkred]
>
> Ronnie has been working on an HTML version of the dBASE editor that
> mostly works pretty well. You might check threads here ...
>
> Ken
>
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase
| |
|
| Ken,
Tried searching here and other ng with no luck. Any more info you can give me to locate Ronnie's work on this?
Thanks,
Rick
Ken Mayer [dBVIPS] Wrote:
> Rick wrote:
format.[color=darkred]
>
> Ronnie has been working on an HTML version of the dBASE editor that
> mostly works pretty well. You might check threads here ...
>
> Ken
>
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase
| |
| Ken Mayer [dBVIPS] 2005-10-07, 3:26 am |
| Rick wrote:
> Ken,
>
> Tried searching here and other ng with no luck. Any more info you can give me to locate Ronnie's work on this?
The heading is something odd that doesn't sound like it's related ...
the thread was started by me.
I believe it was the thread "Editor Object -- Selected Text?" ... my
newsgroup viewer is dropping parts of threads older than some number of
days ...
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
|
| Ken,
I found your starting post Sept 8 titled HTML Editor, but could not find any responses. Also found 9/13 response with title "Editor Object -- Selected Text?" but no other matching entries. Could not find any posts by Ronnie in last few weeks.
Went back to August and could not find any posts by Ronnie. Do you think it was in that Sept 8 time frame?
Sorry to be a pest,
Rick
Ken Mayer [dBVIPS] Wrote:
> Rick wrote:
>
> The heading is something odd that doesn't sound like it's related ...
> the thread was started by me.
>
> I believe it was the thread "Editor Object -- Selected Text?" ... my
> newsgroup viewer is dropping parts of threads older than some number of
> days ...
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase
| |
| Ronnie MacGregor 2005-10-07, 3:26 am |
| In article <48BmR1HyFHA.1304@news-server>, Sportman7@netzero.net says...
> Any more info you can give me to locate Ronnie's work on this?
You called ? <g>
http://www.dbasedeveloper.co.uk/rmH...mHTMLeditor.htm
--
Ronnie MacGregor
Scotland
| |
| Ken Mayer [dBVIPS] 2005-10-07, 3:26 am |
| Rick wrote:
> Ken,
>
> I found your starting post Sept 8 titled HTML Editor, but could not find any responses. Also found 9/13 response with title "Editor Object -- Selected Text?" but no other matching entries. Could not find any posts by Ronnie in last few weeks.
>
> Went back to August and could not find any posts by Ronnie. Do you think it was in that Sept 8 time frame?
I am sure I was dealing with it here. Sigh. Anyway, I see Ronnie posted
the URL to the download.
I am sure he'd appreciate some debugging assistance -- I know there are
things that I haven't had much time to tinker with ...
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
|
| Ronnie,
Thanks. Will definitely take a look.
Rick
Ronnie MacGregor Wrote:
> In article <48BmR1HyFHA.1304@news-server>, Sportman7@netzero.net says...
>
>
> You called ? <g>
>
> http://www.dbasedeveloper.co.uk/rmH...mHTMLeditor.htm
>
> --
> Ronnie MacGregor
> Scotland
| |
|
| Hi there Ronnie,
Nice work you did on this. There are a few issues that would be a problem for my user population tho, and maybe you can let me know if you are still working on these.
- When you tag selected text, the only way to untag it is to untag the entire contents of the editor. E.G., if you tag some text as italic, other text as bold, other text as underline, then change your mind and wish remove the italic from some text you m
ust delete and retype and retag the italic text or remove all the text attributes from all text and start over. Maybe a button to untag the selected text (actually might be labeled Normal Text) would let you undo tagging for a section of text?
- I think the known issue “when the first word on any line other than the top line is tagged then the editor control strips out a space character when the tagging is done” goes further in that it also eliminates all the carriage returns from all lines. E
.G., put some carriage returns in sample text, select one of the lines and make it bold. This fails to tag the text. Try again, and this sets text to bold while also removing all the carriage returns in all lines.
This goes a bit further. If you select text for an entire line, try to make it italic, it fails the first time. Go to another line, try to make it italic, it succeeds, but it also removes all carriage returns from all lines.
Was wondering if you are still working on this or is it like some of my projects on the back burner? Sure would be a great control to have for an email app I am trying to put together.
Thanks,
Rick
Ronnie MacGregor Wrote:
> In article <48BmR1HyFHA.1304@news-server>, Sportman7@netzero.net says...
>
>
> You called ? <g>
>
> http://www.dbasedeveloper.co.uk/rmH...mHTMLeditor.htm
>
> --
> Ronnie MacGregor
> Scotland
| |
| Ronnie MacGregor 2005-10-12, 11:24 am |
| In article <T1rNZhTyFHA.1304@news-server>, Sportman7@netzero.net says...
Hi Rick
> Nice work you did on this.
Thanks,... I wish I felt the same, the dBASE editor is not a "developer
friendly" control <g>.
> When you tag selected text, the only way to untag it is to untag the
> entire contents of the editor.
> Maybe a button to untag the selected text
> (actually might be labeled Normal Text) would let you undo tagging
> for a section of text?
OK. This is a good idea, I think I will change the "erase" button to
detag selected text if there is text selected, or detag the whole lot if
no text is selected.
>
> - I think the known issue ?when the first word on any line other than
> the top line is tagged then the editor control strips out a space character
> when the tagging is done? goes further in that it also eliminates all
> the carriage returns from all lines. E.G., put some carriage returns
> in sample text, select one of the lines and make it bold. This fails
> to tag the text. Try again, and this sets text to bold while also
> removing all the carriage returns in all lines.
>
> This goes a bit further. If you select text for an entire line,
> try to make it italic, it fails the first time. Go to another line,
> try to make it italic, it succeeds, but it also removes all carriage
> returns from all lines.
<Sigh> . . .
I think I need to look at taking a different approach to the tagging
entirely, and do it by reconstructing three part strings outside the
editor environment.
I'll get to it at some point.
> Was wondering if you are still working on this or is it like some
> of my projects on the back burner? Sure would be a great control
> to have for an email app I am trying to put together.
It always was on the back burner <g>, but it is just a beta, and will
remain so until these problems are ironed out.
I'll post back here when there is an update.
--
Ronnie MacGregor
Scotland
www.dBASEdeveloper.co.uk
| |
|
| Hi Ronnie,
This could be a very useful control and it looks like you have a good start. If I read that right, I like your idea of taking the text outside the editor environment then putting the text back with the tags. Sounds like that might overcome the dbase edit
or control limitations.
Will be looking forward to any improvements you make.
Thanks,
Rick
Ronnie MacGregor Wrote:
> In article <T1rNZhTyFHA.1304@news-server>, Sportman7@netzero.net says...
>
> Hi Rick
>
>
> Thanks,... I wish I felt the same, the dBASE editor is not a "developer
> friendly" control <g>.
>
>
>
> OK. This is a good idea, I think I will change the "erase" button to
> detag selected text if there is text selected, or detag the whole lot if
> no text is selected.
>
>
> <Sigh> . . .
> I think I need to look at taking a different approach to the tagging
> entirely, and do it by reconstructing three part strings outside the
> editor environment.
>
> I'll get to it at some point.
>
>
> It always was on the back burner <g>, but it is just a beta, and will
> remain so until these problems are ironed out.
>
> I'll post back here when there is an update.
>
> --
> Ronnie MacGregor
> Scotland
>
> www.dBASEdeveloper.co.uk
|
|
|
|
|