Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
LCL / Re: Controlling the behavior - JVCLLaz - JvDBLookUpCombo?
« Last post by 1HuntnMan on Today at 06:09:27 pm »
RVK, thanks... You and WP helped a lot in understanding how this component works.  Expermenting with the different settings, check the image capture I just made.  This looks good. I have other forms that the JvDBLoopUpCombo isn't displaying the 2nd or 3rd fields in the drop-down to fix these.  The DropDownWidth was the solution along with playing with the 3 dropdown fields displaywidths.

RVK, checked my display settings (Win11) but doesn't actually show DPI. Display settings in Win11 are Scale, Display resolution, Orientation, Multiple Displays, Advanced display, Graphics & Help. None of these give you the dots/inch. But, not an issue... Thanks to the both of you!
 
2
General / how to search in rxmemory table
« Last post by rcmz on Today at 06:07:30 pm »
hi,

how can i search in a rxmemory table or order the data

TIA
Ramiro
3
General / Re: JEDI error but unit compiles??
« Last post by Thaddy on Today at 06:05:37 pm »
Of course you can not even use the set....
Not good enough to prove your point.
Focussing on the SQL confuses JEDI with (* and *). Solution is to use spaces, like ( * );
Problem is that the JEDI jcf parser does not maintain enough state while it is in a string and that is a bug. It should know it has to ignore the contents of any string until the string is terminated.
4
General / Re: how to change the color font and background of a button
« Last post by Thaddy on Today at 06:01:15 pm »
with the remark that it is true that you can not change color and font.color, you can in Delphi do that with at least TBitBtn and TSpeedBtn, but not in Lazarus. Which is strange...
5
General / Re: Dynarray initialization pattern
« Last post by Martok on Today at 05:39:03 pm »
Managed types - like in this case dynamic arrays - always have valid values. If not, it's a bug.
No weird corner cases? This is extremely good to know, thanks.

Do you happen to know if DFA knows/counts this "assignment"? Not neccessarily for optimization, but for the initialized logic checks.
6
I added delay(500) before the call and that seems to have fixed the attachment problem.
It looks like I have to do that anytime I want to send an email with attachments of ftp a file.
I also have to do it before deleting a file.

There must be something else wrong. I have multiple applications sending attachments and never had this problem. And I create file (pdf or xlsx) and send it immediately after creating.
7
General / Re: how to change the color font and background of a button
« Last post by Handoko on Today at 05:14:06 pm »
TButton.Color cannot be changed on Windows. See the attached picture below. It is restricted on Windows.

Solutions? Don't use Windows or use other third party button components, for examples:

https://wiki.lazarus.freepascal.org/BGRAControls/de#TBGRAButton
https://wiki.lazarus.freepascal.org/TGradButton

But if you have time and want to do something challenging, you can write your own button component. There were several discussions about creating custom button in the past, you can search the forum if you want learn about it.

I'm newbie in lazarus and exploring the components of the lazarus

Lazarus as a rapid application development tool has plenty of ready-to-use components:
https://wiki.lazarus.freepascal.org/Category:Components

For your information, to enable a component that comes with your Lazarus default installation:
Lazarus main menu > Package > Install/Uninstall Packages > in the right panel, type or select the package you want > click "Install selection" > click "Save and rebuild IDE" > wait until the IDE restarted

For installing a third party component, you can use OPM:
Lazarus main menu > Package > Online Package Manager
8
I added delay(500) before the call and that seems to have fixed the attachment problem.
It looks like I have to do that anytime I want to send an email with attachments of ftp a file.
I also have to do it before deleting a file.


9
General / how to change the color font and background of a button
« Last post by lemodizon on Today at 05:06:14 pm »
Hi everyone,

i tried to change the color of the font of my button and background also but it didn't change.

I'm using the standard button.

I'm newbie in lazarus and exploring the components of the lazarus

hope you can help.

thanks


10
General / Re: JEDI error but unit compiles??
« Last post by bobonwhidbey on Today at 05:03:48 pm »
It took me some time to whittle down a large unit to find the problem. You can create a new project with only this little FormShow procedure
Code: Pascal  [Select][+][-]
  1. procedure TForm1.FormShow(Sender: TObject);
  2. const
  3.   TestSET: set of tWindowState = [wsNormal..wsMinimized,wsFullScreen];
  4. begin
  5.   ShowMessage('Test');
  6. end;

Of course this compiles and runs but I can not use JEDI to format the PAS file.  The problem occurs when I add "wsFullScreen". Without that, I can use JEDI. I have no idea how to fix JEDI to correct this.
Pages: [1] 2 3 ... 10

TinyPortal © 2005-2018