On 21/05/16 18:48, Vojtěch Čihák wrote:
is there some event (message or method) triggered when component is selected in
OI?
It's just like PageControl and its TabSheets. When you select TabSheet in OI,
component
is repainted in form designer. I oberved the code but I didn't find solution.
On 20/01/16 17:30, Péter Gábor wrote:
Width of the designed menu must be calculated using the length of
captions including the lenght of actual translation of "Add menuitem"...
Otherwise if the menu captions are too short the command's caption will
not fit.
See the attached screenshot.
Yes, in
On 21/01/16 13:29, Mattias Gaertner wrote:
On Thu, 21 Jan 2016 13:21:57 +
Howard Page-Clark <h...@talktalk.net> wrote:
[...]
I don't know anything about the translation process, or at what stage in
the IDE initialization captions are replaced with translated
resources
On 17/01/16 23:22, Maxim Ganetsky wrote:
16.01.2016 1:19, Howard пишет:
I have submitted a patch (29411) which I hope addresses these issues,
except for the issue:
'String "composing" is still present ... in main menu creation form in
"add menu item" fields captions'
I am not clear about which
On 04/01/2016 14:24, Bart wrote:
On 12/22/15, Juha Manninen <juha.mannine...@gmail.com> wrote:
Hello
I committed a new Menu Designer by Howard Page-Clark in r50992.
See:
http://bugs.freepascal.org/view.php?id=29205
Can we implement it so that adding a sumnenu to a Separator (a
me
On 04-Jan-16 0:49, Anthony Walter wrote:
Ondrej has been rapidly fixing issues in mantis and noted that there are
problems with the new menu designer and the docked form designer.
http://mantis.freepascal.org/view.php?id=29328
While testing I noticed a few design issues with the new menu
On 26/12/2015 23:27, Juha Manninen wrote:
Howard, as the author you also have voting power over the GUI.
Besides GUI design is difficult, there is never a "right" solution
that everybody would agree upon.
Yes, dictatorship is far more efficient than democracy.
Yet I feel some things should be
On 27/12/2015 13:25, Ondrej Pokorny wrote:
On 27.12.2015 14:21, Juha Manninen wrote:
On Sun, Dec 27, 2015 at 2:46 PM, Ondrej Pokorny
wrote:
>Highlighting works fine on Windows. It doesn't work on Linux. I haven't
>checked OSX.
Strange. I have tested with GTK2 and QT on
ld one. Everybody who has
modified and improved it says the same. Some improvements just feel
impossible without a complete rewrite.
So, this was the rewrite we were asking for.
I was hoping the author Howard Page-Clark would participate in the
discussion and improve his designer based on feedback. Maint
On 09/12/2015 20:11, Donald Ziesig wrote:
Is there any way to pass a method function as the Compare parameter to
a TList or is there a work around for it?
As in:
type
TMyClass = object
fIndex : Integer;
List : array of TList;
function Compare( Item1, Item2 : Pointer) :
On 12/10/2015 15:37, Ondrej Pokorny wrote:
When I compile a project in the IDE with Ctrl+F9 the editor window loses
focus. Instead the message window is focused. When compiling is done,
message window is still focused (even after a successful compile).
In the IDE Options dialog under
On 02/08/2015 18:33, Jürgen Hestermann wrote:
In a TEdit component, how do I find out which character is at the
caret/cursor position?
Or in other words: At which (string) position will the next typed
character be inserted?
I want to insert text at just that position myself but cannot find out
On 27/07/2015 10:31, Xiangrong Fang wrote:
Hi There,
Can I somehow get the object which owns a Canvas? e.g.:
function GetCanvasOwner(ACanvas: TCanvas): TObject;
begin
Result := ACanvas.Owner;
end;
pb := TPaintBox(GetCanvasOwner(pb.Canvas);
A TCanvas does not have a built-in Owner
On 04/07/2015 09:46, Susie Nicol wrote:
Hi - me again
I have a Lazarus treeview, which I am populating from several sql queries.
I add child nodes in this way, setting them to one of the fields
returned from the query
while Not SQLQuery1.EOF do
Begin
On 13/05/2015 23:38, Juha Manninen wrote:
Please give opinions about new proposed icons for LHelp.
See issue :
http://bugs.freepascal.org/view.php?id=28072
There is a screenshot.
I'm perhaps just rather dense - but I don't find any of these icons
enhances my use of LHelp, because I don't
On 11/05/2015 22:41, Anders Eriksson wrote:
How do I change properties for GUI-components from another unit?
e.g. hide a button or change a label text from a different unit.
Two example units that inter-communicate might be as follows:
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
On 09/04/2015 18:30, John Landmesser wrote:
from Delphi i know there is a editor to change the order in which
objects of the Application are created:
I have a IniPropStorage and that has to be created before a FileListView.
Searched the IDE, i know its there, but i can't find it!
Project
On 04/04/2015 19:04, Donald Ziesig wrote:
Hi All!
I have several apps that use combo boxes for (e.g.) Minutes. For
Minutes, the items range from 0 to 59. The Object Inspector shows that
the DropDownCount is 8, but no matter what I put in there, I get the
entirety of the items.
This seems
On 27/03/2015 20:40, JuuS wrote:
Happy Friday,
Before I put on RC1, then RC2, I would find that adding a procedure gave
something like this in body:
procedure TfrmJuuRSync.EditButton1Change(Sender: TObject);
begin
end;
I would then realize I don't want this procedure. If I left it blank, no
On 21/03/2015 20:56, Michael Thompson wrote:
The (dead) link is
http://eletronicalivre.incubadora.fapesp.br/portal/english/oscilloscope/%7CISA
This link is dead from my location also.
Howard
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
--
On 07/03/2015 10:15, Mattias Gaertner wrote:
On Tue, 03 Mar 2015 16:31:59 +
Howard Page-Clark h...@talktalk.net wrote:
Descendants of TCustomCheckbox and TCustomButton have public Shortcut
and ShortcutKey2 properties which cannot be set since they are read-only.
What is the purpose
Descendants of TCustomCheckbox and TCustomButton have public Shortcut
and ShortcutKey2 properties which cannot be set since they are read-only.
What is the purpose of these properties?
Howard
---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com
--
On 16/02/2015 22:38, Mattias Gaertner wrote:
The Lazarus team would like to announce the first release candidate
for the upcoming Version 1.4. ...
Huge thanks to the team who have laboured to produce this latest marvel.
It installed flawlessly (on my Windows 7 machine) in about 40 seconds,
On 07/01/2015 06:49, Marc Santhoff wrote:
Hi,
it has been a very long time since I've programmed GUIs. I have
forgotten how to fill a ListBox without having the event handler
OnSelectionChange executed.
How can it be done?
ListBox1.Items.Assign(someStringlist);
does not trigger the
On 09/12/2014 10:41, John Landmesser wrote:
no crash on a 32bit Windows XP with
For me it sometimes crashes, and sometimes does not (Win7 32-bit).
The problem is not with adding an item to TCollection (which is fine as
far as I can see), but probably some hard to find bug in the LCL which
On 08/11/2014 00:35, Bob B. wrote:
and my Delphi 3 code for OnFind does not work in Lazarus, at least not
in Laz 1.2.4 for Win32. Could some kind person please offer an example
that works?
Drop a TFindDialog, TMemo, TPopupMenu on the main form of a new default
Lazarus project, and code
On 05/11/2014 18:58, Rik van Kekem wrote:
So it should be something like this (with my limited English):
*Error: Property can't have a default value*
Set properties or indexed properties cannot have a default value
if the upper and lower bounds of the set's base type have ordinal
values
On 16/10/2014 12:54, Kostas Michalopoulos wrote:
On Wed, Oct 15, 2014 at 6:34 PM, Jürgen Hestermann
juergen.hesterm...@gmx.de mailto:juergen.hesterm...@gmx.de wrote:
But IMO the majority of icons is meaningless.
Some even look very similar although they mean
complete different
On 18/09/2014 17:41, Giuliano Colla wrote:
Canvas.RadalPie on GTK2 and Windows works only clockwise, but provides a
very poor image (more like a portion of an octagon that a portion of a
circle).
Counterclockwise it generates the image of my previous e-mail.
On Windows here, Pie (RadialPie)
On 15/09/2014 13:10, Richard Mace wrote:
Hi All,
I just want to make sure that I am not doing anything wrong here, please
can somebody give me a little code example of how to correctly set the
font to bold and a differnet colour in a listview entry?
I wouldn't claim the following is 'correct',
On 12/09/2014 13:04, Henry Vermaak wrote:
On Fri, Sep 12, 2014 at 08:18:36AM -0300, Leonardo M. Ramé wrote:
Hi, I need to convert strings with format d-mmm-y to TDateTime.
For example: '12-Sep-14'
This will accomplish the task.
function DatestrToDateTime(const aDate: string): TDateTime;
On 09/09/2014 21:17, Sven Barth wrote:
Hello together!
I'm currently working on a project that uses the good old Graph units
(or PtcGraph to be more precise) and I have the problem that code
completion is erratic if (Ptc)Graph is in the uses-clause, because the
IDE can not find the graphh.inc
On 02/08/2014 10:41, FreeMan wrote:
Tmy_Form = class(TForm)
private
{ private declarations }
v1:integer;
v2:string;
public
{ public declarations }
function exmple(v1:integer;v2:string):boolean;
end;
when compile:
xx.pas(8,21) Error: Duplicate identifier
On 28/05/2014 00:46, Etienne Leblois wrote:
how to manage that scrolling or arrowing up in one memo will also
scroll up the other one ?
The following Windows example shows how to synchronise scrolling between
two memos (Memo1, Memo2) using scrollbar movement. Responding to memo
caret
On 13/05/2014 16:49, Chris Crori wrote:
I have a thumbnail section in my main program form. In the forms, I use
GetFormImage to make an image and send it to the mainform.
The bug is that some components are not visible in this image.
TDBGrid is one and a custom component derived from TBitBtn is
On 25/04/2014 18:30, Richard Mace wrote:
I have some code that populates a TMemo via TMemo.Text := 'lots of lines
of text..' and need a cross platform way of programatically forcing the
TMemo to display the last entry as if the user has had manually scrolled
to the bottom.
You can also use
On 19/04/2014 02:03, Eric Kom wrote:
Hi Dear;
Please I'm looking for the *OnBeforeSelection *Event on the TDBGrid?
I can only see the OnSelectEditor.
It is a protected property, so to use it you must declare a descendant
and make it public (or published).
Howard
--
On 12/04/2014 23:02, Frank Poretzky wrote:
Apart from FindComponent, which makes an application with lots of
modal windows very complex, I tried various versions of
...
with a corresponding AppOnMinimize() procedure. None of them worked
well, especially with the modal sub-sub-form scenario
On 12/04/2014 17:06, Frank Poretzky wrote:
Is there a way to modify my modal form to get it minimized as well?
Create your modal form with the main form as its owner, and give it a
unique Name at creation.
In your main form's declaration set up two Application handlers,
OnMinimize and
On 11/04/2014 19:33, Timothy Groves wrote:
No; I am unsure as to how to do that. Would I need to create a
descendant class, or does Lazarus support overriding without doing so?
The following should give you an idea how to develop the hint Mattias gave:
===code===
unit testIntWheelEdit;
On 01/04/2014 09:44, Michael Schnell wrote:
In fact Bob is not doing this (eating up CPU Cycles), but he uses
wait(), which only hampers it's own project.
Actually Bob's wait uses his own TTimer-based code, and is not well
designed.
As Flavio wrote, he would be best to replace all his waits
On 31/03/2014 10:25, Michael Schnell wrote:
On 03/31/2014 01:44 AM, Bob Axtell wrote:
can someone show a newbie how to use the two system timers?
What do you mean by system timers ?
I think he means the TTimer and TIdleTimer found on the System page of
the Component Palette.
If you drop
I've been experimenting with the codetools example finddeclaration
project, using the codetools outside the IDE, and feeding FPC and
Lazarus source directory information via environment variables to the
CodeToolBoss constructor, which works OK for simple source files.
However, when looking for,
On 24/03/2014 18:19, Gary Randall wrote:
If someone can tell me how to post a .png image to the forum I can show you
the stringgrid format I need.
Once logged in, go to the appropriate forum board (say Lazarus General)
and click the [New Topic] button. As well as filling in the subject
field
On 22/03/2014 20:53, Gary Randall wrote:
... Specifically, I need to change the
penstyle and weight of row/col borders.
The public properties:
GridLineColor
GridLineStyle
and published property
GridLineWidth
may be all you need, without custom drawing.
Howard
--
On 12/03/2014 13:53, Richard Mace wrote:
Hi,
I am trying to check to make sure the a string contains at least 1
uppercase character, 1 lowercase character and 1 number.
Any ideas as of the best way of coding this?
If you restrict yourself to Latin ansi encoding and 'number' means a
numeric
On 07/01/2014 18:04, Richard Mace wrote:
Hi,
Is there an existing routine in Lazarus that will get and set
effectively the x numbered word in a sentence without actually knowing
what the actual word is?
E.g with the string the cat sat on the mat
If word delimiters are consistently all the same
On 05/01/2014 23:50, Alejandro Gonzalo wrote:
For example, if you want to loop though components and set the
dbNavigator's DataSource property to that of the component if it has a
DataSource property (and of course is not a dbNavigator itself). It
seems you can't do that by using the
On 26/12/2013 12:03, Frederic Da Vitoria wrote:
Should I
forget about deriving TShape and should I directly modify TShape's code?
For a project that needed something similar I found that TShape with its
fixed TShapeType enumeration was too inflexible (though it is
Delphi-compatible, hence
On 25/12/2013 13:20, Tom Backer Johnsen wrote:
I have a small problem with Lazarus on a Mac. If I use the print
option on a source element, it is printed out, but ...
The file to fiddle with is
lazarus\components\printers\design\sourceprinter.pas
Perhaps a horrid hack such as changing line
On 18/11/2013 16:00, Avishai wrote:
Why do we have both TSpinEdit and TFloatSpinEdit? It seems like
TFloatSpinEdit is enough. TFloatSpinEdit has property DecimalPlaces
and when set to 0, it displays an Integer (although it's a Float).
It's easy enough to get the Integer Value, but it could
On 11/10/2013 22:00, Mark Morgan Lloyd wrote:
Given a TPageControl with several existing pages, how does one insert
a page at a specified position rather than at the end?
This function should do it:
uses ComCtrls;
function InsertAt(ExistingIndex: integer;
aPageControl:
On 05/10/2013 16:25, Graeme Geldenhuys wrote:
Does LCL not have a TPopupWindow class? eg: like you would use for Hint
Windows, Splash Screens etc? Weird.
There is THintWindow in the Forms unit, but AFAIK it does not allow the
kind of border the OP wants without resorting to calls such as
On 11/09/2013 09:24, Antonio Fortuny wrote:
Le 11/09/2013 07:51, Richard Mace a écrit :
procedure TfrmMain.tvMainChange(Sender: TObject; Node: TTreeNode);
begin
ShowMessage('Node ' + IntToStr(Integer(Node.Data)));
change to:
ShowMessage('Node ' + IntToStr(*PtrInt***(Node.Data)));
Also
On 11/09/2013 18:03, Flávio Etrusco wrote:
On Wed, Sep 11, 2013 at 5:41 AM, Howard Page-Clark h...@talktalk.net wrote:
Also unless you want the treeview to behave as if it were fully initialised
with Data integer values of zero, you would need to add:
procedure TfrmMain.tvMainChange(Sender
On 30/08/2013 21:43, Mark Morgan Lloyd wrote:
What I'm considering is something like a » symbol to control whether an
extra pane is shown to the right of a text editor.
You might get some ideas from the SelComponentPageButton which has been
added in recent Lazarus commits (1.1).
See
People may be interested to listen to this 20 minute interview with
Anders (and a MS colleague named Steve Lucco) in which they discuss
Java, Javascript, C#, Typescript, XMl...
http://www.codeproject.com/Articles/619759/CodeProject-interviews-Anders-Hejlsberg-and-Steve
They also mention
On 10/07/2013 06:33, Richard Mace wrote:
Hi,
Could someone let me know what until WindowsVersion is in please?
The unit is win32proc.
Howard
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On 28/05/2013 12:51, amin ibrahime wrote:
Hi
I try to uses scanner by lazarus application to multiplateform i found
SANE demomain
i compiled and run under liunx but when run under widows i
need*libsane.dll *
where i can find this dll or its pascle source code to compile and use
Scanning
On 15/05/2013 19:19, waldo kitty wrote:
can someone please give me the steps, in simple layman's terms, that are
needed to convert a delphi project or application code to Lazarus/FPC? i
have never run delphi and have not the first clue other than there is
some sort of convertor available...
On 14/05/2013 15:32, Graeme Geldenhuys wrote:
On 2013-05-14 14:07, Edilson Vieira wrote:
The project is an Image Generation Program, a console program.
The error ocurr when I call the method TextHeight of the Canvas property of
TBitmap.
You do realize that if you pull in the 'Graphics' unit
On 29/04/13 5:47, Jürgen Hestermann wrote:
Am 2013-04-29 18:38, schrieb K. P.:
Have you tried wrapping your writes in
memo1.Lines.BeginUpdate and memo1.Lines.BeginUpdate?
I have tried it now but it doesn't change anything.
In addition to wrapping the writes within BeginUpdate/EndUpdate
On 23/04/13 5:20, Jürgen Hestermann wrote:
I am stuck again. How can I make long (wide) text visible in a
restricted window?
Use a TMemo, and set its ScrollBars property to ssAutoBoth?
--
___
Lazarus mailing list
On 19/04/13 7:16, GREP wrote:
I don't even know how to add a hostfile
and your command on Windos XP sp3 dowsnot work
ipconfig
Try opening a command prompt in the directory
c:\windows\system32
and type
ipconfig /flushdns Enter
(note that an h was missed off the parameter in a previous
On 09/04/13 6:35, Leonardo M. Ramé wrote:
Well, I can live with the debugger problem, but is there a solution for
the ? sign end displaying in my app?.
If you get an ansi string, you must convert it to utf8 before giving
it to the LCL
need to find the exact function
label.caption :-
On 02/04/13 2:47, Antonio Fortuny wrote:
BUT:
on the form of an application (btw, multi-threaded + Indy 10) drop a
common TButton on the main (and only) form: OK.
When trying to assign an event to it: BOUM :o
the LCLClasses unit is displayed and the next error is displayed in the
errors
On 09/03/13 11:12, appjaws wrote:
Hi all,
I have a series of results, for each day of the month I have 10 numbers
ranging from 1 to 20. i.e.
Day11,3,4,5,7,9,12,16,17,20
Day23,4,5,6,8,9,15,17,18,19
etc.
Question 1 how can I find the number of 1's 2's 3's 4's etc. for the
whole month
On 09/03/13 3:06, appjaws wrote:
I have a series of results, for each day of the month I have 10 numbers
ranging from 1 to 20. i.e.
Day11,3,4,5,7,9,12,16,17,20
Day23,4,5,6,8,9,15,17,18,19
...
I just realised that I need to sort the numbers because they are not
like my example above.
On 02/03/13 10:51, Michael Van Canneyt wrote:
This will definitely cause a memory leak, because the FPC code does not
know that an exception occurred in the constructor (you catch it with
Except), and hence will not call the destructor.
Thanks for the correction and explanation.
Howard
--
On 20/02/13 9:05, Frédéric Loyer wrote:
When I create a new application project, my program start with a Unit1
(I can easily rename), associated with a Form1 I can't rename.
How can I change the name of this form ?
In the Lazarus IDE, make sure the form is selected by clicking it, move
focus
On 12/02/13 6:58, Donald Ziesig wrote:
The following code from my TemplateExpander unit fails at compilation:
uses
CodeToolOptions;
because the compiler can't find the file.
Assuming CodeTools has been added as a dependency for your project, I
think you also need to add in the Project
This is a suggestion for improving the Project Options UI.
The Application (settings) page now sports several platform-specific
options.
I think it would be better to group these by platform, and have the list
of settings identified by platform. Something like:
Cross-platform settings
On 25/1/13 3:55, appjaws wrote:
Hi,
Could one of you experts look at my code please.
My program crashes after the first set of strings are added because -- I
think -- the length is not updating.
The following is just a snipet.
It's hard to tell from a snippet, but I don't see anywhere that you
On 25/1/13 6:38, appjaws wrote:
On 25/01/13 18:26, Howard Page-Clark wrote:
On 25/1/13 3:55, appjaws wrote:
Hi,
Could one of you experts look at my code please.
My program crashes after the first set of strings are added because -- I
think -- the length is not updating.
You're
On 24/1/13 6:51, appjaws wrote:
I need a book or site that can explain these details and provide working
examples that I can use as practise.
I know what I want to achieve with a gui program but not the best way to
to complete an operation.
Have you looked at Lazarus the Complete Guide
On 22/1/13 2:22, xrfang wrote:
I try to make a dynamic library and get this error:
paintrect.pas(0,0) Fatal: Can not find unit Controls used by paintrect.
Check if package LCLBase is in the dependencies.
You need to add LCLBase as a project dependency.
Use the Project Inspector's Add button
On 13/1/13 1:58, Dave Coventry wrote:
On 13 January 2013 14:56, leledumbo leledumbo_c...@yahoo.co.id wrote:
Or const since it's meant to be read only
Hmmm.
Doesn't help. Still getting the same error.
I've tried passing the src parameter as a Pointer and then casting it
as an array of Char.
On 12/1/13 6:10, Dave Coventry wrote:
dst and src are passed to the function that calls Copybytes();
function copy_compressed_bytes(var dst: array of Char; var dloc, sloc:
integer; src: array of Char;
len: integer): integer;
begin
Copybytes(@dst[dloc],@src[sloc],16);
return 0;
end;
On 08/1/13 3:30, xrfang wrote:
I would like to use literal directly, such as:
Edit1.CaretPos := (X: 0, Y: 0);
You can use a typed constant thus:
const Origin: TPoint = (x:0; y:0);
begin
...
Edit1.CaretPos := Origin;
...
--
___
Lazarus mailing
On 08/1/13 3:14, Zaher Dirkey wrote:
We need the declaration for reproduce word, i don't think it is make
a similar to it, i need a lawyer :P
IANAL but reproduce here means produce a copy of, which you are not
doing.
Rather you are adapting the image (or taking inspiration from the image,
or
On 13/12/12 9:45, Jorge Gonçalves wrote:
Hi,
I'm translating one application from delphi to lazarus, and I'm having
some problems with the way lazarus and delphi stores calculate fields in
the dfm.
The delphi store one more property :Calculated. This property is
public and are stored using the
How's the best way of converting an integer number 208 (that is
pence) into a string value that is in pounds (2.08)
Here's another variant that provides an optional $, £ or €
uses math;
function PenceToString(pennies: integer; precision: integer=2;
currency:
On 12/12/12 1:40, Héctor F. Fiandor Rosario wrote:
Dear fellows:
I am using SQLite3 for an application and I have a problem.
I need to use a table in an unit that don´t has a form -is a unit for
ReadWrite procedures- and I can´t place the DataAccess for SQLite icom.
Please, in this cases, what
I discovered that a datamodule will let you drop a TMainMenu or a
TPopupMenu on it.
Is this by design, or an oversight?
Should I report this as a bug?
Howard
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
On 30/11/12 1:21, Martin wrote:
Hi,
I need some testers for all the different available platforms.
Because, unfortunately, I do not have every available hardware/OS myself :(
?xml version=1.0 encoding=utf-8?
TestResults
!-- Generated using FPCUnit on 2012-11-30 10:59:13--
TestListing
On 28/11/12 10:15, Erwin van den Bosch wrote:
procedure TForm1.Button1Click(Sender: TObject);
var
iLastError: integer;
begin
iLastError:=10053;
if iLastError in [10053, 10054] then Label1.Caption:='Yes, it works!'
else Label1.Caption:='No, it doesn''t
On 14/11/12 4:19, Curt Carpenter wrote:
Could anyone tell me where I'll find the system unit source? I have the
source for FPC, but can's seem to find system.pas anywhere.
Look in fpc/rtl/inc/system.inc
Howard
--
___
Lazarus mailing list
On 02/11/12 12:32, ik wrote:
After I executed a code from the IDE, I pressed by mistake on Do not
show this dialog anymore, of the finish dialog.
How can I make Lazarus to display it again (so it will be clearer when
the execution ended) ?
I think you mean the IDE Options dialog, Debugger,
On 30/10/12 10:49, Leonardo M. Ramé wrote:
Alberto, how can I make a window transparent?.
There's a suggestion here:
http://www.lazarus.freepascal.org/index.php/topic,18738.msg106055.html#msg106055
--
___
Lazarus mailing list
On 24/10/12 2:25, Marcos Douglas wrote:
In the example below, running on Windows:
The name of file, after saved, is atenção.txt but the content is atenção.
I understand the filename, i.e, I need to use UTF8ToSys but I do not
understand the valid content.
procedure TForm1.Button1Click(Sender:
Marc Weustink wrote:
A stringlist is not LCL and it does not expect anything but strings.
If you write the contents of a stringlist to a file you get bytes you
have put into the list. Nothing more nothing less.
Thanks for the clarification.
Juergen Hestermann wrote:
There is the theory of
On 24/10/12 12:40, Marcos Douglas wrote:
Nope.
A stringlist is not LCL and it does not expect anything but strings.
I agree...
If you write the contents of a stringlist to a file you get bytes you have
put into the list. Nothing more nothing less.
Yes, but...
If you want a UTF8 text
On 24/10/12 2:37, Marcos Douglas wrote:
...in my example I didn't do that and worked, why?
I had not explained very well. When I said the file is Ok I mean the
file on Windows Explorer, not in LCL.
Do the test and you see.
I guess the stringlist streaming saves the string with a BOM, and so
On 21/10/12 3:25, Timothy Groves wrote:
So I am trying to add a TListBox to my program. Relevant code is below.
TfrmFicMake = class(TForm)
.
.
.
lstVolumeList: TListBox;
.
.
.
end;
procedure TfrmFicMake.btnAddVolumeClick(Sender: TObject);
var
index
On 09/10/12 1:32, Frank Church wrote:
Whenever I press the enter key in an edit control which is not
configured to tab to the next item, all the ext in the edit control
becomes selected.
Is there some way to disable this behaviour, or unselect the selected text?
Try setting AutoSelect to
There is currently a spelling discrepancy which probably needs to be
rectified in that the OI Favorites page is spelt in the US way, as is
the popup context menu text that refers to it. Whereas the dialog
caption and interior label of the Add to favourite properties dialog
(and associated
On 10/9/12 7:36, Dave Coventry wrote:
Hi,
I have an array of Byte which I have loaded from a file.
I want to process a 100 byte section of the array which starts at
offset 32 in my array.
My function (or procedure) is as follows:
procedure decompress_r(cbuf: array of byte);
var
len,i:
On 06/9/12 10:05, Mattias Gaertner wrote:
The HTML is totally different.
I converted both to text, but the diff still shows a lot of formatting
changes. I attached the diff.
I used LibreOffice to do the editing, and it may have mangled the HTML
on saving. I'm not used either to editing HTML,
On 06/9/12 8:21, Roberto P. wrote:
Before going to call for a bug, is there anyone who can try it on a
blank Form ?
Setting biHelp here (Win 7, 32-bit app) does not give an extra border
icon. Presence/absence of a manifest makes no difference either.
Howard
--
On 03/9/12 9:56, Mattias Gaertner wrote:
On Mon, 3 Sep 2012 16:03:26 +0200
Vincent Snijders vincent.snijd...@gmail.com wrote:
Hi,
I looked at recent svn commits and wondered, what is aarre?
Aarre is finnish for treasure. Maybe the name
will change.
Aarre has the benefit of being
1 - 100 of 186 matches
Mail list logo