Jump to content

UniDBGrid, columns visibility


Rav

Recommended Posts

Hello,

I tried to save and restore UniDBGrid columns visibility like this:

  for cb := 0 to dbg.Columns.Count - 1 do
    with dbg.Columns[cb] do
      UseFields[cb] := Visible;
............................
  for cb := 0 to dbg.Columns.Count - 1 do
    with dbg.Columns[cb] do
      Visible := UseFields[cb];
.............................

Then found weird thing that after some actions (e.g. opening another dataset) the property "Visible" of ALL columns even invisible of this dataset becomes "True".

Actual columns visibility remains unchanged.

Version uni-0.99.96.1321 (with 0.99.95 version the situation is the same)

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