class-helpers Questions
4
Solved
I created this helper in order to add some more functions to the string type:
type
AStringHelper = record helper for string
function Invert: string; overload;
function InvertMe: string; overloa...
Saltwort asked 27/7, 2013 at 15:56
3
Solved
I would like to use Gabriel Corneanu's jpegex, a class helper for jpeg.TJPEGImage.
Reading this and this I've learned that beyond Delphi Seattle you cannot access private fields anymore like jpege...
Reber asked 20/5, 2016 at 16:11
2
Solved
This is a follow-up question to: How to hide a protected procedure of an object?
(I'm a bit fuzzy on the whole class helper concept)
Suppose I have an class like:
type
TShy = class(TObject)
st...
Pallaton asked 23/2, 2012 at 9:42
1
Solved
All of the documentation versions, including the one most up to date gives the following class/record helper syntax:
type
identifierName = class|record helper [(ancestor list)] for TypeIdentifier...
Emf asked 20/9, 2014 at 16:5
1
Solved
Lets say I have a sample class helper
TSampleClassHelper = class helper for TSampleClass
public
procedure SomeHelper;
end;
I do the following:
var
obj :TSampleClass;
begin
obj:=TSampleClass....
Dispassionate asked 21/6, 2013 at 19:57
3
Solved
I have few class helpers for components to create sub-components, like popup menus, to access this sub-components in run time, I create a Singleton TDictionary.
My question is how do I know that ...
Dibbrun asked 1/8, 2012 at 18:42
2
Solved
How can access the value of a class var using the address of the class and a offset to the variable?
I Need to access a strict private class var value of a class using his instance and a offset to the variable.
so far tried this , check this sample class
type
TFoo=class
strict private class v...
Ironbound asked 18/12, 2011 at 21:12
2
Solved
I need to access a strict protected property, because I need to create a validation (based in the value of this property) to avoid a bug. (I don't have the source code of the third party class whic...
Nucleotide asked 30/11, 2011 at 17:9
3
Solved
I'm using Delphi 2009. Is it possible to write a class helper for a generic class, i.e. for TQueue . The obvious
TQueueHelper <T> = class helper of TQueue <T>
...
end;
does not work...
Tyrannous asked 21/10, 2009 at 11:27
3
Solved
I'm currently rewriting a free educational digital circuit simulator to add inertiality to its features. My problem is how to dispatch events to original classes adding a pre-elaboration to them. I...
Jimmy asked 2/3, 2010 at 11:49
1
Solved
Does the extended RTTI in Delphi 2010 offer a way to list defined Class and Record Helpers at run time?
As far as I know Delphi does not show a hint or warning when more than one class helper is d...
Animus asked 10/2, 2010 at 18:45
10
Solved
Delphi 8 introduced Class Helpers for the purposes of mapping the VCL/RTL to the .NET object hierarchy. They allow injecting methods into an existing class without overriding the the class or modif...
Hallucinate asked 10/12, 2008 at 2:31
1
© 2022 - 2024 — McMap. All rights reserved.