Why is the TypeMemberDropDownList rendering in this style

SyntaxEditor for Windows Forms Forum

Posted 16 years ago by GeorgeNY - CTO, RatchetSoft, LLC
Version: 4.0.0281
Avatar
I drop the Syntax editor on a form and wire some events.

I drop they TypeMemberDropdownList on the form, set its SyntaxEditor property.

When i run it, the TypeMemberDropDownList renders old school with 3d borders and clunky buttons. Its not the way it renders in your sample (with thin blue(themed) borders). What can i be doing wrong. Does it have something to do with themes? I have embedded the syntax control and the drop down list in a UserControl, could that be a problem?


[Modified at 04/08/2009 07:24 PM]

George P Weihs

Comments (2)

Posted 16 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi George,

Do you have an EnableVisualStyles call in your app startup proc like this?
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main() {
    Application.EnableVisualStyles();
    Application.DoEvents();
    Application.Run(new LauncherForm());


Actipro Software Support

Posted 16 years ago by GeorgeNY - CTO, RatchetSoft, LLC
Avatar
No i did not, but i do now and it works fine. Thanks very much.

George P Weihs

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.