Re: [Lazarus] question re tdblookupcombobox

2024-05-04 Thread Flávio Etrusco via lazarus
You could try: TComboBox(DBLookupComboBox1).ItemWidth:=200; It should be OK since ItemWidth is implemented in TCustomComboBox. If it indeed works without problems, you should probably create a ticket to make that property published. Regards, Flávio Em sex., 3 de mai. de 2024 às 12:15, duilio

[Lazarus] question re tdblookupcombobox

2024-05-03 Thread duilio foschi via lazarus
the string to display on screen (property DataField) is short. The strings that are listed for selection (field ListField) are wide. I would like to have the control width = 66 pixels and the drop-down list width = 200 pixels. Is there a way to get this behaviour? Right now, the drop-down list

Re: [Lazarus] Question

2021-12-21 Thread Евгений Кадисов via lazarus
Thank you for your help. I have found the cause. In version 2.0.12 one can not use TStream.GetSize. Now my program works fine. вт, 21 дек. 2021 г. в 16:34, wkitty42--- via lazarus < lazarus@lists.lazarus-ide.org>: > On 12/21/21 8:28 AM, wkitt...@windstream.net wrote: > >git log --pretty=oneli

Re: [Lazarus] Question

2021-12-21 Thread wkitty42--- via lazarus
On 12/21/21 8:28 AM, wkitt...@windstream.net wrote:   git log --pretty=oneline ae9017^..871307 | grep -Ei -e "UTF-?8" i forgot to also add this list of commits that appear to be specific to various FPC versions used behind Lazarus or used to compile Lazarus... git log --pretty=oneline ae

Re: [Lazarus] Question

2021-12-21 Thread wkitty42--- via lazarus
On 12/21/21 3:15 AM, Евгений Кадисов via lazarus wrote: Thank you once more. It turned out that the problem was not solved. When I have (2.0.12 instead of 2.0.10) [...] perhaps looking at the changelogs for the differences between these two versions will help you find what you need to change i

Re: [Lazarus] Question

2021-12-21 Thread John Landmesser via lazarus
You find old versions here: https://sourceforge.net/projects/lazarus/files/ Am 21.12.21 um 09:15 schrieb Евгений Кадисов via lazarus: Thank you once more. It turned out that the problem was not solved. When I have installed new version of Lazarus (2.0.12 instead of 2.0.10), my program failed to

Re: [Lazarus] Question

2021-12-21 Thread Евгений Кадисов via lazarus
Thank you once more. It turned out that the problem was not solved. When I have installed new version of Lazarus (2.0.12 instead of 2.0.10), my program failed to work. I want to return old version of Lazrus but I do not know how to do it. пн, 20 дек. 2021 г. в 18:21, wkitty42--- via lazarus < laza

Re: [Lazarus] Question

2021-12-20 Thread wkitty42--- via lazarus
On 12/20/21 6:35 AM, Евгений Кадисов via lazarus wrote: Thank you. It seems I have found the reason. ok... and the reason/solution is/was? i ask so that others might find it if they have similar problems... пн, 20 дек. 2021 г. в 13:58, wkitty42--- via lazarus mailto:lazarus@lists.lazarus-id

Re: [Lazarus] Question

2021-12-20 Thread Евгений Кадисов via lazarus
Thank you. It seems I have found the reason. пн, 20 дек. 2021 г. в 13:58, wkitty42--- via lazarus < lazarus@lists.lazarus-ide.org>: > On 12/20/21 2:46 AM, Евгений Кадисов via lazarus wrote: > > Dear lazarus programmers. After the change of the Lazarus version a > command > > "find" fails when it

Re: [Lazarus] Question

2021-12-20 Thread wkitty42--- via lazarus
On 12/20/21 2:46 AM, Евгений Кадисов via lazarus wrote: Dear lazarus programmers. After the change of the Lazarus version a command "find" fails when it must find a word written with russian letters. What must I do? what must you do? maybe provide a little more information? what version of la

[Lazarus] Question

