• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

richtextbox selbullet problem

Hi experts
When i save a rtb with a bulleted list everything is fine until i reopen this file.
when i reopen i have a few very small bullets on the next line after the bulleted list.
What are these? And do i remove thwm?
Thank you
1 Solution
We have been unable to come up with a solution thus far:


isnoend2001Author Commented:
Thganks for your reply Burbble
 used part of your code and think i have come up with a descent hack

Dim lPos As Long
lPos = InStrRev(rtbMain.Text, vbCrLf) 'This procedure selects the last line in rtb
      If lPos > 0 Then lPos = lPos + 1
        rtbMain.SelStart = lPos
        rtbMain.SelLength = Len(rtbMain.Text) - lPos
        rtbMain.SelText = Replace(rtbMain.SelText, Chr$(183) & Chr$(9), "")
        rtbMain.SelStart = Len(rtbMain.Text)
need to test

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now