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.
Unfortunately, activation email could not send to your email. Please try again.

Edit Control looking really weird

Thread ID:

Created:

Updated:

Platform:

Replies:

17273 Aug 4,2004 04:38 PM Sep 1,2004 08:47 AM Windows Forms 7
loading
Tags: EditControl
Raymond Gunawan
Asked On August 4, 2004 04:38 PM

Hi! Has anybody ever seen an edit control that has an offsetted text outside the control? I''m attaching a screenshot of my application with the but. The problem is that this behavior does not happen consistently. Any ideas? Raymond. EditControlBug_440.zip EditControlBug_4856.zip EditControlBug_8502.zip

Administrator [Syncfusion]
Replied On August 9, 2004 11:51 AM

Hi Raymond We could not reproduce the problem here. It is going to be difficult to look at what could be causing this, before being able to reproduce this behavior consistently. Kindly update this posting if more information becomes available. Sorry for the inconvenience caused. Regards Arun

Administrator [Syncfusion]
Replied On August 9, 2004 12:17 PM

That''s the thing ... It doesn''t happen consistently? I''m suspicious that it might be using font (or other GDI) resources and not returning it back. The edit control is in a window that gets created and recreated quite a lot of time. The application itself is quite memory-intensive. Sometimes, it seems that the offset is totally wrong. Other times, the font''s spacing is a bit off (which is why I think it''s a resource problem). Any ideas? Thanks!

Administrator [Syncfusion]
Replied On August 11, 2004 03:07 PM

Hi Raymond, We encountered the same issue when working with the Essential Edit control on a different project and were able to track it down. If you are using a recent build of Essential Suite, then the display problem is likely to be caused by a bug that crept into the Essential Suite GroupBar control. The GroupBar class was directly re-initializing the StringFormat.GenericTypographics instance and this was causing other accessors(Essential Edit included) of the StringFormat type to use the re-initialized values rather than the default values. We have taken care of the problem and future updates of Essential Suite will ship with the revised code. Regards, Prakash Syncfusion, Inc.

Administrator [Syncfusion]
Replied On August 25, 2004 03:36 PM

That''s good news!! However, I don''t think we are using the GroupBar control, so there might be other things that are doing the same thing. We are using the grid extensively, the XPToolBar quite a lot, TreeViewAdv, popupmenu control, edit control. I think we''re using other Syncfusion controls as well, but that''s all I can think of at the top of my head. >Hi Raymond, > >We encountered the same issue when working with the Essential Edit control on a different project and were able to track it down. If you are using a recent build of Essential Suite, then the display problem is likely to be caused by a bug that crept into the Essential Suite GroupBar control. The GroupBar class was directly re-initializing the StringFormat.GenericTypographics instance and this was causing other accessors(Essential Edit included) of the StringFormat type to use the re-initialized values rather than the default values. > >We have taken care of the problem and future updates of Essential Suite will ship with the revised code. > >Regards, >Prakash >Syncfusion, Inc.

Raymond Gunawan
Replied On August 31, 2004 06:07 PM

Hello, A similar thing is happening with the font text box. I think this is happening with the latest version (2.1.0.9). Thanks! Raymond.

Raymond Gunawan
Replied On August 31, 2004 06:08 PM

Actually, The same thing is still happening in the edit control with the 2.1.0.9 also. Raymond.

Raymond Gunawan
Replied On September 1, 2004 08:47 AM

Whoops, never mind. Some of our code modifies the StringFormat.GenericTypography object directly, and that was causing the edit control to be weird. Thanks for the earlier hint Raymond. >Actually, > >The same thing is still happening in the edit control with the 2.1.0.9 also. > >Raymond. >

CONFIRMATION

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.

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.

;