var
radgrp: TWebRadioGroup;
begin
radgrp := TWebRadioGroup.Create(Self);
radgrp.Caption := 'Yes';
radgrp.ItemIndex := -1;
radgrp.Left := 10;
radgrp.Top := nTop;
radgrp.Columns := 1 ;
radgrp.Height := 71 ;
radgrp.Width := 200;
radgrp.Font.Charset := ANSI_CHARSET;
radgrp.Font.Color := clBlack;
radgrp.Font.Height := -11;
radgrp.Font.Name := 'Arial';
radgrp.Font.Size := 8;
radgrp.Font.Style := [];
radgrp.Items.Clear ;
radgrp.Items.Add('Yes');
radgrp.Enabled := true ;
radgrp.Visible := true ;
radgrp.Parent := self;
end;
Change your code to:
var
radgrp: TWebRadioGroup;
begin
radgrp := TWebRadioGroup.Create(Self);
radgrp.BeginUpdate;
radgrp.Caption := 'Yes';
radgrp.ItemIndex := -1;
radgrp.Left := 10;
radgrp.Top := 10;
radgrp.Columns := 1 ;
radgrp.Height := 71 ;
radgrp.Width := 200;
radgrp.Font.Color := clBlack;
radgrp.Font.Height := -11;
radgrp.Font.Name := 'Arial';
radgrp.Font.Size := 8;
radgrp.Font.Style := [];
radgrp.Items.Clear ;
radgrp.Items.Add('Yes');
radgrp.Enabled := true ;
radgrp.Visible := true ;
radgrp.Parent := self;
radgrp.EndUpdate;
end;
Thanks .
How to incorporate runtime components with boostrap .
Setting the proper Bootstrap CSS classnames via Element*ClassName should be sufficient.
Thanks.
do you have excel file or list of boostrap class map with components.
it will help us for mapping at runtime .
An overview of Bootstrap classes is here: