Should be an easy question for someone in the know. I'm lost though.
I need to find out the filepath of the background image in a picturebox, does anyone know how to do this?
User Profile
Collapse
-
Background image filepath vb.net
-
Thank you Munawar. I'm looking at it now and it seems very helpful. -
Subroutine 'sender' queries vb.net
I understand that if i call a subroutine from a control the subroutine refers to the control that called it using sender. What i don't understand however is how exactly to implement this...
Say for instance i have the code below, which creates a dynamic textbox or a dynamic picturebox with the handler of check_click.
Code:Public Sub doall_click(ByVal sender As Object, ByVal e As EventArgs) If Tool
-
Alcestis replied to Organising controls in layers (As in photoshop or other graphics programs) vb.netin .NETDoes anybody know if z ordering can be used to get around this problem? I've looked at it and it seems its limited..only having sendtofront and sendtoback....o kay if you have two...but for 20 controls...not really what i need.
Anyone have any hints on this?Leave a comment:
-
Alcestis replied to Organising controls in layers (As in photoshop or other graphics programs) vb.netin .NETI could really do with some help on this one, i cant work it out myself.Leave a comment:
-
Thank you, ill make each control run a sub procedure under their mouseover events.Leave a comment:
-
Detecting name of control under cursor vb.net
Does anyone know how its possible to detect the name of the control currently under the mouse cursor? -
Alcestis started a topic Organising controls in layers (As in photoshop or other graphics programs) vb.netin .NETOrganising controls in layers (As in photoshop or other graphics programs) vb.net
I'm really stuck on this one.
The problem is that i need to have controls on separate 'layers' i.e. place controls over or under other controls or between two controls. (The program is designed to create GUI layouts for a separate program also written in vb.net)
At first i tried doing this with panels, having dynamically created panels positioned over each other...the problem with this being that panels cannot be 'truly'... -
addhandler not working? Vb.net
For some reason i cannot understand, i cannot add a click event to these dynamically made panels. I have included my relevant code below...any help would be great.
Code:Public Sub addlayer() 'make space ReDim Preserve dynpan(intlayer) 'create new panel and define propeties dynpan(intlayer) = New Panel Me.Controls.Add(dynpan(intlayer))
-
It sounds obvious when you put it like that, thank you!
Don't worry about the UI...the program sort of allows users to make their own UIs for a different program. Layers are needed in case they want to put a label on top of an image and so on.Leave a comment:
-
Creating control 'Layers' in vb.net
Hi...i was wondering if i could have any help or ideas on creating control layers in vb.net. By this i mean being able to set a control as 'Layer3' and that control being above all controls on layers one and two.
Any help would be great! -
-
Deleting one of many dynamically created textbox on click .Net
Any help would be greatly appreciated. My problem is as follows:
I have a program that dynamically creates any control (picture boxes, text boxes etc) on a panel, i want to be able to delete these controls by clicking on a 'Trash' button and then on the control i wish to delete. Try as i might i cant do it!
The relevant code is as follows:
Code:[U]'This creates the textboxes and[/]
No activity results to display
Show More
Leave a comment: