On Monday 27 August 2012 13:40:59 Michael Fuchs wrote:
Am 27.08.2012 10:51, schrieb Michael Schnell:
If in future TObject is reference (as it might be in a future Delphi
version, according to an Embarcadero blog) counting (and thus using
.Free is not mandatory any more), [...]
I hope
On Tue, 28 Aug 2012, Graeme Geldenhuys wrote:
On 28/08/12 02:48, Luiz Americo Pereira Camara wrote:
Back in 2010, in the thread about observer support in fcl, i asked if
the actions would be customizable so i could, e.g., notify/observe if a
child was added or removed in a tree structure.
On 28/08/12 08:50, michael.vancann...@wisa.be wrote:
The first:
Procedure TmyObject.SomethingChanged;
Var
Rec : TMyOperationInfo; // Contains custom information about your
operation.
begin
Rec.XYZ:=MoreInfo; // Set up as needed.
FPONotifyObservers(Self,ooCustom,@Rec);
end;
Correct, and
On 28/08/12 08:57, michael.vancann...@wisa.be wrote:
I think you didn't read the original poster's mail subject line 100%
carefully :-)
My apologies, I thought he was commenting on the FPObserver support
added as a unit to FCL, not RTL. The subject line quoting a old post or
something.
Em 28/8/2012 04:50, michael.vancann...@wisa.be escreveu:
On Mon, 27 Aug 2012, Luiz Americo Pereira Camara wrote:
I ask to change to a mechanism that could allow customizable
operations (more than one)
That is why you have ooCustom.
I'm asking that because i have implemented a similar
On Tue, 28 Aug 2012, Luiz Americo Pereira Camara wrote:
Em 28/8/2012 04:50, michael.vancann...@wisa.be escreveu:
On Mon, 27 Aug 2012, Luiz Americo Pereira Camara wrote:
I ask to change to a mechanism that could allow customizable operations
(more than one)
That is why you have
On 28/08/12 13:15, michael.vancann...@wisa.be wrote:
For example, on my 'doubtful' list I had ooPropertyChange, to be used
in combination with the GetPropInfo() and a call in TPersistent:
FPOPropertyChanged(Const APropName : String);
This could work, and I can see use-cases where this could
Em 28/8/2012 09:15, michael.vancann...@wisa.be escreveu:
On Tue, 28 Aug 2012, Luiz Americo Pereira Camara wrote:
Why not let TFPObservedOperation as integer and define constants.
It could define a constant like ooUser = 32
Below ooUser is reserved for future default constants
Above ooUser
On Tue, 28 Aug 2012, Luiz Americo Pereira Camara wrote:
Em 28/8/2012 09:15, michael.vancann...@wisa.be escreveu:
On Tue, 28 Aug 2012, Luiz Americo Pereira Camara wrote:
Why not let TFPObservedOperation as integer and define constants.
It could define a constant like ooUser = 32
Below
Em 28/8/2012 12:46, michael.vancann...@wisa.be escreveu:
On Tue, 28 Aug 2012, Luiz Americo Pereira Camara wrote:
Em 28/8/2012 09:15, michael.vancann...@wisa.be escreveu:
On Tue, 28 Aug 2012, Luiz Americo Pereira Camara wrote:
Why not let TFPObservedOperation as integer and define
On 27.08.2012 13:52, Marco van de Voort wrote:
In our previous episode, Jonas Maebe said:
Seriously, even if you forget compatibility, it is impossible to assess
something like that without in-depth design (and preferably a test
implementation).
Could always look at Delphi XE3:
On Tue, 28 Aug 2012, Sven Barth wrote:
On 27.08.2012 13:52, Marco van de Voort wrote:
In our previous episode, Jonas Maebe said:
Seriously, even if you forget compatibility, it is impossible to assess
something like that without in-depth design (and preferably a test
implementation).
I might be doing something wrong.
I was trying to build a cross compiler (well I took a script that is to
build a arm cross, and only did a search and replace... So there is
plenty of room for error on by side.
Before I go and look deeper: Should it work. Or is the below correct and
it is
Luiz Americo Pereira Camara schrieb:
This is the purpose i intend to use (replace my implementation).
Basically is a tree structure that needs to be observed. To avoid
performance problems like having to parse all the tree when a change
occurs i defined actions when a Child is added, deleted
Martin schrieb:
C:/FPC/tag_build_2_6_0/fpcsrc/compiler/ppcx64.exe -Ur -Xs -O2 -n -Fui386
-Fusystems -FuC:/fpc/tag_build_2_6_0/fpcsrc/rtl/units/x86_64-win64
-Fii386 -FE. -FUi386
/units/x86_64-win64 -dRELEASE -di386 -dGDB -dBROWSERLOG -Fux86 pp.pas
fpcdefs.inc(160,2) Error: User defined:
15 matches
Mail list logo