Results 1 to 5 of 5

Thread: Bold Italic Underline Button

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2010
    Posts
    2

    Bold Italic Underline Button

    Hi

    In my Today Visual basic 6 class my teacher told me to make bold, italic, underline. He Teach my how these will work with ComboBox but now he has given me assignment to do it with Command Button and ListBox

    I have successfully completed it with ListBox but I dont know what should I do with CommandButton

    After thinking of some hour and online searches I have gave up. I hope you guys will help me.


    I have also Attached My Assignment So you guys will also know what im Asking...


    Thank you very much.
    Attached Files Attached Files

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Bold Italic Underline Button


  3. #3
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Bold Italic Underline Button

    Hi Mahaj... Welcome to the forums...

    Inside the Click event of the button for Bold, write the line to make the label box bold. Like this, do the rest, ie. italics and underline, to the respective button's click events.

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2010
    Posts
    2

    Re: Bold Italic Underline Button

    Thank you very much for the help

    I have Successfully made "B" and "i" Button (function Properly) but "U" is not working good.. I have checked it and tried everything but nothing works..

    Once again I have attached my Updated those files..
    Attached Files Attached Files

  5. #5
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Bold Italic Underline Button

    You have misspelled the name of the Labelbox in Command3 as label3. It should be label2

    And I don't think there's a need of those if conditions for each button !

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

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