1. ColoredButtons by Judith Evans
- Posted by Rad Jul 24, 2009
- 904 views
Hi,
Is anybobdy maintaining Judith's IDE/ColoredButtons code?
ColoredButtons was working fine when I was using win32lib 0.70.7. Recently I downloaded latest include.tar.gz for Win32Lib. (0.70.17 - July 21, 2009) + Win32Lib rev. 67 (3 files)
Now any ColoredButton has to be clicked twice to get the desired result.
Same program/code works fine by reverting to version 0.70.7.
I checked out ColoredButtons.ew and commenting the following 5 lines in procedure self_onPaint(), I got the ColoredButtons working on first click.
-- if CB_click_times then -- CB_click_times=0 VOID=invokeHandler(ColoredButtonInformation[which][ColoredButtonName], w32HClick, {}) -- else -- CB_click_times=1 -- end if
Is this variable CB_click_times required for any other purpose? I would appreciate if anybody involved/interested in maintaining ColoredButtons can check this out.
Thanks & Regards, Rad.
2. Re: ColoredButtons by Judith Evans
- Posted by DerekParnell (admin) Jul 24, 2009
- 856 views
Is anybobdy maintaining Judith's IDE/ColoredButtons code?
It looks like I've got the baton now. Thanks for the fix. I'll have a go at applying it to the IDE library.
3. Re: ColoredButtons by Judith Evans
- Posted by AndyDrummond Jul 27, 2009
- 844 views
I was encouraging Judith to develop colored buttons, and in some of the earlier tests, we found that a single click invoked the click handler twice. We added this toggle to get around the problem since we didn't know why it was happening. It looks like whatever caused it has now been sorted.
Derek, as you know, there are an awful lot of non-U code fragments in IDE and its associated partners. This is because it was started years ago, and carried on wonderfully by Judith, who put in eons of time doing it, but it does need cleansing by someone who has the knowledge - and the time - to do it, the latter of which I suspect you might not have too much of. Ideally, if it could be cleaned up, its development could be carried on and incorporate the benefits of the Eu 4 upgrade. If you could do this - wonderful. But maybe we need a new Judith Evans with the time and commitment she showed it, to continue to enhance this invaluable tool. Invaluable, anyway, to plebs like me!
Andy