* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
Games / Re: Game Contest 2018
« Last post by User137 on Today at 01:26:01 am »
Open Project Options menu, and go to "Config and Target". Choose Target OS (-T) and other options suitable for your config. Let know which changes you made if it works.
2
LCL / Re: RTF ability
« Last post by wp on Today at 01:23:40 am »
How would I add say another Menu to it? I did try creating a Menu on the form, and use:

Menu := FFrame.MainMenu + MenuItem1;
No, there is no operator to "add" two menus. You must iterate through the items of the menu which you want to add, create a new menu item in the destination menu for each item to be added and copy the properties.

Here is a small example: the form contains a standard "File" / "Edit" / "Options" MainMenu and a memo which has a popup menu. The code provided copies the popupmenu to the item "Edit" of the MainMenu.
3
General / Re: Problem compiling a generic
« Last post by grahameg@gmail.com on Today at 01:07:20 am »
btw, this is from https://github.com/grahamegrieve/fhirserver, which I would like to get compiling for FPC
4
General / Problem compiling a generic
« Last post by grahameg@gmail.com on Today at 01:06:29 am »
uses
   Generics.Collections, Generics.Defaults,;  // library from https://github.com/dathox/generics.collections

//   TEnumerable<T> = class abstract from  Generics.Collections
 
type

  TFslPair<T : TFslObject> = record
   // stuff
  end;

  TFslMap<T : TFslObject> = class(TEnumerable<TFslPair<T>>)       
  private

trying to compile this:

FHIR.Support.Generics.pas(212,55) Fatal: Syntax error, "," expected but "<" found

but it looks like it should work to me - and it does work in delphi, and the equivalent would work in Java... Is this a freepascal issue?
5
LCL / Re: RTF ability
« Last post by dbannon on Today at 12:52:01 am »
Chris, I have not looked extensivly at TK's demos can no good answer.
Instead, I built my menus (etc) from normal Lazarus components, reasonably clean approach.
Have a look at  my project, https://github.com/tomboy-notes/tomboy-ng
In the "editbox" unit, you will see the KMemo used in this way. There are popup menus but no main menu, however, it would work fine if you added one.
Davo
6
Lazarus / Lazarus Release 1.8.4 (with FPC 3.0.4)
« Last post by Martin_fr on May 22, 2018, 11:39:03 pm »
The Lazarus team is glad to announce the release of Lazarus 1.8.4. This is a bugfix release.

The release was built with FPC 3.0.4.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.8.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.4

Here is the list of fixes for Lazarus 1.8.x:
http://wiki.freepascal.org/Lazarus_1.8_fixes_branch

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.8.4" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_8_4

Minimum requirements:

Windows:
2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
optional qt 4.5 or 5.6 for qt apps

FreeBSD/Linux:
gtk 2.8 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.

Mac OS X:
10.5 to 10.12; Carbon (32bit), Cocoa (64bit, not stable), qt and qt5 (32 or 64bit).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_4

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:
ftp://ftp.freepascal.org/pub/lazarus/releases/
and later at (after some time for synchronization)
http://mirrors.iwi.me/lazarus/

7
Spanish / Re: fpReport
« Last post by jesusr on May 22, 2018, 11:03:31 pm »
Lainz probablemente quieres decir que LazReport está basado en FreeReport no en fpReport.
8
TAChart / Re: Horizontal bar chart (missing labels)
« Last post by JD on May 22, 2018, 11:02:23 pm »
Excellent, just excellent! Thanks a lot wp. You and Ask have done a great deal of work to make TAChart as good as it is now. Thanks for all the time and effort you've put into it.

Cheers,

JD
9
General / Re: Truly cleanup a string
« Last post by ezlage on May 22, 2018, 10:43:54 pm »
Not sure why you (think) you need that...

Bart

Sorry.
I've noticed that user entries like username and password remain in memory, so I need a way to manually delete it. But before I do anything, I need to understand.

Desculpe.
Eu percebi que entradas do usuário como nome de usuário e senha permanecem na memória, então preciso de uma forma para apagar manualmente. Mas antes de executar alguma coisa, preciso entender.
10
General / Re: Truly cleanup a string
« Last post by ezlage on May 22, 2018, 10:38:53 pm »
Parameters for FillChar are (variable, count, value). Bart changed order of value and count.

Yes, I had noticed. Thank you!

Sim, eu havia percebido. Obrigado!
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus