TSporgloo IUse Delphi Button Class
_ButtonsAncestor.T__ButtonAncestor
_SporglooButtonAncestor.T__SporglooButtonAncestor
cSporglooIUseDelphiButton.TSporglooIUseDelphiButton
The TSporglooIUseDelphiButton type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create | Returns an instance of this class (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
Name | Description | |
---|---|---|
![]() | IsDown | Manage the status of this button (False by default) (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | IsFocused | Manage the focus state of this button (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | IsUp | Manage the status of this button (True by default) (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | Text | The text shown on this button (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | TimeBetweenDownAndUpStatesWhenClicked | Sleeping time between Down and up states when the Click method is called. Value is in milliseconds, used by the sleep() instruction. (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
Name | Description | |
---|---|---|
![]() | AfterConstruction | internal use, call it only if you override it in a descendant (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | BeforeDestruction | internal use, call it only if you override it in a descendant (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | Click | Called when the button is clicked. - activate the down status - wait for TimeBetweenDownAndUpStatesWhenClicked ms - activate the up status - call the onClick() event if it's not empty (you can override it but it's better to fill the onClick event) (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | DoTranslateTexts | (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | FrameMouseDown | (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | FrameMouseLeave | (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | IsClickable | By default this function returns True if the onClick events is not nil (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | Repaint | Called to refresh the button on screen, override it in your descendants or it will crash ! (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |
![]() | ResetFocus | mostly internal use, change then IsFocused property is better (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | SetFocus | mostly internal use, change then IsFocused property is better (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
![]() | TranslateTexts | Where you can translate the text of your button (override and call it in your descendants) (Inherited from _ButtonsAncestor.T__ButtonAncestor .) |
Name | Description | |
---|---|---|
![]() | pFocusedDown | (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |
![]() | pFocusedUp | (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |
![]() | rDown | (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |
![]() | rUp | (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |
![]() | txtDown | (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |
![]() | txtUp | (Inherited from _SporglooButtonAncestor.T__SporglooButtonAncestor .) |