Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: TIWComboBox Property BGColor



Permlink Replies: 6 - Last Post: Mar 11, 2018 8:46 PM Last Post By: Alexandre Machado
Juergen Schlaack

Posts: 9
Registered: 8/29/00
TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 4, 2018 8:42 AM
Hi,

modifying the property BGColor at runtime seems not to work at all for INTRAWEB 14.2.6 in C++Builder, font color works fine.

void __fastcall TIWFormButtons::IWButton1AsyncClick(TObject *Sender, TStringList *EventParams)

{
IWComboBox->BGColor = clWebYellow;
IWComboBox->Font->Color = clWebRed;
}
//---------------------------------------------------------------------------

void __fastcall TIWFormButtons::IWButton2AsyncClick(TObject *Sender, TStringList *EventParams)

{
IWComboBox->BGColor = clWebRed;
IWComboBox->Font->Color = clWebBlue;
}

Juergen
Eitan Arbel

Posts: 508
Registered: 2/24/13
Re: TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 6, 2018 12:29 PM   in response to: Juergen Schlaack in response to: Juergen Schlaack
did you try in CSS?
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 6, 2018 1:28 PM   in response to: Juergen Schlaack in response to: Juergen Schlaack
Juergen Schlaack wrote:

Hi,

modifying the property BGColor at runtime seems not to work at all
for INTRAWEB 14.2.6 in C++Builder, font color works fine.

void __fastcall TIWFormButtons::IWButton1AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebYellow;
IWComboBox->Font->Color = clWebRed;
}
//--------------------------------------------------------------------


void __fastcall TIWFormButtons::IWButton2AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebRed;
IWComboBox->Font->Color = clWebBlue;
}

Juergen

I'll check that and let you know ASAP
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 6, 2018 1:30 PM   in response to: Juergen Schlaack in response to: Juergen Schlaack
Juergen Schlaack wrote:

Hi,

modifying the property BGColor at runtime seems not to work at all
for INTRAWEB 14.2.6 in C++Builder, font color works fine.

void __fastcall TIWFormButtons::IWButton1AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebYellow;
IWComboBox->Font->Color = clWebRed;
}
//--------------------------------------------------------------------


void __fastcall TIWFormButtons::IWButton2AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebRed;
IWComboBox->Font->Color = clWebBlue;
}

Juergen

I'll check that and let you know ASAP
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 8, 2018 4:36 PM   in response to: Juergen Schlaack in response to: Juergen Schlaack
Juergen Schlaack wrote:

Hi,

modifying the property BGColor at runtime seems not to work at all
for INTRAWEB 14.2.6 in C++Builder, font color works fine.

void __fastcall TIWFormButtons::IWButton1AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebYellow;
IWComboBox->Font->Color = clWebRed;
}
//--------------------------------------------------------------------


void __fastcall TIWFormButtons::IWButton2AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebRed;
IWComboBox->Font->Color = clWebBlue;
}

Juergen

I'll check that and let you know ASAP
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 11, 2018 2:33 PM   in response to: Juergen Schlaack in response to: Juergen Schlaack
Juergen Schlaack wrote:

Hi,

modifying the property BGColor at runtime seems not to work at all
for INTRAWEB 14.2.6 in C++Builder, font color works fine.

void __fastcall TIWFormButtons::IWButton1AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebYellow;
IWComboBox->Font->Color = clWebRed;
}
//--------------------------------------------------------------------


void __fastcall TIWFormButtons::IWButton2AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebRed;
IWComboBox->Font->Color = clWebBlue;
}

Juergen

I'll check that and let you know ASAP
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: TIWComboBox Property BGColor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 11, 2018 8:46 PM   in response to: Juergen Schlaack in response to: Juergen Schlaack
Juergen Schlaack wrote:

Hi,

modifying the property BGColor at runtime seems not to work at all
for INTRAWEB 14.2.6 in C++Builder, font color works fine.

void __fastcall TIWFormButtons::IWButton1AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebYellow;
IWComboBox->Font->Color = clWebRed;
}
//--------------------------------------------------------------------


void __fastcall TIWFormButtons::IWButton2AsyncClick(TObject *Sender,
TStringList *EventParams)

{
IWComboBox->BGColor = clWebRed;
IWComboBox->Font->Color = clWebBlue;
}

Juergen

I'll check that and let you know ASAP
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02