Author Topic: TCP comError stops in several minutes after start the program  (Read 5134 times)

muratguenduez

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: TCP comError stops in several minutes after start the program
« Reply #15 on: October 30, 2017, 03:18:44 AM »
i have another project. actually a little bit difference between before. ex. just more label less button blabla... all "   this.btn2.PLCAddressHighlight = "02170";    "  lines has an error during the first building.

thanks

muratguenduez

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: TCP comError stops in several minutes after start the program
« Reply #16 on: October 30, 2017, 03:30:53 AM »
i found something in plcadress settings of buttons. "PLCAddressHighlight " in 3.99w, "PLCAddressHighlightX " in 3.99x. as you see last letter "X" so this couses an error with before and after.

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: TCP comError stops in several minutes after start the program
« Reply #17 on: November 14, 2017, 12:38:56 AM »
Current stock version of the BasicButton control seems to have an issue preserving the value of the button's UseVisualStyleBackColor property, due to Highlight.

For those who might need it, I have modified the control and attached both VB Net and C# files.