Hi,
I have a TToolButton in a tool bar, with it's style set to tbsDropDown and
have linked the DropDownMenu property to a drop down menu.
All is working fine when I click on the down arrow to the right of the
button, however, I'd really like the button to also activate the dropdown
menu when it is
2012/4/9 Richard Mace richard.m...@gmail.com
Hi,
I have a TToolButton in a tool bar, with it's style set to tbsDropDown and
have linked the DropDownMenu property to a drop down menu.
All is working fine when I click on the down arrow to the right of the
button, however, I'd really like the
On Mon, 9 Apr 2012 11:48:33 +0300
Juha Manninen juha.mannine...@gmail.com wrote:
2012/4/9 Richard Mace richard.m...@gmail.com
Hi,
I have a TToolButton in a tool bar, with it's style set to tbsDropDown and
have linked the DropDownMenu property to a drop down menu.
All is working fine
2012/4/9 waldo kitty wkitt...@windstream.net:
interesting... i do not recall useride in what i was looking at in the
makefile but... where do you see this listed as a make target?
A few months ago I noticed a commit regarding this (I have the svn log
in my rss reader) which made me curious
On 23 March 2012 14:15, michael.vancann...@wisa.be wrote:
On Fri, 23 Mar 2012, Michael Fuchs wrote:
Am 23.03.2012 14:55, schrieb Frank Church:
[...] I'd prefer to look only at the public section and say, Oh,
this is what it does for the program's other modules. Whatever isn't
there is
On Mon, 9 Apr 2012, Frank Church wrote:
On 23 March 2012 14:15, michael.vancann...@wisa.be wrote:
On Fri, 23 Mar 2012, Michael Fuchs wrote:
Am 23.03.2012 14:55, schrieb Frank Church:
[...] I'd prefer to look only at the public section and say, Oh,
this is what it does for the
On Mon, Apr 9, 2012 at 12:30 AM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Sat, 7 Apr 2012 23:49:42 -0300
Marcos Douglas m...@delfire.net wrote:
Hi,
Using FPC 2.6.1 and Laz trunk on Windows, there is a better way to not
to
do such codes below?
Examples
1- I'm on the
On Mon, Apr 9, 2012 at 2:04 PM, Marcos Douglas m...@delfire.net wrote:
Ops... you're right.
I was confused because IncludeTrailingPathDelimiter is part of RTL and
it not works with UTF8. The code uses Length and Result[l]... so, I
thought this is would be problem.
Some routines made for Ansi
On Mon, Apr 9, 2012 at 9:19 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
On Mon, Apr 9, 2012 at 2:04 PM, Marcos Douglas m...@delfire.net wrote:
Ops... you're right.
I was confused because IncludeTrailingPathDelimiter is part of RTL and
it not works with UTF8.
I'm trying to get a handle for a TComponent descendent class under GTK2.
On Tmyclass.Create(..) I did:
begin
...
fHandle := AllocateHWnd(wndMessagesMethod);
...
end;
But when I call
PostMessage(objectofMyClass.fhandle, LM_MYMESSAGE,0,0);
I got the exception:
GetLCLObject=nil
On Mon, Apr 9, 2012 at 2:37 PM, Marcos Douglas m...@delfire.net wrote:
The result is 5 not 3, but you did know this of course.
If you study carefully UTF-8 and follow the code of the RTL routines
you will find out that some routines work with UTF-8 without changes,
regardless of the fact that
On Mon, Apr 09, 2012 at 09:37:16AM -0300, Marcos Douglas wrote:
Lenght function do not works with UTF8 correctly.
procedure TForm1.Button1Click(Sender: TObject);
begin
Edit1.Text := '??b??';
ShowMessage(IntToStr(Length(Edit1.Text)));
end;
The result is 5 not 3, but you did know this
On Mon, Apr 9, 2012 at 11:14 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
On Mon, Apr 9, 2012 at 2:37 PM, Marcos Douglas m...@delfire.net wrote:
The result is 5 not 3, but you did know this of course.
If you study carefully UTF-8 and follow the code of the RTL
On Mon, Apr 9, 2012 at 11:18 AM, Marco van de Voort mar...@stack.nl wrote:
On Mon, Apr 09, 2012 at 09:37:16AM -0300, Marcos Douglas wrote:
Lenght function do not works with UTF8 correctly.
procedure TForm1.Button1Click(Sender: TObject);
begin
Edit1.Text := '??b??';
On Mon, 9 Apr 2012 11:50:37 -0300
Marcos Douglas m...@delfire.net wrote:
On Mon, Apr 9, 2012 at 11:14 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
On Mon, Apr 9, 2012 at 2:37 PM, Marcos Douglas m...@delfire.net wrote:
The result is 5 not 3, but you did know
On Mon, Apr 9, 2012 at 12:17 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Mon, 9 Apr 2012 11:50:37 -0300
Marcos Douglas m...@delfire.net wrote:
On Mon, Apr 9, 2012 at 11:14 AM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
On Mon, Apr 9, 2012 at 2:37 PM,
On Mon, Apr 09, 2012 at 11:56:50AM -0300, Marcos Douglas wrote:
The result is 5 not 3, but you did know this of course.
Both are valid results. The first is needed when you copy the string (bytes
to move) the second to display the string (since it will probably be around
3 glyphs (yes, I
Marcos Douglas schrieb:
For the Lazarus sources yes, but not for RTL.
I still think about:
DirectoryExists or DirectoryExistsUTF8
ForceDirectoriesUTF8 or ForceDirectories
Pos or UTF8Pos
etc
Depends what part of code you are...
Yes, it's a real pain. I once used the Windows API function
Marcos Douglas schrieb:
Lenght function do not works with UTF8 correctly.
procedure TForm1.Button1Click(Sender: TObject);
begin
Edit1.Text := 'ábç';
ShowMessage(IntToStr(Length(Edit1.Text)));
end;
The result is 5 not 3, but you did know this of course.
Yes. For Unicode encoding we
On Mon, Apr 9, 2012 at 2:18 PM, Jürgen Hestermann
juergen.hesterm...@gmx.de wrote:
Marcos Douglas schrieb:
For the Lazarus sources yes, but not for RTL.
I still think about:
DirectoryExists or DirectoryExistsUTF8
ForceDirectoriesUTF8 or ForceDirectories
Pos or UTF8Pos
etc
Depends what
On Mon, 09 Apr 2012 19:18:15 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
Marcos Douglas schrieb:
For the Lazarus sources yes, but not for RTL.
I still think about:
DirectoryExists or DirectoryExistsUTF8
ForceDirectoriesUTF8 or ForceDirectories
Pos or UTF8Pos
etc
On Mon, 09 Apr 2012 19:23:08 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
Marcos Douglas schrieb:
Lenght function do not works with UTF8 correctly.
procedure TForm1.Button1Click(Sender: TObject);
begin
Edit1.Text := 'ábç';
ShowMessage(IntToStr(Length(Edit1.Text)));
On Mon, 9 Apr 2012 12:25:43 +0200
Bernd prof7...@googlemail.com wrote:
2012/4/9 waldo kitty wkitt...@windstream.net:
interesting... i do not recall useride in what i was looking at in the
makefile but... where do you see this listed as a make target?
A few months ago I noticed a commit
On Mon, Apr 9, 2012 at 3:39 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Mon, 09 Apr 2012 19:23:08 +0200
Jürgen Hestermann juergen.hesterm...@gmx.de wrote:
Marcos Douglas schrieb:
Lenght function do not works with UTF8 correctly.
procedure TForm1.Button1Click(Sender:
On Mon, Apr 9, 2012 at 4:50 PM, Marcos Douglas m...@delfire.net wrote:
Agree.
But I did not wanted to check every single function if will work or
not. That would be very dangerous.
You could start a section in the wiki and help us document this. A
section in this page:
On Mon, 9 Apr 2012 16:59:57 -0300
Marcos Douglas m...@delfire.net wrote:
[...]
Length = size in bytes
UTF8Length = number of code points
There is no generic function LengthInGlyphs, because this depends on the
font engine and some code points do not have a glyph.
In the future, we
Mattias Gaertner schrieb:
Yes. For Unicode encoding we would need new functions to distinguish
between number of bytes and number of (visible) glyphs:
LengthInBytes()
LengthInGlyphs()
It should be mentioned that Unicode allows for different encodings of
composed/decomposed characters. E.g.
Marcos Douglas schrieb:
I still think about:
DirectoryExists or DirectoryExistsUTF8
ForceDirectoriesUTF8 or ForceDirectories
Pos or UTF8Pos
etc
Depends what part of code you are...
Such problems may (should) go away with the new Unicode- and AnsiString
types, where AnsiString contains an
On Mon, Apr 9, 2012 at 5:05 PM, Felipe Monteiro de Carvalho
felipemonteiro.carva...@gmail.com wrote:
On Mon, Apr 9, 2012 at 4:50 PM, Marcos Douglas m...@delfire.net wrote:
Agree.
But I did not wanted to check every single function if will work or
not. That would be very dangerous.
You
On Mon, Apr 9, 2012 at 5:43 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
On Mon, 9 Apr 2012 16:59:57 -0300
Marcos Douglas m...@delfire.net wrote:
[...]
Length = size in bytes
UTF8Length = number of code points
There is no generic function LengthInGlyphs, because this depends on
On Mon, Apr 9, 2012 at 8:17 PM, Hans-Peter Diettrich
drdiettri...@aol.com wrote:
Marcos Douglas schrieb:
I still think about:
DirectoryExists or DirectoryExistsUTF8
ForceDirectoriesUTF8 or ForceDirectories
Pos or UTF8Pos
etc
Depends what part of code you are...
Such problems may
When I need a variation in procedures (standalone, not a class or
object procedure) I use across my applications, I often find it more
convenient to create a copy the unit into the project folder and make
the changes there. Sometimes they get merged back into the shared unit
or not at all.
I am
32 matches
Mail list logo