Re: How do I disable a tab in Win32lib?
- Posted by penpal0andrew Jun 17, 2009
- 1091 views
When I tried to disable a tab, it disabled all of the tabs and all of the controls on all of the tabs.
Here is something I found http://msdn.microsoft.com/en-us/library/252t3cec.aspx
Is there win32lib or IDE support for this?
Andy K.
You should be able to just say ...
setEnable(theTab, 0)
I tried this and it disabled all of the tabs and controls, like I said. Where are the win32 experts lately? I also have a question concerning machine level errors.
Actually you didn't say that you tried setEnable.
Anyhow, I found the bug and uploaded a patch. You can get it at Source Forge (rev #58)
And by the way, I do this for free and in my own time.
As for the machine level error, have you tried hint text less than 80 characters to see if that makes a difference?
Thank you. It works great. And this is something many developers would want.
I am using the whole trunk, since I did not want to try and isolate it as a patch. Did I do the correct thing?
I apologize for being rude before. I am sometimes gripped by strange moods. And like you, I do this for free and in my own time. The Euphoria community is the best, as in most helpful, I have ever encountered. And I have been on many software forums. For example, Google is useless if you have a problem with one of their software.
Cutting my hints down to under 80 characters misses the point, because when my program is used beyond what I expected, all sorts of random machine level errors come up. So I want to address the real cause. If there is a bug in that hint code, that is something else, but it is not of immediate concern for me. And I was wondering if mixing of different memory management calls could be the problem. I will try to replace all of them with documented win32 memory management calls to see if the problem goes away.
Andy Katz