Recent

Author Topic: How to check determined items in TCheckListBox.  (Read 4702 times)

Hydexon

  • Full Member
  • ***
  • Posts: 170
How to check determined items in TCheckListBox.
« on: January 09, 2011, 07:34:46 pm »
Hello. I want know how to check determined items of TCheckListBox?.
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: How to check determined items in TCheckListBox.
« Reply #1 on: January 09, 2011, 07:47:56 pm »
Code: [Select]
CheckListBox1.Checked[i] := True;   

Hydexon

  • Full Member
  • ***
  • Posts: 170
Re: How to check determined items in TCheckListBox.
« Reply #2 on: January 09, 2011, 08:54:01 pm »
I tried it and show the message "Invalid Floating Point operation" or similar
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: How to check determined items in TCheckListBox.
« Reply #3 on: January 09, 2011, 08:57:10 pm »
Replace "i" with some integer.

 

TinyPortal © 2005-2018