ColoredButtons by Judith Evans

new topic     » topic index » view thread      » older message » newer message

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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu