Hi guys I've got a big problem with a simple program because I'm always trying to push my own limits. The program is simply a Form and a Textbox in vb.net 2010. In Properties the Form is borderless and the BackColor is set to yellow. The Forms TransparencyKey is set to yellow. The Textbox's BackColor is also set to yellow. If I add text in the Textbox's properties when the program opens all you see is the text on the desktop. this is all well and good however clicking a blank area inside the text box results in clicking on the desktop. This is not what I want. However if I click within the boundaries of a single character I can get the flashing Ibeam cursor to appear. From this point I can edit, but its very frustrating to find that tiny area inside the characters boundaries.
So my question is, how do I tell the mouse that its inside a Textbox? I want to be able to click on a, lets say a large blank space between characters, and set the cursor there. I realize I've told the Form and Textbox not to be there by making them transparent but I sure hope there is a way to click any where in side the boundaries of the Textbox and produce the cursor or context menu. Thanks for reading this.
So my question is, how do I tell the mouse that its inside a Textbox? I want to be able to click on a, lets say a large blank space between characters, and set the cursor there. I realize I've told the Form and Textbox not to be there by making them transparent but I sure hope there is a way to click any where in side the boundaries of the Textbox and produce the cursor or context menu. Thanks for reading this.