Jump to content

How to show closed UniFieldSet?


eduardosuruagy

Recommended Posts

18 minutes ago, eduardosuruagy said:

I wish that when my form was opened my FieldSet "Job Information" would be retracted. As picture 2 shows.

Ok sorry,

Try this:

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  with YourFieldSet do
    if Collapsible then
      JSInterface.JSConfig('collapsed', [True]);

end;

 

Link to comment
Share on other sites

Thank you very much, that's what I wanted. Now look at this other image, I'm using a UniContainerPanel with the Layout = vbox property, and all FieldSets are inside that UniContainerPanel. Is it possible that this UniContainerPanel display a scroll ??

See that in the 2 image when I click on some FieldSet it disorganizes everything and does not expand.

Sem título.png

Link to comment
Share on other sites

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...