Folks,
I'm using SF popup controls (e.g. calendar, calculator), on a form with a custom popup. The custom popup uses the Button Edit control.
How can I make the button edit control of the custom popup appear the same as the button in the SF provided popups?
I'm at v1.6.0.6, designing on XP in VS2003.
Thanks
AD
Administrator
Syncfusion Team
June 15, 2003 12:48 PM UTC
BTW - I've created the manifest file, and that does change the appearance (at this point the down-arrow does not appear, only the button shape around it.
I have also attempted the new .NET Framework 1.1 Application.EnableVisualStyles(), but this did not change the behaviour, and the application crashes on close of any dialog (see: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsapplicationclassenablevisualstylestopic.asp).
Help!
Thanks, Stephen
P.S. The manifest file example in the windows forms FAQ is incomplete, and the referenced gotdotnet articles no longer exist (well, I was unable to find them). See instead: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_xpthemesupport.asp
> Folks,
>
> I'm using SF popup controls (e.g. calendar, calculator), on a form with a custom popup. The custom popup uses the Button Edit control.
>
> How can I make the button edit control of the custom popup appear the same as the button in the SF provided popups?
>
> I'm at v1.6.0.6, designing on XP in VS2003.
>
> Thanks
>
DJ
Davis Jebaraj
Syncfusion Team
June 16, 2003 07:05 PM UTC
Hi,
The Buttons in the ButtonEdit do not support XP Themes in the current version. We are planning to implement this feature before the next major update to Essential Suite.
Thank you for your patience.
Regards,
Davis
MI
Michelle
August 6, 2003 05:52 PM UTC
Try to put the line
Application.DoEvents();
after Application.EnableVisualStyles().
Worked for me!
Michelle
_____________________
> BTW - I've created the manifest file, and that does change the appearance (at this point the down-arrow does not appear, only the button shape around it.
>
> I have also attempted the new .NET Framework 1.1 Application.EnableVisualStyles(), but this did not change the behaviour, and the application crashes on close of any dialog (see: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsapplicationclassenablevisualstylestopic.asp).
>
> Help!
>
> Thanks, Stephen
>
> P.S. The manifest file example in the windows forms FAQ is incomplete, and the referenced gotdotnet articles no longer exist (well, I was unable to find them). See instead: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvssamp/html/vbcs_xpthemesupport.asp
>
>
>
> > Folks,
> >
> > I'm using SF popup controls (e.g. calendar, calculator), on a form with a custom popup. The custom popup uses the Button Edit control.
> >
> > How can I make the button edit control of the custom popup appear the same as the button in the SF provided popups?
> >
> > I'm at v1.6.0.6, designing on XP in VS2003.
> >
> > Thanks
> >
>
RP
Ramesh Praveen
Syncfusion Team
August 11, 2003 12:16 PM UTC
Thanks for the update!
Praveen