G
Guest
Hi,
I'm trying to move a form while shown changing it's location or top,left
properties without results. I'm doing a simple loop like this (VB):
Dim r as integer
dim frm as new Form1
frm.top=600
frm.left=100
frm.show()
for r= 600 to 0 step -1
frm.top=r
application.DoEvents()
Next
This code executes from a button in other form and don't works. I have tried
insertting a delay inside the loop without success. Sometimes I get strange
behavior, like the form doing partially a movement, then dissapearing...
How should I do this?
TIA
Pucara.
I'm trying to move a form while shown changing it's location or top,left
properties without results. I'm doing a simple loop like this (VB):
Dim r as integer
dim frm as new Form1
frm.top=600
frm.left=100
frm.show()
for r= 600 to 0 step -1
frm.top=r
application.DoEvents()
Next
This code executes from a button in other form and don't works. I have tried
insertting a delay inside the loop without success. Sometimes I get strange
behavior, like the form doing partially a movement, then dissapearing...
How should I do this?
TIA
Pucara.