Results 1 to 9 of 9

Thread: [RESOLVED] MDI Toolbars

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2003
    Location
    Deer Park, NY
    Posts
    113

    Resolved [RESOLVED] MDI Toolbars

    Hi, I am fairly new at programming but I have been learning by examining samples and make my self utilities insted of downloading them. BTW it's safer too. Anyways I need to know where I can find a MDI Sample with pre-made toolbars. I know how to use the VB Application Wizard and it almost covers all of what I need, but it doesn’t cover the formatting toolbar options (text font, size, color...). I would like a tool bar similar to the MS Word or WordPad toolbars. So if could get the sample, the hard part of my utility will be done. Thank you for your help.

    This is mine:


    But this is what I need:


    Thanks again, and BTW if anyone was a working sample of a coolbar, I would greatly appreciate it as well.
    Last edited by BKSwindell; Oct 14th, 2008 at 03:14 PM.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Sep 2003
    Location
    Deer Park, NY
    Posts
    113
    Even if someone has the sample code for MS WordPad it would help.

  3. #3
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    couldn't you place another toolbar on your MDI form, and add comboboxes on it?
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Sep 2003
    Location
    Deer Park, NY
    Posts
    113
    Ok, let’s work from there. How do I load the Font List in one, available Font Sizes for selected font in another, the Styles in one, and finaly the Font Colors in a drop down button with the color previewed? Thanks Again
    Last edited by BKSwindell; Sep 7th, 2003 at 08:25 AM.

  5. #5
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192
    What do you exactly want? We are currently working with something similar... So if you were kind enough to explain me again your needs I might be able help you.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  6. #6
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192
    Anyway, to Get the Fonts into a ComboBox try:

    VB Code:
    1. Public Sub SetFontList(inControl As Control)
    2. 'Designed for Controls with List and Text Properties
    3. Dim i As Integer
    4.  
    5. inControl.Clear
    6.  
    7. For i = 0 To Screen.FontCount - 1
    8.  inControl.AddItem Screen.Fonts(i)
    9. Next i
    10.  
    11. inControl.Text = inControl.List(0)
    12. End Sub

    That's what I thought about... But I can't find how to get the size, of every font, though...
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  7. #7

    Thread Starter
    Lively Member
    Join Date
    Sep 2003
    Location
    Deer Park, NY
    Posts
    113
    Thanks, I got every thing but the color menus.
    Last edited by BKSwindell; Oct 14th, 2008 at 03:14 PM.

  8. #8
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192
    Ok, give me a moment to check that... I think I can solve that.
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

  9. #9
    Frenzied Member Tec-Nico's Avatar
    Join Date
    Jun 2002
    Location
    México
    Posts
    1,192
    Here you are, as promised:
    Attached Files Attached Files
    We miss you, friend... Rest in Peace, we will take care of the rest of it.

    [vbcode]
    On Error Me.Fault = False
    [/vbcode]
    - Silence is the human way to share ignorance
    Tec-Nico

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