2021-12-19 Thread Евгений Кадисов via lazarus
Dear lazarus programmers. After the change of the Lazarus version a command "find" fails when it must find a word written with russian letters. What must I do? -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listin

Re: [Lazarus] question with IDE

2021-01-15 Thread Ondrej Pokorny via lazarus
On 15.01.2021 13:34, Mattias Gaertner via lazarus wrote: Do you have a complete example unit (you can strip the statements and vars)? See the attachment for two example units - obviously I cannot guarantee it is the same scenario that duilio experiences but it is definitely an example of Ctr

Re: [Lazarus] question with IDE

2021-01-15 Thread Martin Frb via lazarus
On 15/01/2021 16:51, Bart via lazarus wrote: I recently had this with fpc's deque.pp unit. I added two methods to the intrface, then pressed Ctrl+C and it made those two, but also a new empty implementation of TDeque.IncreaseCapacity method (which already existst). It's a generic class, if that m

Re: [Lazarus] question with IDE

2021-01-15 Thread Bart via lazarus
On Fri, Jan 15, 2021 at 1:34 PM Mattias Gaertner via lazarus wrote: > Do you have a complete example unit (you can strip the statements and > vars)? I recently had this with fpc's deque.pp unit. I added two methods to the intrface, then pressed Ctrl+C and it made those two, but also a new empty

Re: [Lazarus] question with IDE

2021-01-15 Thread Mattias Gaertner via lazarus
On Fri, 15 Jan 2021 13:06:16 +0100 duilio foschi via lazarus wrote: > my IDE sometimes decides that procedure X was not coded in the > implementation section of a unit...and adds an empty definition > (see: https://imgur.com/awP7cK2) > > The procedure is there (see https://imgur.com/6H5F2cG) but

Re: [Lazarus] question with IDE

2021-01-15 Thread Pascal Riekenberg via lazarus
Your existing implementation is missing the Paramter. Maybe that is the reason. Pascal > duilio foschi via lazarus hat am > 15.01.2021 13:06 geschrieben: > > > my IDE sometimes decides that procedure X was not coded in the > implementation section of a unit...and adds an empty defin

[Lazarus] question with IDE

2021-01-15 Thread duilio foschi via lazarus
my IDE sometimes decides that procedure X was not coded in the implementation section of a unit...and adds an empty definition (see: https://imgur.com/awP7cK2) The procedure is there (see https://imgur.com/6H5F2cG) but for some reason the IDE is brought to the crazy idea above. This always happen

Re: [Lazarus] Question about TCheckBox

2020-03-16 Thread Juha Manninen via lazarus
On Mon, Mar 16, 2020 at 4:34 PM Jean SUZINEAU via lazarus < lazarus@lists.lazarus-ide.org> wrote: > May be you can create a new component class, based on TPanel, in which > you place a TCheckbox with empty text and a TLabel at the position you > want ? > For temporary use you could just anchor a L

Re: [Lazarus] Question about TCheckBox

2020-03-16 Thread Jean SUZINEAU via lazarus
May be you can create a new component class, based on TPanel, in which you place a TCheckbox with empty text and a TLabel at the position you want ? TCheckbox implementation is dependant on the widget set you use ("win32" I guess in your case), I don't think you can tune it easily. --

[Lazarus] Question about TCheckBox

2020-03-16 Thread frans via lazarus
Hi, I use Lazarus 2.04 on win10. I use a TCheckbox and want more space between Caption and square, Alignement is taLeftJustify and BidiMode is bdRightToLeft. The only way that works is adding an extra space left of the Caption. But is there not another way? I searched the internet  but I can't

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread Dmitry Boyarintsev via Lazarus
On Thu, Nov 3, 2016 at 4:17 PM, silvioprog via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > > Nothing special, just because some commented code there hehe... xD But > what is the main purpose about SetTextUIStyle, it retrieves only links, or > links and formatted texts? :-) > > Currently, it

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread silvioprog via Lazarus
Oops, On Thu, Nov 3, 2016 at 5:17 PM, silvioprog wrote: [...] > in mostly of richedit versions > I meant "in most of richedit version". ^^' -- Silvio Clécio -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/list

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread silvioprog via Lazarus
On Thu, Nov 3, 2016 at 4:48 PM, Dmitry Boyarintsev via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Thu, Nov 3, 2016 at 3:36 PM, silvioprog via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> There's ALinkRef parameter, that serves this particular purpose. >>> >> Naturally, LinkRef

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread Dmitry Boyarintsev via Lazarus
On Thu, Nov 3, 2016 at 3:36 PM, silvioprog via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > There's ALinkRef parameter, that serves this particular purpose. >> > Naturally, LinkRef should end up in TLinkMouseInfo . >> > > Perfect. > Now, I take that back. "ref" information might need to go to

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread silvioprog via Lazarus
On Thu, Nov 3, 2016 at 3:52 PM, Dmitry Boyarintsev via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > > > On Wed, Nov 2, 2016 at 10:25 PM, silvioprog via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> I had some ideas, and I can send small patches showing them. For example, >> what do yo

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread Dmitry Boyarintsev via Lazarus
On Thu, Nov 3, 2016 at 2:52 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > > But I'd like to note, that "Links", are yet "under construction" area. For > a few reasons: > > one more thing: * custom RTF reader/writer must also be updated to recognize the link and use the proper API to

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread Dmitry Boyarintsev via Lazarus
On Thu, Nov 3, 2016 at 5:18 AM, Torsten Bonde Christiansen via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > > If it all possible, can the part that generates the RichTextFormat be > moved from the component into a seperate unit. This will make it possible > to include RTF generators into eg.

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread Dmitry Boyarintsev via Lazarus
On Wed, Nov 2, 2016 at 10:25 PM, silvioprog via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > I had some ideas, and I can send small patches showing them. For example, > what do you think about adding the GetLink() method in the TCustomRichMemo > class and the href:string attribute in the TLin

Re: [Lazarus] Question about TRichMemo

2016-11-03 Thread Torsten Bonde Christiansen via Lazarus
On 2016-11-02 03:50, silvioprog via Lazarus wrote: Hello, First, thanks forthis great component ! :-) So, what do you think about distributing it on Lazarus components directory and it cames installed by default in t

