Re: [Lazarus] Feature request/inquiry

2015-04-30 Thread silvioprog
On Sun, Apr 26, 2015 at 5:07 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Sun, Apr 26, 2015 at 3:17 PM, silvioprog wrote: > >> >> I implemented this feature in an old project that I maintain, >> LazSolutions, and it was cross-platform. >> >> > Nice! EM_SETCUEBANNER doesn't hav

Re: [Lazarus] Feature request/inquiry

2015-04-27 Thread luiz americo pereira camara
2015-04-26 23:04 GMT-03:00 Dmitry Boyarintsev : > On Sun, Apr 26, 2015 at 8:58 PM, luiz americo pereira camara < > luiz...@oi.com.br> wrote: > >> >> Only TextHint support would be merged to TEdit. >> > > True. TextHint is required for Delphi compatibility in the first place. > But to go a bit bett

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 8:58 PM, luiz americo pereira camara < luiz...@oi.com.br> wrote: > > Only TextHint support would be merged to TEdit. > True. TextHint is required for Delphi compatibility in the first place. But to go a bit better than Delphi, IconHint method could be introduced as well...

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread luiz americo pereira camara
2015-04-26 15:18 GMT-03:00 Dmitry Boyarintsev : > On Sun, Apr 26, 2015 at 1:35 PM, luiz americo pereira camara < > luiz...@oi.com.br> wrote: > >> >> I implemented here long time ago: >> https://code.google.com/p/luipack/source/browse/trunk/luicontrols/searchedit.pas >> >> If agreed i can add to LC

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 3:17 PM, silvioprog wrote: > > I implemented this feature in an old project that I maintain, > LazSolutions, and it was cross-platform. > > Nice! EM_SETCUEBANNER doesn't have Ansi version, it only accepts WideChars (even for Ansi windows) But, why was cross-platform? Is i

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread silvioprog
On Sun, Apr 26, 2015 at 3:18 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Sun, Apr 26, 2015 at 1:35 PM, luiz americo pereira camara < > luiz...@oi.com.br> wrote: > >> >> I implemented here long time ago: >> https://code.google.com/p/luipack/source/browse/trunk/luicontrols/search

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 1:35 PM, luiz americo pereira camara < luiz...@oi.com.br> wrote: > > I implemented here long time ago: > https://code.google.com/p/luipack/source/browse/trunk/luicontrols/searchedit.pas > > If agreed i can add to LCL as TEdit.TextHint > Two notes here: #1 for the case of

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Bart
On 4/26/15, luiz americo pereira camara wrote: > I implemented here long time ago: > https://code.google.com/p/luipack/source/browse/trunk/luicontrols/searchedit.pas > > If agreed i can add to LCL as TEdit.TextHint It would be nice if this feature can be controllled (on / off), preferraby via a

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread luiz americo pereira camara
2015-04-26 8:41 GMT-03:00 Juha Manninen : > On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt > wrote: > > Is there such a thing for Lazarus' TEdit and related controls ? if not, > is > > it planned ? > > It is planned : > http://bugs.freepascal.org/view.php?id=21307 > > I don't know how man

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Michael Van Canneyt
On Sun, 26 Apr 2015, Juha Manninen wrote: On Sun, Apr 26, 2015 at 3:13 PM, Michael Van Canneyt wrote: A small note concerning TFilterEdit for listviews: I tried using it but it's not usable. Yes, the ListViewFilterEdit is the latest addition to FilterEdit family. I made it initially for t

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Juha Manninen
On Sun, Apr 26, 2015 at 3:13 PM, Michael Van Canneyt wrote: > A small note concerning TFilterEdit for listviews: I tried using it but > it's not usable. Yes, the ListViewFilterEdit is the latest addition to FilterEdit family. I made it initially for the Package -> Open Loaded Package view, it wi

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 8:13 AM, Michael Van Canneyt wrote: > > At first I thought it would operate directly on the list items itself, but > it seems it has it's private copy of the data and rebuilds the listview > using that. For some strange reason the author decided it was enough to use > an a

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread zeljko
On 04/26/2015 02:13 PM, Michael Van Canneyt wrote: Good :) A small note concerning TFilterEdit for listviews: I tried using it but it's not usable. You cannot associate any data pointer with the list items, which is essential for my needs. You also cannot set the icon for the items (in fact,

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Michael Van Canneyt
On Sun, 26 Apr 2015, zeljko wrote: On 04/26/2015 01:41 PM, Juha Manninen wrote: On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt wrote: Is there such a thing for Lazarus' TEdit and related controls ? if not, is it planned ? It is planned : http://bugs.freepascal.org/view.php?id=213

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread zeljko
On 04/26/2015 01:41 PM, Juha Manninen wrote: On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt wrote: Is there such a thing for Lazarus' TEdit and related controls ? if not, is it planned ? It is planned : http://bugs.freepascal.org/view.php?id=21307 I don't know how many widgetsets su

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Juha Manninen
On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt wrote: > Is there such a thing for Lazarus' TEdit and related controls ? if not, is > it planned ? It is planned : http://bugs.freepascal.org/view.php?id=21307 I don't know how many widgetsets support it but we can implement it like already

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Graeme Geldenhuys
On 2015-04-26 11:26, Michael Van Canneyt wrote: > Is there such a thing for Lazarus' TEdit and related controls ? if not, is it > planned ? I may be wrong, but I don't believe all LCL's backend toolkits support this, and probably why TEdit doesn't support it yet. Now, if you used fpGUI you could

[Lazarus] Feature request/inquiry

2015-04-26 Thread Michael Van Canneyt
Hi, I was wondering about the following: Many websites have a feature where, in a form that you must fill in, some explanatory text is shown in fields. This explanatory text is somewhat grayed in appearance, and disappears as soon as you start typing. Something like: (use fixed font to see t