As a follow up, I have been able to set a new instance of a control and successfully used the following code to determine the name of a control:
Dim ctrCurr As New Control
ctrCurr = Form.ActiveForm .ActiveControl
The problem is that my pictureboxes are sitting in a panel of a split container control on the form, and all the Name property is returning is the Name of the split container itself. How do I drill down...
User Profile
Collapse
-
Determining a Control's Properties on MouseHover Event
Hi All,
Using VB.Net with SQL Server. I have a form that I create a number of Picture Boxes on dynamically, based on a stored procedure that retrieves a listing of images available for a particular product and populates the picture boxes using the paths found by the stored procedure. Anyway, that part works great.
I have the Picture Boxes set a 231 px wide by 231 px high, and I want to resize these in a separate box...
No activity results to display
Show More
Leave a comment: