473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Rich Text Numbering

171 100+
Hi All
I have a form with richtext memo field.
When I try to do a numbering the lines in the same numbers are shown as below.
1.This is a long line which shows not in an aligned manner as you can see that the text in the next line is below the number but I want to show that below the previous lines text.
2.This is a second line but it is not extended upto another line.
3.This is also a long line which will also shows the same way how the first line was showing so and after doing the numbering I cannot keep the cursor at the beginning of the line try moving the line with the space bar. Is ther a way we can do the desired result by selecting all the text in this memo field and do a numbering or bulleting same as in MS word.
The result I am looking is as below:
  1. This is a long line which shows in an aligned manner as you can see that the text in the next line is below the previous lines text not same as the line 1 i have posted above.
Hope I have explained correctly
Feb 9 '15 #1
9 1512
jforbes
1,107 Expert 1GB
I think that is just the way a TextBox handles HTML. You could try using an ActiveX control like a Microsoft Web Browser or creating a Custom Control in .NET, but I wouldn't recommend it.
Feb 9 '15 #2
rajeevs
171 100+
Thank you jforbes.
Is there any other approach?
Feb 10 '15 #3
jforbes
1,107 Expert 1GB
The only other way I can think of doing this kind of depends on what your data looks like. You could drop the HTML approach and split the TextBox into two side-by-side TextBoxes; one for the Number and the second for the Text. As long as your field doesn't have any or have a lot of HTML in it, it wouldn't be that hard to split the Number and Text.
Feb 10 '15 #4
rajeevs
171 100+
Dear jforbes
The problem is that the memo field is meant to be as part of a single record. So when printed in a report it should show as same record and store in the table also as single record. Any thoughts?
Feb 12 '15 #5
Rabbit
12,516 Expert Mod 8TB
There's nothing preventing you from storing it as multiple records but presenting it as if it were a single record. In fact, it's preferable because it normalizes the data.
Feb 12 '15 #6
jforbes
1,107 Expert 1GB
I agree with Rabbit, it would give you a tighter control of the data.

You could attempt to split the data and parse out the bullets and text when you are outputting it, but it will give you a major headache and I doubt you will ever be satisfied with your results. I really, really don't recommend this.
Feb 12 '15 #7
twinnyfo
3,653 Expert Mod 2GB
rajeevs,

When I use the numbering format tool in my memo text boxes (with rich text) I get your desired effect. Are you trying to do something different?
Feb 19 '15 #8
TheSmileyCoder
2,322 Expert Mod 2GB
@Twinnyfo
Odd. When I do numbering in my rich text memo field I do NOT get the desired effect. The line(s) following the first does not get indented and starts under the numbers. I do agree that it doesn't look all that neat.
Feb 21 '15 #9
twinnyfo
3,653 Expert Mod 2GB
All,

I stand corrected. I "mis-remembered" how my listing worked. It indents the entire line, but wraps to where the number is indented to.
Feb 24 '15 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Alfredo Agosti | last post by:
Hi folks, I have an Access 2000 db with a memo field. Into the memo field I put text with bold attributes, URL etc etc What I need to to is converting the rich text contained into the memo...
1
by: PC User | last post by:
I found this Rich Text Editor and I've been trying to recreate it in my own application. I've had trouble with the COMCTL.ImageListCtrl and the COMCTL.Toolbar to recreate the toolbar. And I've...
0
by: raj | last post by:
Hello , I have a problem, rich text bullets are not displayed in Crystal report. Environment : VS .NET 2003 CrystalDecisions.CrystalReports.Engine Version 9.1.5000.0 ( it came with ..NET...
1
by: Peter | last post by:
I have written a small terminal app that reads and writes to the serial port. In particular as the data is read from the serial port it is appended to the rich text box. The problem I am...
0
by: ray well | last post by:
hi, my app has two parallel rich text boxes containing the same content in 2 different languages. the lines parallel each other, line #3 in english contains the same content as line #3 in...
1
by: tomi.trescak | last post by:
Hi I have a problem with storing rich text in MySQL. I store rich text in MySQL (in column with type "text") which i get from Rich Textbox control. When i do reverse processing by trying to...
9
by: Neil | last post by:
I need to implement a rich text box in an MDB file for a user base that consists of Access 2000 and Access 2002. Unfortunately, I'm using Access 2003 on my development machine. My understanding is...
5
by: ARC | last post by:
Just found out something interesting with Access 2007... In table design, if you set a memo field to the new rich text option, and put that control on a form, set the control to rich text, you can...
4
by: Neil | last post by:
Just found out that the Microsoft Rich Textbox does not support full text justification, since it's based on Version 1.0 of the RichEdit Window Class, and full text justification is only available...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.