#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    245
    Rep Power
    16

    How to make the border of all objects black when you select it with a mouse to move i


    Visual Basic 5.0

    How to make the border of all objects black when you select it with a mouse to move it or when you draw it ?
    =================================

    I am on a form. When I draw a text box, or any other objects on the form, while holding the mouse down, the border lines of these objects are all transparent and therefore I cannot line these objects up properly.

    The Background color on my form is the default light grey (&H8000000F&).

    The Fillcolor on my form is the default &H00000000&

    The Default Forecolor on my form is &H80000012&

    The Background Style is transparent. I did change this to opaque, but it does not help.

    1) How do I make the border line of all objects to show up as black when I draw any object or select it to move it ?
  2. #2
  3. Inherits Programmer.Slacker
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Aug 2003
    Location
    Between my Id and your Ego
    Posts
    2,351
    Rep Power
    0
    Why don't you use the "Align to Grid" property for the form. That way, you're assured that the controls will be in line

IMN logo majestic logo threadwatch logo seochat tools logo