Re: Background Colour for re-enabled controls
- Posted by Rad Jul 23, 2009
- 855 views
Hi Derek,
After using revision 67 of win32lib (3 files), background colour issue is solved. Thanks for the same.
About win32lib.ew 0.70.17/rev. 67:
In global procedure deleteLine()
"then" is missing at the end of line 18206 in win32lib.ew which results in an error.
18202 if atom(line) then 18203 lFirstLine = line 18204 lLastLine = line 18205 18206 elsif length(line) = 2 ---- 18207 lFirstLine = line[1] 18208 lLastLine = line[2] 18209 18210 else 18211 return 18212 end if
Other issues:
1] RETURN/ENTER key does not work for moving from control to control.
Sorry for the confusion, yes you are right, what I meant was "from EditText to EditText" control.
But after a second thought, as you have mentioned, TAB would be more appropriate key for moving from control to control. I mentioned the RETURN/ENTER key as it was working in version 0.70.7. A non-issue really.
2] ColoredButtons have to be clicked twice to get the desired result. Normal Buttons work fine.
ColoredButtons.ew is utility by Judith Evans, which is provided along with the IDE. It is also available as a separate code (demo included). It allows the user to put borders, graphics, colors & text on buttons and position graphics+text in desired way.
Now with the latest win32lib, one has to click twice on the button, which is specified as colored button, to get the _w32onClick result.
Is anybobdy maintaining Judith's IDE/ColoredButtons code? Maybe I should put this Q under a separate topic.
Thanks & Regards, Rad.