Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

Bug in this code 1 month 1 week ago #19362

  • W. Peterson
  • W. Peterson 's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
Field1.Font.Style := [fsUnderline];

I accidentally left out the  Field1.  in the above code, putting in just  Font.Style := [fsUnderline]; .  There was no diagnostic message and the instruction caused the wrong field to be underlined.

Please Log in or Create an account to join the conversation.

Bug in this code 1 month 1 week ago #19363

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1362
  • Thank you received: 215
Please, a project for our tests
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Bug in this code 1 month 1 week ago #19367

  • W. Peterson
  • W. Peterson 's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 0
I need to look at this some more.  Actually, even when I put the field name ahead of the ".Font.Style := [fsUnderline];", it still underlined some other wrong labels.  If I can find time, I'll look further.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1