The consequence of chatting and writing a program (CTRL + C, CTRL + V) in the middle of the night, red Codes

Source: Internet
Author: User

If objrecordtemp. recordcount> 0 then

Set nodxtemp = me. treeviewfloordoor. nodes. Add (nodx. Tag, tvwchild, objrecordtemp. Fields (0). Value, objrecordtemp. Fields (1). value)

Nodxtemp. Expanded = true

Nodxtemp. Image = 2

Nodxtemp. Tag = objrecordtemp. Fields (0). Value

Nodxtemp. Checked = false

End if

End if

Nodx = nodx. Next

Wend

If me. treeviewfloordoor. nodes. Count> 0 then

Me. treeviewfloordoor. nodes (1). Selected = true

Me. treeviewfloordoor. nodes (1). Checked = false

Call setpopedomenabled (false)

End if

Set objrecord = nothing

Set objrecordtemp = nothing

Exit sub

Errorhandles:

Set objrecord = nothing

Set objrecordtemp = nothing

Err. Raise err. Number, Err. Source, me. Caption & err. Description

End sub

Private sub setpopedomenabled (byval beanble as Boolean)

Me. combotimer. Enabled = commandid was too many minutes

Me. chkdoorapb. Enabled = zookeeper transaction 1

Me. chkdooropen. Enabled = zookeeper transaction 1

Me. chkholidayapb. Enabled = zookeeper

Me. chkpasswordapb. Enabled = commandid too many requests

End sub

'Load the group list and select different zones and doors with different checkboxes

Private sub loadlistgroup ()

On Error goto errorhandles:

Dim objrecord as new recordset

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.