需要跳转到表单代码的开头... [英] need to jump to the start of my forms code...
问题描述
如果没有按下特定的单选按钮,我需要能够跳转到代码的开头。我怎么这样??? goto line1不起作用?
有什么想法吗?
Scott
如果不是RadBut4 .Checked或RadBut5.Checked然后
MsgBox(请选择年度或单次旅行)
''GoTo Line1转到需要开始......
" Scott" <豪******* @ virgin.net> schrieb:如果没有按下特定的收音机按钮,我需要能够跳到我的代码的开头。 >我该怎么办? goto line1不起作用?
\\\
第1行:
///
如果不是RadBut4 .Checked或RadBut5.Checked然后
MsgBox(请选择年度或单次旅行)
''GoTo Line1转到需要开始......
你必须创建一个标签才能跳到某个位置。
-
MS Herfried K. Wagner
MVP< URL:http://dotnet.mvps.org/>
VB< URL:http://dotnet.mvps。 org / dotnet / faqs />
好的我会这样做,我将如何编码呢?
" Herfried K. Wagner [MVP]" <喜*************** @ gmx.at>在消息中写道
news:%2 **************** @ TK2MSFTNGP15.phx.gbl ..."斯科特" <豪******* @ virgin.net> schrieb:如果没有按下特定的收音机按钮,我需要能够跳到我的代码的开头。 >我该怎么办? goto line1不起作用?
\\\
第1行:
///
如果不是RadBut4.Checked或RadBut5.Checked那么
MsgBox(请选择年度或单次旅行)
''GoTo Line1转到需要开始......
你必须创建一个标签才能跳到某个位置。
- MS Herfried K. Wagner
MVP < URL:http://dotnet.mvps.org/>
VB< URL:http://dotnet.mvps.org/dotnet/faqs/>
"斯科特" <豪******* @ virgin.net> schrieb:好的我会这样做,我将如何编码呢?
如我所说,在第一行前加上''Line1 :''并调用''GoTo Line1''跳转
到标签 ''Line1''。
-
MS Herfried K. Wagner
MVP< URL:http:// dotnet.mvps.org/>
VB< URL:http://dotnet.mvps.org/dotnet/faqs/>
I need to be able to jump to the start of my code if a particular radio button is not pressed. How do I this??? The goto line1 does not work?
Any ideas?
Scott
If Not RadBut4.Checked Or RadBut5.Checked Then
MsgBox("Please choose Annual or Single Trip")
''GoTo Line1 goto start needed...
"Scott" <ho*******@virgin.net> schrieb:I need to be able to jump to the start of my code if a particular radio
button is not pressed. >How do I this??? The goto line1 does not work?
\\\
Line1:
///
If Not RadBut4.Checked Or RadBut5.Checked Then
MsgBox("Please choose Annual or Single Trip")
''GoTo Line1 goto start needed...
You will have to create a label in order to jump to a certain position.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
OK I will do that, how will I code it?
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl..."Scott" <ho*******@virgin.net> schrieb:I need to be able to jump to the start of my code if a particular radio
button is not pressed. >How do I this??? The goto line1 does not work?
\\\
Line1:
///If Not RadBut4.Checked Or RadBut5.Checked Then
MsgBox("Please choose Annual or Single Trip")
''GoTo Line1 goto start needed...
You will have to create a label in order to jump to a certain position.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
"Scott" <ho*******@virgin.net> schrieb:OK I will do that, how will I code it?
As I said, prefix the first line with ''Line1:'' and call ''GoTo Line1'' to jump
to the "label" ''Line1''.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
这篇关于需要跳转到表单代码的开头...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!