I want to set a forms location in the lower righthand corner to pop up and display information like how nortons antivirus 2004 and other applications display info there. I cannot get it to set the location???
here is my code...
Private sub form1_load
dim alertpop as new frmAlert
Dim SWidth as int16 = system.windows.forms.form.primaryscreen.bounds.width
Dim SHeight as int16 = system.windows.forms.form.primaryscreen.bounds.height
dim locx as int16
dim locy as int16
locx = swidth - 152
locy = sheight - 160
alertpop.location.x.equals(xloc)
alertpop.location.y.equals(yloc)
alertpop.show
end sub
the form always looks at the location properties value
x = 0
y = 0
or whatever else i change it to before i run it. how do i set the position while it is running?
TIA
JT
here is my code...
Private sub form1_load
dim alertpop as new frmAlert
Dim SWidth as int16 = system.windows.forms.form.primaryscreen.bounds.width
Dim SHeight as int16 = system.windows.forms.form.primaryscreen.bounds.height
dim locx as int16
dim locy as int16
locx = swidth - 152
locy = sheight - 160
alertpop.location.x.equals(xloc)
alertpop.location.y.equals(yloc)
alertpop.show
end sub
the form always looks at the location properties value
x = 0
y = 0
or whatever else i change it to before i run it. how do i set the position while it is running?
TIA
JT