Re: [Lazarus] Question about TRichMemo

2016-11-02 Thread silvioprog via Lazarus
On Wed, Nov 2, 2016 at 9:09 PM, Dmitry Boyarintsev via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Wed, Nov 2, 2016 at 7:25 PM, silvioprog via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> >> Done: http://bugs.freepascal.org/view.php?id=30852 . >> > Yep, totally fine. Should acce

Re: [Lazarus] Question about TRichMemo

2016-11-02 Thread Dmitry Boyarintsev via Lazarus
On Wed, Nov 2, 2016 at 7:25 PM, silvioprog via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > > Done: http://bugs.freepascal.org/view.php?id=30852 . > Yep, totally fine. Should accept it tonight. Thank you. ps. this component should be installed as default in Lazarus IDE. ;-) > It's not my cal

Re: [Lazarus] Question about TRichMemo

2016-11-02 Thread silvioprog via Lazarus
On Wed, Nov 2, 2016 at 12:38 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Tue, Nov 1, 2016 at 10:50 PM, silvioprog via Lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> Anyway, I'm going to send some patches to improve this component ... >> > Thank you! Looking forward! > >

Re: [Lazarus] Question about TRichMemo

2016-11-01 Thread Dmitry Boyarintsev via Lazarus
On Tue, Nov 1, 2016 at 10:50 PM, silvioprog via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Anyway, I'm going to send some patches to improve this component ... > Thank you! Looking forward! Pure Delphi-compatibility patches are likely to be rejected. (unless they're implemented in the form

[Lazarus] Question about TRichMemo

2016-11-01 Thread silvioprog via Lazarus
Hello, First, thanks for this great component ! :-) So, what do you think about distributing it on Lazarus components directory and it cames installed by default in the IDE? Anyway, I'm going to send some patches to improv