Recent

Recent Posts

Pages: [1] 2 3 ... 10
1
General / Re: JEDI error but unit compiles??
« Last post by bobonwhidbey on Today at 07:10:38 pm »
The source of the problem with JEDI had nothing to do with "(*" .  The entire error seems to be caused by JEDI not handling a SET definition correctly.

This works in JEDI:
Code: Pascal  [Select][+][-]
  1. TestSET: set of tWindowState = [wsNormal..wsMinimized];

This does not:
Code: Pascal  [Select][+][-]
  1. TestSET: set of tWindowState = [wsNormal..wsMinimized,wsFullScreen];
2
General / Re: how to search in rxmemory table
« Last post by korba812 on Today at 06:57:30 pm »
Use "Locate" method to search.
https://www.freepascal.org/docs-html/fcl/db/tdataset.locate.html
https://wiki.freepascal.org/locate

For sorting, use "SortOnFields/SortOnFieldsEx" methods available in TRxMemoryData.
3
General / Re: Dynarray initialization pattern
« Last post by Thaddy on Today at 06:30:12 pm »
the only exception i know is with managed types with a range not starting with zero.
managed types always initialize to all zero's or empty so can cause a range check error.
other than that, it has no corner cases, and besides my remark, the memory is initialized.
4
General / Re: how to search in rxmemory table
« Last post by cdbc on Today at 06:17:53 pm »
Hi
Hmmm.... I was under the impression that RxMemoryTable supports SQL?!?
Anywho, I found this https://documentation.help/RXLibrary/documentation.pdf
Dunno if it's of any help to you...
Regards Benny
5
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!
 
6
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
7
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....Unless you are well versed in quantum theory...
Not good enough to prove your point.
Focussing on the SQL confuses JEDI with (* and *). Solution/workaround 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 - literal or not - string until the string is terminated.

Btw It will get a lot worse in trunk! too many new language features with accompanying syntax.
8
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...
9
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.
10
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.
Pages: [1] 2 3 ... 10

TinyPortal © 2005-2018