Recent

Author Topic: Wigetset.CreateTimer or There is anothe method?  (Read 5508 times)

KillerCode

  • New Member
  • *
  • Posts: 29
Wigetset.CreateTimer or There is anothe method?
« on: November 26, 2010, 08:01:13 am »
i want to create a timer in my application, i found nothing but Widgetset.CreateTimer, if i used this will i have to inclue some sort or library with it? or it will stay click-n-run executable?
also, whats that widgetset anyway? lol :D

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1930
Re: Wigetset.CreateTimer or There is anothe method?
« Reply #1 on: November 26, 2010, 08:10:47 am »
There is a "TTimer" component in the "System" tab.

KillerCode

  • New Member
  • *
  • Posts: 29
Re: Wigetset.CreateTimer or There is anothe method?
« Reply #2 on: November 26, 2010, 09:46:01 am »
yea, thats where i got this line, the rest of the TTimer component code (TCustomTimer Decendant) is normal Component code, nothing special, thats the main line, so i wanted to know what a widgetset is? and what will i have to include with my executable? i know its dummy question, but please bare with me, some time soon ill be gooooooooooooooood :D

Leledumbo

  • Hero Member
  • *****
  • Posts: 8785
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Wigetset.CreateTimer or There is anothe method?
« Reply #3 on: November 26, 2010, 02:27:34 pm »
Quote
i wanted to know what a widgetset is?
http://wiki.lazarus.freepascal.org/How_To_Help_Developing_Lazarus#Widgetsets_.28.22interfaces.22.29. It's an abstraction over underlying GUI toolkit that you can choose to be used by your programs.
Quote
what will i have to include with my executable?
Nothing :), just drop TTimer to your form and you can use it directly.

 

TinyPortal © 2005-2018