Is there a way to pause code in a form to wait for an on-click event from a button on the same form?
J Jim Pockmire Dec 3, 2006 #1 Is there a way to pause code in a form to wait for an on-click event from a button on the same form?
A Alex Dybenko Dec 3, 2006 #2 Hi, just run a loop, with DoEvents inside and check for a variable, which will be changed by button click -- Best regards, ___________ Alex Dybenko (MVP) http://alexdyb.blogspot.com http://www.PointLtd.com
Hi, just run a loop, with DoEvents inside and check for a variable, which will be changed by button click -- Best regards, ___________ Alex Dybenko (MVP) http://alexdyb.blogspot.com http://www.PointLtd.com
A Albert D. Kallal Dec 3, 2006 #3 Jim Pockmire said: Is there a way to pause code in a form to wait for an on-click event from a button on the same form? Click to expand... In place of waiting, why not just runt he code in the on-click event? If you are talking about launching another form and waiting...I explain to "return" values from a form (that waits) here: http://www.members.shaw.ca/AlbertKallal/Dialog/Index.html
Jim Pockmire said: Is there a way to pause code in a form to wait for an on-click event from a button on the same form? Click to expand... In place of waiting, why not just runt he code in the on-click event? If you are talking about launching another form and waiting...I explain to "return" values from a form (that waits) here: http://www.members.shaw.ca/AlbertKallal/Dialog/Index.html