* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
BGRABitmap and LazPaint / Re: BGRA SVG
« Last post by circular on Today at 06:06:50 pm »
Hello Phoenix,

I have fixed the problem.

See latest release of BGRABitmap : http://forum.lazarus.freepascal.org/index.php?board=46.0

Regards,

Johann
2
BGRABitmap and LazPaint / Re: New version of BGRABitmap
« Last post by circular on Today at 06:06:18 pm »
Hello people. It's been some time since last release.

So here is a new version of BGRABitmap (9.5)

Support for ICO and CUR formats :

added BGRAIconCursor unit to read, modify and create files with different icon sizes
handling XOR mask (loaded in the XorMask property of TBGRABitmap)
improved thumbnails to display Xor mask and cursor hotspot

Compilation fix for Lazarus 1.7

OpenGL :
fixes for GL shading language
added framebuffers (TBGLFrameBuffer class and BGLCanvas.ActiveFrameBuffer property)
added GetImage to retrieve bitmap from OpenGL surface
added FilterBlurRadial and FilterBlurMotion to OpenGL textures

SVG : memory leak and crash fix


https://github.com/bgrabitmap/bgrabitmap/releases/tag/v9.5
3
Android / Re: Get rid of virtual keyboard when you hit 'Done'
« Last post by jmpessoa on Today at 05:58:03 pm »
Hello c4p

1) Try handle AnddroidModule form "OnEnter" event with:

   methosd from AnddroidModule from:

    procedure ToggleSoftInput();
    procedure HideSoftInput(); overload;
    procedure HideSoftInput(_view: jObject); overload;

    methosd from From jEditText:

    Procedure ImmShow;
    Procedure ImmHide;
    procedure SetImeOptions(_imeOption: TImeOptions);

PS.
Please, put "LAMW:" in your subject.
4
General / Re: Setting custom papersize ?
« Last post by k1attila1 on Today at 05:56:59 pm »
Thank you Getmem,

but i think this doesn't change the printer papersize, only print at the adjusted size if this setting meet the printer supperted papersize .

Attila
5
Android / Re: LAMW Disabled(grayed) JButton not work
« Last post by jmpessoa on Today at 05:40:52 pm »


Hello Freris!

In my galaxy s4 - Android 5.01 -  grayed out is Ok!
[I will try in others devices....]

Please, send me your patched "jHttpClient.java"   ...

Hint:  You can use the native Free Pascal  "FPHttpclient", too.

Just put this files in your project "jni" folder:
              fphttpclient.pp
              httpdefs.pp
              httpprotocol.pp

6
Windows / Re: Print
« Last post by Thaddy on Today at 05:18:24 pm »
Last first: You don't need TButton etc objects..., you will need a COM object under windows (easy. There are already .vbs scripts on windows 10 that show you how)
Then:
- Yes, on a modern computer the default printer is obtainable, but not always where it used to be.
- A more modern approach, which will do much of the hard work, is using the printers unit (with an s, not printer without s that is needed just for LPT) and use the printer canvas. I will see if I can come up with an example for both.
7
Jobs / Re: Change Control Terminal to threaded operation
« Last post by Paul Breneman on Today at 05:18:13 pm »
Actually, if someone is interested in putting Control Terminal on github, and also extending SynaSer and Synapse so they can be used (in Delphi and Free Pascal) similar to the APro blocking function calls  (here: http://www.turbocontrol.com/APro.htm) that would be great!
8
LCL / Re: Cannot install BGRA Controls Raspberry PI
« Last post by lainz on Today at 05:07:15 pm »
That seems not just a BGRA Controls installation problem, but a Lazarus rebuild problem.

http://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary

And about bgracontrols I recommend you to download the master from GitHub to use under Linux and Mac, there's a fix to an unit that was preventing the installation. But in this case you have a different problem.
9
Windows / Re: Print
« Last post by DesJardins on Today at 05:05:34 pm »
Thaddy, Thanks for the help.  I don't have time to check it out this morning, but I do have a couple of other questions.

I want to write this to be and executable program that has a chance of running on almost anybody's modern printer.  It seems to me that not everybody will be using the same ports.  It seems like I need be getting to a USB port.  I don't think that is happening. 

That is one reason I was originally looking for code that would direct printing from a results file that I had just sent to the disk. Like I was doing in Python as described in my first post. (I save a file to the disk anyway because I use it be available to reload if somebody makes a mistake typing and they don't want to re-enter a lot of data to run it again -- saves them a lot of time). 
Now I am concerned that I don't have a "path" set to get from FPC or Lazarus to my printer.  Is "path" a problem?

So maybe the proper code for me is to not use the LST function.  Now what?  What is the simple way to send text output to any printer?

If you want to see the first program I am updating, check my web page www.rjdesjardins.com and look at the bottom for Psychrometric program.  Right now I am not even trying to use objects like buttons.  Just get it running.

thanks again, Richard
10
Third party / Re: Online Package Manager
« Last post by lainz on Today at 04:54:51 pm »
Hi lainz,

Thank you! It's indeed faster.

I updated the files. I noticed the license is truncated in a few places(ex: ACS - Audio Components Suite). Is this intentional? I also left the old one for a few days for comparison:
New: http://packages.lazarus-ide.org/
Old:  http://packages.lazarus-ide.org/old

Please test!

HI, the truncation of license is intentional, up to 200 characters. But if is not so good we must find a way to don't display it fully or when the user requests it, else it does a bigger page height for each package just for license displaying.

I forget to add <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
So it looks fine on mobile devices, but should not be a problem since this website is not aimed for mobiles.

Another thing to be fixed is the mixed content, now seems that we have https, just change a line:

const packages_json = 'http://packages.lazarus-ide.org/packagelist.json';
to
const packages_json = 'packages.lazarus-ide.org/packagelist.json';
or
const packages_json = '/packagelist.json';

so it works on http and also on https

Edit: all these changes are now on the repository, just download it again. If the const doesn't work just change it in order to work with http and https.
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