Guadagnini David wrote:
Yes, those actions are *not* handled by the LCL, it is the widgetset
itself which handles the paste. Therefore, you won't see a call to
SetText.
This is a problem for components similar to MaskEdit because no one can
handle text input through alternative control + v.
Guadagnini David wrote:
Again, that did you do ? Paste by doing calling paste, or paste by
pressing ctrl-v (or choose paste form edit popup)
I tried past with ctrl+v, ctrl+ins and paste from edit popup but It's
the same
Yes, those actions are *not* handled by the LCL, it is the
Again, that did you do ? Paste by doing calling paste, or paste by
pressing ctrl-v (or choose paste form edit popup)
I tried past with ctrl+v, ctrl+ins and paste from edit popup but It's
the same
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
Guadagnini David wrote:
In attach You can found my TMaskEdit component with the changes proposed
by Marc.
Note:
TComponent have a big bug (for me). The windows message WM_PASTE is not
processed correctly.
In fact, if the override procedure RealSetText or WndProc by entering a
simple
Yes, those actions are *not* handled by the LCL, it is the widgetset
itself which handles the paste. Therefore, you won't see a call to
SetText.
This is a problem for components similar to MaskEdit because no one can
handle text input through alternative control + v.
Whether you know there is
Guadagnini David wrote:
In attach You can found my TMaskEdit component that work well in Windows
At first glance this looks like a clean implementation without copied
code (can sombody this verify agains cppbuilder implementations)
Some remarks about the code:
Try to avoid Arguments and
Guadagnini David wrote:
Try to avoid Arguments and Methods prefixed with _
For Aguments there is no problem in prefixing them with A, for
property getters there is nothing wrong with prefixing them with Get.
In your case, GetIsMask makes perfectly clear that it reads the
IsMasked property.
Try to avoid Arguments and Methods prefixed with _
For Aguments there is no problem in prefixing them with A, for
property getters there is nothing wrong with prefixing them with Get.
In your case, GetIsMask makes perfectly clear that it reads the
IsMasked property.
Ok!
Variable names
On 29/10/2007, Marc Weustink [EMAIL PROTECTED] wrote:
Guadagnini David wrote:
In attach You can found the first version of the control TMaskEdit.
For make it I used the delphi 5 source code.
PLEASE, PLEASE, PLEASE
Don't use copyrighted material when submitting code.
At least this time