Results 1 to 5 of 5

Thread: [RESOLVED] How do we replace boring Bullets with Numbers, like MSWord can?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2008
    Posts
    79

    Resolved [RESOLVED] How do we replace boring Bullets with Numbers, like MSWord can?

    I currently use boring bullets in my RTB application but I would really love it if I could implement numbered Bullets. IE: 1)

    My boring code is as follows:

    Code:
    Private Sub cmdBullet_Click()
        If rtbEditBox.SelBullet = False Then
            'Sets the bullet's Indention
            rtbEditBox.BulletIndent = 200
            'Makes the Bullet Appear
            rtbEditBox.SelBullet = True
            rtbEditBox.SetFocus
        'Remove the Bullet mark
        ElseIf rtbEditBox.SelBullet = True Then
            'Removes the Bullet
            rtbEditBox.SelBullet = False
            rtbEditBox.SetFocus
        End If
    End Sub
    Got any clever ideas my fellow geeks?

    Much appreciated,
    Azeccia

  2. #2
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: How do we replace boring Bullets with Numbers, like MSWord can?

    You could learn a lot from this RTB program
    http://www.planet-source-code.com/vb...xtCodeId=69067
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2008
    Posts
    79

    Re: How do we replace boring Bullets with Numbers, like MSWord can?

    Thanks for the help.

    Any guess on this?

    Quote Originally Posted by isnoend07
    You could learn a lot from this RTB program
    http://www.planet-source-code.com/vb...xtCodeId=69067
    Isnoed07,

    I checked out IQ Wordpad as you suggested but unfortunately it left me puzzled on a different concern I have developed...

    In the IQWordpad it uses cmDlg.Color = Text1.SelColor

    But what I need to know is what is the colorsyntax that the cmDlg is sending when a user selects a color?

    Or rather, what is the syntax to change a rtb.SelColor?

    I already tried rtb.SelColor = Red but to no avail =(

    I appreciate all of your time and efforts,
    Azeccia
    Last edited by Azeccia; Mar 9th, 2008 at 11:29 PM.

  4. #4
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: How do we replace boring Bullets with Numbers, like MSWord can?

    try
    rtb.SelColor = vbRed or vbblue
    or
    rtb.SelColor = RGB(209, 0, 0)
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2008
    Posts
    79

    Re: How do we replace boring Bullets with Numbers, like MSWord can?

    Thank you once again isnoend07 =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width