Jump to content
Sign in to follow this  
kockas

Combobox items work like "read-only" mode

Recommended Posts

Hello somebody,

I can not add items to the W3Combobox runtime.  // w3combobox1.items.add('something...');

W3combobox1.Items.clear   also not work.

With something browserapi calls possible to handle these?

Share this post


Link to post
Share on other sites

don't use the items object :

procedure TForm1.InitializeForm;
begin
  inherited;
  // this is a good place to initialize components
  W3ComboBox1.add('Line 1');
  W3ComboBox1.add('Line 2');
  W3ComboBox1.add('Line 3');
end;

procedure TForm1.W3Button1Click(Sender: TObject);
begin
  W3ComboBox1.Clear;
end;

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×