Jump to content

Перенос текста в FieldLabel


x11

Recommended Posts

Подскажите, как можно перенести текст в свойстве fieldlabel?

Например, с помощью CSS. Я как только не пробовал, у меня не получается.

На мобильной форме (внутри TUnimScrollBox) лежат много элементов TUnimCheckbox, которые создаются и заполняются динамически:

    while not qRef.Eof do
    begin
      check := TUnimCheckbox.Create(self);

      check.Parent          := UnimScrollBox1;
      check.Caption         := qRef.Fields[1].AsString; // NAME.Value;
      check.FieldLabelAlign := laRight;
      check.FieldLabelWidth := 90;
      check.OnChangeValue   := UnimCheckBoxChangeValue;
      check.Tag             := qRef.Fields[0].AsInteger;
      check.LayoutConfig.Width := '100%';

      qRef.Next;
    end;

Спасибо

Screenshot_28.jpg

Link to comment
Share on other sites

  • x11 changed the title to Перенос текста в FieldLabel

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...