Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
Graphics / Re: Curling Pythagoras Tree: Ready for download
« Last post by Boleeman on Today at 12:00:37 am »
Yes that was an extra feature to make it Curl more.
2
 Hey Y'All,

Looks like there is a simple fix: Not using Double but Currency.

Code: Pascal  [Select][+][-]
  1. function RoundExDouble(x: Currency): Double;
  2. begin
  3.   Result := Ceil(x * 10) / 10;
  4. end;

Does not fix the issue that Delphi is not consistent with Double across Windows 32,64 and Linux 64.

But at least we now have consistency on our end!!!

Many thanks to @paweld for spotting the fix!!

Cheers,

Gus
Edited just now by Gustavo 'Gus' Carreno
3
General / Re: Ribbon bar in Lazarus 3.2.2
« Last post by wp on March 28, 2024, 11:29:17 pm »
No, spktoolbar works correctly with Lazarus 3.2, just tested again (although I did not expect any issues).

Maybe you updated from a previous Laz version? It could be that there is a mix-up of old and new files. Please try this: Go to "Tools" > "Configure Build Lazarus" > in the "Clean up" box check "Clean all" and "Switch after building to automatically", then click "Build".

There is another ribbon control in the BGRAControls (https://github.com/bgrabitmap/bgracontrols) which you can install via online-package-manager.
4
General / Free AI to use in local
« Last post by BSaidus on March 28, 2024, 10:57:23 pm »
Hello.
I'm very newbe in AI.
I wonder if it exists such AI software that I can install in my local server, and feed it with informations (data) that I can exploit using lazarus application.

Thank you.
5
General / Ribbon bar in Lazarus 3.2.2
« Last post by lidarusa on March 28, 2024, 10:56:15 pm »
I'm just starting with Lazarus. So far I like it.
I am trying to put together a skeleton program and I need a good ribbon bar.
It seems everybody tends to lean towards SpkToolbar. I've tried to use that but continually run into an error compiling the package.
The error seems to have been around for a while and is apparently a conflict in versions. It reads as:
Fatal: Cannot find Laz_AVL_Tree used by LCLProc, incompatible ppu=c:\lazarus\components\lazutils\lib\x86_64-win64\laz_avl_tree.ppu, package LazUtils.
I'm running Windows 10 Pro.

As I read this, SpkToolbar seems out of date with the latest Lazarus. Is there a similar alternative or a workaround?
 
6
General / Re: how to search in rxmemory table
« Last post by rcmz on March 28, 2024, 10:19:54 pm »
all is ok,

I was not including the unit Variants

thx
Ramiro
7
General / Re: Configure JCF messages
« Last post by GordonFindlay on March 28, 2024, 10:16:19 pm »
Many thanks Domingo - just what I need.
8
I currently prefer the version where the radios are (starting on) the same line as the checkbox.

The lines can be fine tuned, 1 pixel, darker or lighter grey. But in general, the separation between groups is needed. (when there are several groups).

I currently have to rewrite some of the unlaying code...
And then incorporate the option of showing/hiding leading zeros.

I thought of various other ways....

1) Take a away the "signed-ness" and have global settings where the user can define "MyHex as hex-signed-no_lead_zero" and then that would be in the list...
2) Have the minimal preconfigured num-formats, and an edit, similar to "format", allowing to specify in text form, signed-ness, base, lead_zero, ....

But then gave up on them again (at least for the moment, until I see where I can get without them).
One thing is, that at least Decimal should be easily available in the following forms: "signed as the type of data", "always signed/cast to signed", "always unsigned" (that is one more that even existed in the old dialog. And so the minimal preset becomes a lot already.

Anyway, lets see where my current idea takes me.
9
part of the problem is that I've only been using FpDebug since I learned that it supported DebugBreak() (which I only learned very recently.)  Since without that feature I couldn't use it, I didn't read the FpDebug documentation, consequently my knowledge of FpDebug is rather deficient and I need to correct that. 

The links you provided will most definitely be very helpful.

As far as the "Watch Properties" window, I tend to favor minimal designs.  In this case that means no dividers, just whitespace.  To my taste the dividers give a cluttered look.  The whitespace is usually enough (IMO) to create a visual separation among options.

I've attached a partially edited "Watch Properties" window.  I've left some of the dividers to show the contrast.  Personally, I'd get rid of all the dividers with the exception of the one that separates the "Memory dump" from the other options above.

I'd probably keep the small "dash" on the left hand side.

$0.02 :)
10
LCL / Re: Dialog ShowModal and an icon within caption bar?
« Last post by d7_2_laz on March 28, 2024, 09:51:39 pm »
ASerge ok, understood …
But let’s put this buggy side-effect for a moment besides (removing here the datetimepicker):

I’d still unsure (probably I’m the only one?) what would be the correct behaviour:
Does and should by principle a modal dialog exclude the display of an icon (resp. system menu)?
Or should it be possible to display the icon if wanted and configured (ie. by setting BorderIcons biSystemMenu)?

For the cases the latter might be wanted (may happen) I found this little workaround:

Code: Pascal  [Select][+][-]
  1.   TForm2 = class(TForm)     //  Form2 is the modal dialog here
  2.  …..
  3.   protected
  4.     procedure CreateWnd; override;
  5.  …..
  6.  
  7. procedure TForm2.CreateWnd;
  8. begin
  9.   inherited;
  10.  
  11.   // --- Assure icon display picked up from application icon:
  12.   //SendMessage(Handle, WM_SETICON, ICON_BIG,  Windows.LoadIcon(MainInstance, 'MAINICON'));
  13.  
  14.   // --- Assure icon display picked up from the form's icon handle:
  15.   Windows.SendMessage(Handle, WM_SETICON, ICON_BIG, Self.BigIconHandle);
  16.  
  17. end;
Pages: [1] 2 3 ... 10

TinyPortal © 2005-2018