Lazarus

Programming => General => Topic started by: xinyiman on January 19, 2018, 04:20:40 pm

Title: (RESOLVE) TimeLine components?
Post by: xinyiman on January 19, 2018, 04:20:40 pm
Hi guys, one question. Exists timeline component cross-platform?
Title: Re: TimeLine components?
Post by: wp on January 19, 2018, 08:52:33 pm
TvPlanit maybe? http://wiki.freepascal.org/Turbopower_Visual_PlanIt. Is available via OPM.
Title: Re: TimeLine components?
Post by: xinyiman on January 20, 2018, 01:40:50 pm
Hello, thanks for your reply. I installed tvplanit, but I can not find the timeline.
It should be something like this:
http://vtaorgcontent.s3-us-west-1.amazonaws.com/Site_Content/BSV_timeline_PhaseI.jpg
Title: Re: TimeLine components?
Post by: wp on January 20, 2018, 02:52:43 pm
No this is not contained in tvplanit.
Title: Re: TimeLine components?
Post by: wp on March 12, 2018, 12:16:09 am
The JVCL controls have the TJvTimeLine and TJvTMTimeLine now. I only tested Windows, but I don't see a reason why they should not be cross-platform.

Download link: https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/jvcllaz/.

If you don't have svn you must download the entire CCR snapshot and unpack only the jvcl folder in "components".

To use the timeline components you must compile packages JvCoreLazR, JvCoreLazD and JvCustomLazR, an install the package JvCustomLazD.

Both components have a demo in the examples folder.

Just drop the TJvTimeLine component on the form. Double-click on it to add "Items". The rest is self-explanatory, just look at the properties. But be warned: the component has been freshly ported to Lazarus, and there may still be a bug here and there.
Title: Re: TimeLine components?
Post by: xinyiman on March 22, 2018, 09:31:47 am
Thank you wp, is perfect. Just one problem in installation moment, when I compiled JvCustomLazD i find a Windows unit but my system is OS X. I change code in this mode

{$ifdef MSWINDOWS}
Windows,
{$endif}

and I resolve. Thank you very much, is a great component.
Title: Re: (RESOLVE) TimeLine components?
Post by: wp on March 22, 2018, 10:15:31 am
There shouldn't be any Windows units in the current revision any more. If not, please name the unit.
Title: Re: (RESOLVE) TimeLine components?
Post by: xinyiman on March 22, 2018, 12:05:18 pm
There shouldn't be any Windows units in the current revision any more. If not, please name the unit.
unit JvOutlookBarEditors;
TinyPortal © 2005-2018