Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Another release... new bugs

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Another release... new bugs
Link Posted: 30-Aug-2006 03:17
Hi,

I just downloaded the latest flygrid release and now once again experience new issues. All my grids that are docked within a panel are now cut off on the left side and there's a gap between the left border and the grid. Please provide me with a download link for the previous version...

Tom
Link Posted: 31-Aug-2006 04:01
This is not a FlyGrid bug, this is a Windows.Forms bug.
Do not use Panel control as container of docked controls to avoid this problem.
Link Posted: 31-Aug-2006 04:03
So, last version it worked, new version it doesn't but it's Winforms bug? ... right..
Link Posted: 31-Aug-2006 04:08
This problem is appeared (we've meet this problem some months ago) when user opens form with panel and contained grid in design mode.
FlyGrid doesn't control its size or location. You can try to place and dock another control (for example ListView) into Panel to see this bug.
Link Posted: 31-Aug-2006 04:08
lol so I should avoid panels and tab controls? You're not serious?
Link Posted: 31-Aug-2006 04:10
I'm having other controls docked in panels and tab controls all over the place but never experienced this until your recent release.
Link Posted: 31-Aug-2006 04:10
No, but you can use Anchor property of the FlyGrid to place flyGrid in the panel correctly.
Link Posted: 03-Nov-2006 02:25
[quote="NineRays"]This problem is appeared (we've meet this problem some months ago) when user opens form with panel and contained grid in design mode.
FlyGrid doesn't control its size or location. You can try to place and dock another control (for example ListView) into Panel to see this bug.


So, I finally tried the latest version again, hoping that things got fixed but of course it still doesn't work.
This is not a WindowsForms bug, I place different controls in panels and ToolStrip ContentPanels, dock them and never have a problem, only FlyGrid is having this issue and since it worked a couple releases ago you can't tell me that's a winforms bug.
Besides, all my grids are added in code and never take use of the designer.
Anchoring doesn't help either... Anchoring to all sides makes the grid disappear, whereas it works fine if I do the same thing with a ListView control, anchoring to just one side and set docking to fill causes the grid to go only half the way.

See how left side is cut off (Grid docked in ToolStrip ContentPanel - with release v1.4.0.12 this worked perfectly fine)
Link Posted: 03-Nov-2006 02:38
On a side note .. this doesn't seem to happen when I don't call ExpandAll()
Link Posted: 03-Nov-2006 02:49
[quote="tomfrey"]On a side note .. this doesn't seem to happen when I don't call ExpandAll()


And now I know why ... something is wrong with your code in calculating the correct size when the scrollbar appears. As soon as I get a scrollbar, the left side is cut off... if it disappears, everything is fine.
So, since this problem is not existent with the 1.4.0.12 libs you might wanna do a diff on the respective code portion