Hi Andrzejek and thank you very much.
The while loop is ok.
Because if I firstly click display message
button the while enter into an infinite
loop because flag is false.
and now clicking flag button to change
Boolean variable to true and then the
message is displayed. This work ok.
But from...
mintjulep Hi and thank you very much.
The variable is in scope because if
Firstly I click the button to make
flag = true then the message is displayed.
When I click display message button.
But if I firstly click display message button when the flag = false then
the spp stack.
Thank you very much.
Thank you all
'
'if I click Display message no message are displayed becaus flag is False
'When i click the button falg false to flip it to flag True.
'the app do not react.
'
'how I can make this simple app to react when fliping bettween
'true and false
'I am very thank you for any help
'
'...
Hi
I have a form with one button
and one textbox
In the button event I set a boolean
flag that also exists in another form method that control a loop (exit from loop)
My question is this control is ok
If not what I need to do.
Thank you.
Hi
I have a form with one button
and one textbox
In the button event I set a boolean
flag that also exists in another form method that control a loop (exit from loop)
My question is this control is ok
If not what I need to do.
Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.