Howdy Boki,
I just noticed then attempting to alter the default value for the alignment in
a tNxMaskEdit6 (from taLeftJustify to another supplied value), a fatal error
occurs within the Delphi 7 IDE.
I've attached a screen shot.
Thanks,
Posted 24 May 2017 - 07:00 PM
Howdy Boki,
I just noticed then attempting to alter the default value for the alignment in
a tNxMaskEdit6 (from taLeftJustify to another supplied value), a fatal error
occurs within the Delphi 7 IDE.
I've attached a screen shot.
Thanks,
Posted 24 May 2017 - 09:01 PM
procedure TNxMaskEdit6.SetAlignment(const Value: TAlignment); begin FAlignment := Value; RecreateWnd; end;and also add next procedure in protected section of TNxMaskEdit6:
procedure CreateParams(var Params: TCreateParams); override;
procedure TNxMaskEdit6.CreateParams(var Params: TCreateParams); begin inherited; Params.Style := Params.Style or (ES_AUTOHSCROLL or ES_AUTOVSCROLL) or WS_CLIPCHILDREN or AlignmentStyles[FAlignment]; end;You will probably need to re-build package, or set Alignment from code to avoid crash.
Posted 25 May 2017 - 07:46 PM
Howdy Boki,
I understand & agree.
I just wanted to make you aware of the bug (for your next release).
Thanks,
0 members, 2 guests, 0 anonymous users