TABSTRIP的Click事件中隐藏旧的FRAME,显示相应的FRAME
解决方案 »
- 能帮我写一段代码吗?我刚学VB,希望对我有帮助
- 我问一下,通过自己写的服务,怎样已用户的身份运行1个外部程序
- 进程终止的问题
- 看看这两个过程的流程,结果怎么会是什么都不显示呢?
- 郁闷!散100分,我靠项目做完了,明年又要换工作了,无奈!
- 一个关于检测程序进程的问题
- 控件项目中的模块中如何引用父控件中的内容
- 请问vb中ComboBox,下拉每行内容很长。当我选择时,内容超过Text的长度,前面的数据看不到?
- 往好的方面想:当你电脑坏了的时候,别人能通过注册表为你解决什么问题?往坏的方面想:当你的注册表不小心被人偷去了的时候,你最担心的是什么?
- 只能给21分了,救救小弟吧!!
- 用VB编下个程序,关于数据库的问题!!大家一定要帮我呀,SOS,谢谢!!
- 关于msflexgrid,在线等待!!!
Case "readnumber"
Frame1.Visible = True
Frame2.Visible = False
Frame3.Visible = False
Case "setnumber"
Frame1.Visible = False
Frame2.Visible = True
Frame3.Visible = False
Case "protectnumber"
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = True
End Select
我想:可能是zorder问题,你需要显示什么,那么visible=true and zporder 0
Private Sub TabStrip1_Click()
Select Case TabStrip1.SelectedItem.Key
Case "readnumber"
Frame1.Visible = True
Frame2.Visible = False
Frame3.Visible = False
Case "setnumber"
Frame1.Visible = False
Frame2.Visible = True
Frame3.Visible = False
Case "protectnumber"
Frame1.Visible = False
Frame2.Visible = False
Frame3.Visible = True
End Select
End Sub