B
Brian Henry
Say I put an item into a panel and place it onto a form, and I want to know
where on the form the item is in X,Y positions... but If I check the
location property of the item in the panel, that is relative to the X,Y
cordinates (0,0) of the panel, not of the form. How would I know where the
item is on the entire form even though it is in a panel?
Like if the panel is 10 from left and 10 from top of the form, and I place a
textbox in the panel at 10 from its left and 10 from its top, the textbox's
location is listed as (10,10) even though it is (20,20) relative to the
form.
How would I get that 20,20 location instead of the one relative to its
parent container? thanks!
where on the form the item is in X,Y positions... but If I check the
location property of the item in the panel, that is relative to the X,Y
cordinates (0,0) of the panel, not of the form. How would I know where the
item is on the entire form even though it is in a panel?
Like if the panel is 10 from left and 10 from top of the form, and I place a
textbox in the panel at 10 from its left and 10 from its top, the textbox's
location is listed as (10,10) even though it is (20,20) relative to the
form.
How would I get that 20,20 location instead of the one relative to its
parent container? thanks!