25 |
ImageSize property on 32 (specifies the size of the control' icons)
|
24 |
ImageSize property on 16 (default) (specifies the size of the control' icons)
|
23 |
Show the control's tooltip
|
22 |
The color I set for the control's background is not what I expect. Is there anything I can do
Button1->BackColor = RGB(255,0,0); Button1->RenderType = -1; Button1->Caption = L"Command"; |
21 |
How can I display the pointer (hand cursor) when the mouse cursor hovers the control
|
20 |
How can I align the picture inside the caption (3)
Button1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif"); Button1->Alignment = Exbuttonlib_tlb::AlignmentEnum::exLeft; Button1->Caption = L"<img>pic1</img><br>This is a just the rest of the caption"; |
19 |
How can I align the picture inside the caption (2)
Button1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif"); Button1->Alignment = Exbuttonlib_tlb::AlignmentEnum::exLeft; Button1->Caption = L"This is a just the rest of the caption<r><img>pic1</img>"; |
18 |
How can I align the picture inside the caption (1)
Button1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif"); Button1->Alignment = Exbuttonlib_tlb::AlignmentEnum::exLeft; Button1->Caption = L"<img>pic1</img>This is a just the rest of the caption"; |
17 |
How can I display the caption in mirror
Button1->Alignment = Exbuttonlib_tlb::AlignmentEnum::exCenter; Button1->VAlignment = Exbuttonlib_tlb::VAlignmentEnum::exMiddle; Button1->Caption = L"Command"; Button1->BackColor = RGB(255,255,255); Button1->Rotate = Exbuttonlib_tlb::HTMLRotateEnum::exHTMLMirror; |
16 |
How can I display vertically the caption
Button1->Alignment = Exbuttonlib_tlb::AlignmentEnum::exCenter; Button1->VAlignment = Exbuttonlib_tlb::VAlignmentEnum::exMiddle; Button1->Caption = L"Command"; Button1->BackColor = RGB(255,255,255); Button1->Rotate = Exbuttonlib_tlb::HTMLRotateEnum::exHTMLVertical; |
15 |
How can I display a picture on the button's face to be scaled automatically once the button is resized
Button1->Picture = (IPictureDisp*)(Button1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); Button1->PictureDisplay = Exbuttonlib_tlb::PictureDisplayEnum::Stretch; |
14 |
How can I display an & ( ampersand ) in the button's caption
|
13 |
How can I define my own visual appearance / style for my button
Button1->Style = Exbuttonlib_tlb::StyleEnum::exCustom1; Button1->AllowHotState = true; Button1->BackColor = RGB(255,255,255); Button1->Skin(Exbuttonlib_tlb::StateEnum::exNormal,L"c:\\exontrol\\images\\normal.ebn"); Button1->Skin(Exbuttonlib_tlb::StateEnum::exPushed,L"c:\\exontrol\\images\\pushed.ebn"); Button1->Skin(Exbuttonlib_tlb::StateEnum::exHot,L"c:\\exontrol\\images\\hot.ebn"); Button1->Skin(Exbuttonlib_tlb::StateEnum::exDisabled,L"c:\\exontrol\\images\\border.ebn"); |
12 |
How can I display a percent bar over the control
// Click event - Occurs when the user presses and then releases the left mouse button over the control. void __fastcall TForm1::Button1Click(TObject *Sender) { Button1->BackgroundExtValue[Exbuttonlib_tlb::IndexExtEnum::exIndexExt5,Exbuttonlib_tlb::BackgroundExtPropertyEnum::exClientExt] = TVariant("25%"); Button1->BackgroundExtValue[Exbuttonlib_tlb::IndexExtEnum::exIndexExt5,Exbuttonlib_tlb::BackgroundExtPropertyEnum::exTextExt] = TVariant(Button1->BackgroundExtValue[Exbuttonlib_tlb::IndexExtEnum::exIndexExt5,Exbuttonlib_tlb::BackgroundExtPropertyEnum::exClientExt]); } Button1->Caption = L"Command"; Button1->VAlignment = Exbuttonlib_tlb::VAlignmentEnum::exTop; Button1->BackgroundExt = TVariant(String("bottom[4],left[4],right[4],bottom[16,pattern=0x000,frame=RGB(0,0,0)](left[50%,back=RGB(0,255,0),text=`<font ;6><sha ;;0>50%`,al") + "ign=0x11,pattern=0x006,patterncolor=RGB(0,128,0),frame=RGB(0,128,0)])"); Button1->BackgroundExtValue[Exbuttonlib_tlb::IndexExtEnum::exIndexExt5,Exbuttonlib_tlb::BackgroundExtPropertyEnum::exClientExt] = TVariant("75%"); Button1->BackgroundExtValue[Exbuttonlib_tlb::IndexExtEnum::exIndexExt5,Exbuttonlib_tlb::BackgroundExtPropertyEnum::exTextExt] = TVariant(Button1->BackgroundExtValue[Exbuttonlib_tlb::IndexExtEnum::exIndexExt5,Exbuttonlib_tlb::BackgroundExtPropertyEnum::exClientExt]); |
11 |
Is it possible to display an additional caption on the control's background
|
10 |
How can I display a pattern over the button
|
9 |
Does your control support subscript or superscript, in HTML captions
|
8 |
How can I change the caption
Button1->Caption = L"Mühle"; |
7 |
Is it possible to specify the control's background color when disabled
Button1->Caption = L"<fgcolor=808080>Disabled"; Button1->Enabled = false; Button1->ForeColorState[Exbuttonlib_tlb::StateEnum::exDisabled] = RGB(0,255,0); |
6 |
How can I disable the control
|
5 |
How do I put/resize/stretch a picture on the control's background
|
4 |
How can I change the control's font
/* Select the Component\Import Component...\Import a Type Library, to import the following Type Library: OLE Automation TypeLib: stdole2.tlb to define the namespace: Stdole_tlb */ //#include "STDOLE_TLB.h" Stdole_tlb::FontPtr f = Variant::CreateObject(L"StdFont"); f->Name = L"Verdana"; f->Size = TVariant(long(12)); Button1->Font = (IFontDisp*)(f); Button1->Caption = L"just the button's caption"; |
3 |
How do I change the control's foreground color
|
2 |
How do I change the control's foreground color
Button1->ForeColor = RGB(255,0,0); Button1->Caption = L"just the button's caption"; |
1 |
How do I change the control's background color
Button1->BackColor = RGB(255,0,0); Button1->BorderWidth = 8; Button1->BorderHeight = 8; |