We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to not crash in StyleInfoStore.FixVectorCount

Thread ID:




30056 Jun 9,2005 05:35 PM UTC WinForms 0
Tags: GridControl
Asked On June 9, 2005 05:35 PM UTC

Hi, Everyone. After upgrading to, I was getting strange crashes in FixVectorCount after destroying a GDBG and recreating it. I figured out how to avoid this, and thought I''d share the solution in case anybody else is struggling with it. It turns out that I''d been assigning StyleInfo objects: a.StyleInfo = b.StyleInfo; when I really should have been using CopyFrom: a.StyleInfo.CopyFrom (b.StyleInfo); I''m not sure when it''s legitimate to use assignment, but the few times I''ve tried, there''s been trouble. But CopyFrom works like a charm. TJ


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon