ColorPicker broken in latest Syncfusion files
7 posts
• Page 1 of 1
ColorPicker broken in latest Syncfusion files
Anyone following my examples at apldapldoo.info is advised that ColorPicker no longer displays the specified input colour. Either Syncfusion have added a new Property which I can't find or (I suspect more likely) they've broken it.
If anyone does get this displaying properly (using the updated files supplied by Dyalog in January) please post here.
If anyone does get this displaying properly (using the updated files supplied by Dyalog in January) please post here.
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: ColorPicker broken in latest Syncfusion files
Hello Dick, I have tried your code with version 12.4 of Syncfusion given by Dyalog and it worked perfectly as described in your documentation. Maybe Dyalog could try it also and see if it is working for them also ?
-
PGilbert - Posts: 440
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: ColorPicker broken in latest Syncfusion files
I'd sent the example to Vince before posting to the Forum - he confirmed my observation that with the "new" files the initial display always shows "Transparent" while the older files show the colour as per the supplied argument.
I've just rechecked and see an initial "Transparent" (both W8.1 64-bit and on another PC with W10 64-bit and a relatively clean Dyalog install).
I suspect that there may be an interaction between Syncfusion and .NET which I don't comprehend, Vince has told me of some strange inconsistencies depending on whether he starts APL from a normal shortcut or from the Taskbar (if I recall correctly). Certainly the way .NET installs itself is a mystery to me and we could do with a definitive statement from a techy person (Dyalog?) which says "here is the folder where you should find .NET" - maybe there is such a statement and I've lost the reference.
I've just rechecked and see an initial "Transparent" (both W8.1 64-bit and on another PC with W10 64-bit and a relatively clean Dyalog install).
I suspect that there may be an interaction between Syncfusion and .NET which I don't comprehend, Vince has told me of some strange inconsistencies depending on whether he starts APL from a normal shortcut or from the Taskbar (if I recall correctly). Certainly the way .NET installs itself is a mystery to me and we could do with a definitive statement from a techy person (Dyalog?) which says "here is the folder where you should find .NET" - maybe there is such a statement and I've lost the reference.
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: ColorPicker broken in latest Syncfusion files
Hello Dick, if you replace the following 3 lines in your code:
with the following single line:
Does it work better ?
brush←⎕NEW SolidColorBrush
brush.Color←Color.FromArgb w
window_colorpicker.Brush←brush
with the following single line:
window_colorpicker.Color←Color.FromArgb w
Does it work better ?
-
PGilbert - Posts: 440
- Joined: Sun Dec 13, 2009 8:46 pm
- Location: Montréal, Québec, Canada
Re: ColorPicker broken in latest Syncfusion files
Bingo, that does it.
Curious that my original was working with the old Syncfusion (I remember struggling with the need to deal with a Brush and the assymmetry of my code). Actually there's a further simplification that's now possible - it looks as though there may have been a bug/blemish which Syncfusion has corrected (I wish we had a change log from them).
I'll try to put my revised code online later today.
Curious that my original was working with the old Syncfusion (I remember struggling with the need to deal with a Brush and the assymmetry of my code). Actually there's a further simplification that's now possible - it looks as though there may have been a bug/blemish which Syncfusion has corrected (I wish we had a change log from them).
I'll try to put my revised code online later today.
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
Re: ColorPicker broken in latest Syncfusion files
I'll hijack the thread a bit since I found a similar issue with the SplitButtonAdv control. It worked with the older Syncfusion dll's and now with the latest Dyalog provided version (12.1450.0.43) the constructor is giving errors.
Syncfusion release notes: http://www.syncfusion.com/downloads/version-history
This is worrisome now that we know it's not an isolated incident related to a single control.
Norbert
Syncfusion release notes: http://www.syncfusion.com/downloads/version-history
This is worrisome now that we know it's not an isolated incident related to a single control.
Norbert
-
norbertjurkiewicz84 - Posts: 62
- Joined: Mon Nov 01, 2010 7:26 pm
Re: ColorPicker broken in latest Syncfusion files
Just did a quick check with the w/s I used to generate the apldapldoo.info example pages and all was well with that.
When Dyalog made a "fresh" set of 14.0 files available a few weeks ago I did a complete reinstall from there (wiping out my patched-from-original installation); that seemed to help with some of my recent Syncfusion troubles.
Something I've suggested to Dyalog a few times is some sort of "phone home" functionality which could compare file versions between a master set held at Dyalog HQ and what we have in our individual installations (so easy to miss out new versions of things like dyalognet.dll).
When Dyalog made a "fresh" set of 14.0 files available a few weeks ago I did a complete reinstall from there (wiping out my patched-from-original installation); that seemed to help with some of my recent Syncfusion troubles.
Something I've suggested to Dyalog a few times is some sort of "phone home" functionality which could compare file versions between a master set held at Dyalog HQ and what we have in our individual installations (so easy to miss out new versions of things like dyalognet.dll).
Visit http://apl.dickbowman.com to read more from Dick Bowman
-
Dick Bowman - Posts: 235
- Joined: Thu Jun 18, 2009 4:55 pm
7 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 1 guest
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group