Results 1 to 4 of 4

Thread: [VB6] IconTextBox

Threaded View

  1. #1

    Thread Starter
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    [VB6] IconTextBox

    This is a very simple component that adds an icon to the classic TextBox. Size of the icon is 24x24.

    Besides the standard events and properties you have the Icon property to set the icon itself. You also have IconClick and IconDblClick events that will be reaised if the icon is clicked. Standard Click/DblClick events apply to the textbox itself.

    Because the icon is a picturebox superimposed on the textbox, the height od the control and therefore textbox are limited to standard size, and there's also no multiline. This doesn't work well with changing font sizes because of that. I whipped this up quickly so it might be added in a future version.

    Any comments are welcome. Enjoy.
    Attached Files Attached Files

Tags for this Thread

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