add items to combobox from delphi

edited May 2013 in FastReport 3.0
Hi,
I try to add items to combobox (newdialog) from delphi but I don't Know How.
Please any help.
Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 7:54AM
    after loading the report
    var

    Page: TfrxDialogPage;

    Button: TfrxButtonControl;
    Combobox : TfrxCombobox;


    { add a page }

    Page := TfrxDialogPage.Create(frxReport1);

    { create a unique name }

    Page.CreateUniqueName;

    { set sizes }

    Page.Width := 200;

    Page.Height := 200;

    { set a position }

    Page.Position := poScreenCenter;
    //add a combobox
    combobox:=tfrxcomboboxcontrol.create(page);
    combobox.createuniquename;
    combobox.setbounds(60,140,75,25);
    combobox.items.add(itemname);

    should be something like above

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.