D
I do not knows why but it will not just work.JOOC; Why is this library not available for desktop?
It needs visual styles enabling for the application on the desktop but the gradient still doesn't showI do not knows why but it will not just work.
obj1.New1(False)
obj1.CreateNew("System.Windows.Forms.Application" & obj1.System_Windows_Forms)
obj1.RunMethod("EnableVisualStyles")
obj1.SetProperty("VisualStyleState", "ClientAndNonClientAreasEnabled")
:sign0013:Filippo must have found some difficulty in getting the code to work on the desktop .
thanks for the advice, I will change it in the next version.It would be more logical to put it like this:
....left,top,width,height,...
The property "button.color" and "button.fontcolor" are not vb.Net concurring, check out the 2 images.After replacement of a button there is some additional work to find all the places where the button color or fontcolor is changed, and to replace them with your definitions:
button.color ---> button.backcolor
button.fontcolor ---> button.forecolor
The comments with "vga" are for cases of changing an application for desktop which is based on a device application and use vga parameter to increase its size. by the way - GetControls does not catch fggradientbutton !
For i = 0 To ArrayLen(Controls()) - 1
Crttype=ControlType(Controls(i))
If Crttype = "fgButtons.fgButtons.fgGradientButtons" Then
...
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?