1. EditText controls and NT4
- Posted by Larry Miller <larrymiller at sasktel.net> Feb 08, 2005
- 641 views
- Last edited Feb 09, 2005
I am having a problem with Win32Lib's EditText controls (single line) on Windows NT4. The controls open with a gray background and allow text to be entered but not deleted. Text can be overwitten. This occurs with the EditBoxes.exw demo in Win32Lib v0.60.6. Computer is running NT4, SP6a and IE6 (Not my main machine). I have not seen this problem on other than NT4. I do have a workaround. SetWindowBackColor(id,#FFFFFF) will correct the problem, but this must be done for each control, all of which are in dialog boxes. Larry Miller
2. Re: EditText controls and NT4
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 09, 2005
- 484 views
Larry Miller wrote: > > I am having a problem with Win32Lib's EditText controls (single line) on > Windows NT4. > The controls open with a gray background and allow text to be entered but not > deleted. Text can be overwitten. > > This occurs with the EditBoxes.exw demo in Win32Lib v0.60.6. > Computer is running NT4, SP6a and IE6 (Not my main machine). I have not seen > this problem on other than NT4. > > I do have a workaround. SetWindowBackColor(id,#FFFFFF) will correct the > problem, > but this must be done for each control, all of which are in dialog boxes. The code below works for me (Win XP) ...
without warning include win32lib.ew constant Win = create(Window, "Test", 0, 0, 0, 400, 400, 0) constant EB = create(EditText, "1234", Win, 10, 10, 200, 25, 0) WinMain(Win, Normal)
I don't have an NT box available for me to test with. -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria
3. Re: EditText controls and NT4
- Posted by Bob Thompson <rthompson at rthompson.karoo.co.uk> Feb 10, 2005
- 443 views
- Last edited Feb 11, 2005
Derek, Using NT4 sp6a, I can confirm that your example works OK with v0.60.30, but not with v0.60.5 or v0.60.6. I find that the characters are actually being deleted as shown by their dissapearance upon momentarily covering the window with another and forcing a re-paint. After deletion, the background colour of the control remains the same as the window colour. With regards, Bob
4. Re: EditText controls and NT4
- Posted by Bob Thompson <rthompson at rthompson.karoo.co.uk> Feb 10, 2005
- 466 views
- Last edited Feb 11, 2005
I've discovered that I need to amend my last post to state that wiping another window over the example window is not sufficient to refresh the edit control - it needs to be dropped (mouse click released) when the example EDIT CONTROL is covered. Correct me if I'm wrong, but I believe there are subtle differences here - z order, focus and all that. Regards, Bob
5. Re: EditText controls and NT4
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 10, 2005
- 468 views
- Last edited Feb 11, 2005
Bob Thompson wrote: > > > Derek, > > Using NT4 sp6a, I can confirm that your example works OK with v0.60.30, > but not with v0.60.5 or v0.60.6. > > I find that the characters are actually being deleted as shown by their > dissapearance upon momentarily covering the window with another and forcing > a re-paint. After deletion, the background colour of the control remains the > same as the window colour. I guess that gives me something to start with, but its probably a low-priority for me to fix. How long are you thinking of hanging onto NT4? Win2000 and WinXP are both good replacements -- Derek Parnell Melbourne, Australia irc://irc.sorcery.net:9000/euphoria
6. Re: EditText controls and NT4
- Posted by Bob Thompson <rthompson at rthompson.karoo.co.uk> Feb 11, 2005
- 460 views
Hello Derek, Thought you might need some extra information considering that you can't see the problem, that's all. Personally, I've dumped 98 and will dump NT4 since I now have XP. Programming is only hobby time entertainment/stimulation for me and I'll probably move on to other things in due course, but there may be the odd professional in this field interested in "delighting his/her customers", many of which use NT4. Do keep up the good work. Regards, Bob