This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure TTabControl.SetActiveTabWithTransitionAsync(const ATab: TTabItem; const ATransition: TTabTransition; | |
const ADirection: TTabTransitionDirection; const AType: TAnimationType; const AInterpolation: TInterpolationType; const ADuration: Single; const AOnFinish: TProc); | |
procedure AnimateControlPositionX(AParent: TFmxObject; const NewValue: Integer; | |
const AProgressHandler: TNotifyEvent; const AFinishHandler: TNotifyEvent); | |
var | |
A: TIntAnimation; | |
begin | |
TAnimator.StopPropertyAnimation(AParent, 'Position.X'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uses | |
System.SysUtils, System.Classes, System.Threading, | |
{$IFDEF MSWINDOWS} | |
Winapi.Windows; | |
{$ELSE POSIX} | |
Posix.Base; | |
{$ENDIF} | |
type | |
TConsoleCallback<T> = reference to procedure(Line: T); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RAD Studio 10.4 | |
unit Unit1; | |
uses | |
FMX.Types, FMX.Controls, FMX.Forms, FMX.ComboEdit, FMX.Text; | |
type | |
TComboEdit = class(TCustomComboEdit) | |
procedure OnValidateEvent(Sender: TObject; var Text: string); | |
procedure OnValidatingEvent(Sender: TObject; var Text: string); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Forked from freeonterminate (Hosokawa Jun) | |
//Translated by LilyStilson | |
unit uNSAppSample; | |
interface | |
implementation | |
{$IFDEF MACOS} |