This reference page is linked to from the following overview topics: Events & callbacks, User Interface, Widgets.
Visual Component base class.
All of the user interface elements available in the SDK derive from this class.
Definition at line 304 of file fbcontrols.h.
#include <fbcontrols.h>
Classes |
|
struct | __Border |
Border information structure. More... |
|
struct | __Region |
Region information structure. More... |
|
Public Member Functions |
|
FBVisualComponent (HIObject pObject) | |
Constructor. |
|
IObject_Declare (Implementation) | |
ICallback_Declare (Implementation) | |
virtual HIKtView | GetKtView () |
Get internal toolkit object. |
|
virtual bool | AddChild (HFBVisualComponent pChild, int pId=0) |
Add a child component. |
|
virtual HFBVisualComponent | GetChild (int pId=0) |
Get a child component. |
|
virtual void | Refresh (bool pNow=false) |
Refresh component. |
|
virtual void | ViewExpose () |
Exposed view callback function. |
|
virtual void | ViewInput (int pMouseX, int pMouseY, FBInputType pAction, int pButtonKey, int pModifier) |
Input callback function. |
|
virtual bool | IsView () |
Is component a view? |
|
Public Attributes |
|
struct FBVisualComponent::__Region | Region |
struct
FBSDK_DLL FBVisualComponent::__Border |
Border |
FBPropertyString | Caption |
Property: Widget caption. |
|
FBPropertyBool | Visible |
Read Write Property: Is visual
component visible? |
|
FBPropertyBool | ReadOnly |
Read Write Property: Is visual
component read only? |
|
FBPropertyBool | Enabled |
Read Write Property: Is visual
enabled? |
|
FBPropertyString | Hint |
Read Write Property: Hint to show.
|
|
FBPropertyInt | Left |
Read Write Property: Left coordinate.
|
|
FBPropertyInt | Top |
Read Write Property: Top coordinate.
|
|
FBPropertyInt | Width |
Read Write Property: Width. |
|
FBPropertyInt | Height |
Read Write Property: Height. |
|
FBPropertyEvent | OnEnter |
Event: On mouse enter. |
|
FBPropertyEvent | OnExit |
Event: On mouse exit. |
|
Protected Member Functions |
|
virtual HIKtObject | GetHIKtObject () |
Get internal toolkit object. |
|
Friends |
|
class | FBLayout |
FBVisualComponent | ( | HIObject | pObject | ) |
Constructor.
virtual HIKtObject GetHIKtObject | ( | ) | [protected, virtual] |
IObject_Declare | ( | Implementation | ) |
ICallback_Declare | ( | Implementation | ) |
Reimplemented from FBComponent.
virtual HIKtView GetKtView | ( | ) | [virtual] |
virtual bool AddChild | ( | HFBVisualComponent | pChild, |
int | pId = 0 |
||
) | [virtual] |
Add a child component.
pChild | Visual component to add as a child. |
pId | User reference number to associate with pChild(default=0). |
virtual HFBVisualComponent GetChild | ( | int | pId = 0 |
) | [virtual] |
Get a child component.
pId | User reference number to look for child with(default=0). |
virtual void Refresh | ( | bool | pNow = false |
) | [virtual] |
Refresh component.
pNow | Refresh immediately if true (default = false). |
Reimplemented in FBView.
virtual void ViewExpose | ( | ) | [virtual] |
Exposed view callback function.
virtual void ViewInput | ( | int | pMouseX, |
int | pMouseY, | ||
FBInputType | pAction, | ||
int | pButtonKey, | ||
int | pModifier | ||
) | [virtual] |
Input callback function.
pMouseX | Mouse X position. |
pMouseY | Mouse Y position. |
pAction | Mouse action. |
pButtonKey | Keyboard input. |
pModifier | Keyboard intput modifier. |
virtual bool IsView | ( | ) | [virtual] |
friend class FBLayout [friend] |
Definition at line 307 of file fbcontrols.h.
struct FBSDK_DLL FBVisualComponent::__Border Border |
Property: Widget caption.
Reimplemented in FBSpread, FBProgress, FBPopup, FBFilePopup, and FBFolderPopup.
Definition at line 421 of file fbcontrols.h.
Read Write Property: Is visual component visible?
Definition at line 422 of file fbcontrols.h.
Read Write Property: Is visual component read only?
Definition at line 423 of file fbcontrols.h.
Read Write Property: Is visual enabled?
Definition at line 424 of file fbcontrols.h.
Read Write Property: Hint to show.
Definition at line 425 of file fbcontrols.h.
Read Write Property: Left coordinate.
Definition at line 427 of file fbcontrols.h.
Read Write Property: Top coordinate.
Definition at line 428 of file fbcontrols.h.
Read Write Property: Height.
Definition at line 430 of file fbcontrols.h.