Results 1 to 9 of 9

Thread: Vista test: richedit background color

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Vista test: richedit background color

    I all.

    I've been reported from catventure about a problem in setting background color in richedit control only under Vista.
    I've tested under Vista in two computers but I'm not able to replicate the problem. I have to say that I need to update the richedit control I have in my Vista PCs and see if it makes any different.

    Anyhow, if you have some spare time to test, use script \thinBasic\SampleScripts\UI\RichEdit\RichEdit_002.tBasic and from Menu "Control/Background color" try to set a new background color.

    Thanks a lot
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #2
    Member matthew's Avatar
    Join Date
    Mar 2007
    Location
    England
    Age
    47
    Posts
    489
    Rep Power
    66

    Re: Vista test: richedit background color

    It works fine on my computer.
    Operating System: Windows 10 Home 64-bit
    CPU: Intel Celeron N4000 CPU @ 1.10GHz
    Memory: 4.00GB RAM
    Graphics: Intel UHD Graphics 600

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Vista test: richedit background color

    Thanks a lot matthew.

    It is a very stange situation because I've already tested on many PC running Vista but not able to replicate the problem.
    Still testing/searching ...
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Vista test: richedit background color

    Petr gave me some indications about strange RichEdit control behaves that maybe are ralated to this problem.
    I'm investigating ...
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #5
    Senior Member catventure's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    637
    Rep Power
    83

    Re: Vista test: richedit background color

    Hi Eros,

    It may be worth mentioning that the problem occurs on mine only under latest preview 1.7.0.0.

    It still works fine under current stable version 1.6.0.10

    So...?

    Best regards,
    catventure.
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Vista test: richedit background color

    I know catventure.
    The problem is that in the meanwhile I have changed compiler.
    UI module in thinBasic 1.7.0.0 is compiled with Power Basic 9.00
    UI module in thinBasic 1.6.0.10 is compiled with Power Basic 8.04

    So I'm trying to understand if I'm making something wrong or the new compiler has introduced something I didn't expect. I'm studying Microsoft documentation checking which is the supposed behave.

    I'm sorry, this require time. But be sure I will solve this problem before I will release new thinBasic. There are other problems introduced with this version in richedit control occurring not only under Vista but also under XP.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    Senior Member catventure's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    637
    Rep Power
    83

    Re: Vista test: richedit background color

    Hi Eros,

    I see. Thanks for update explanation - I'd forgotten about that. I hope you can fathom the reason for different behaviour and hopefully it can be rectified over time...
    Btw, new GRAB$ command working good

    catventure.
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

  8. #8
    Senior Member catventure's Avatar
    Join Date
    Oct 2005
    Location
    UK
    Posts
    637
    Rep Power
    83

    Re: Vista test: richedit background color

    Hi Eros,

    I only just noticed this now but in SampleScripts\UI\RichEdit\Richedit_001.tbasic the backcolor for text is working OK.
    Don't know if this helps with problem in second example.
    See attached.

    Regards,
    catventure
    Attached Images Attached Images
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Vista test: richedit background color

    Catventure,

    I think the problem with the background is just a side effect of something else.
    I'm checking some notification messages that are fired to the richedit when the window where it reside is in foreground or in background.

    Anyhow, thanks a lot for your continuous reporting about behaves you find. Can greatly help me in my discovery.
    Hope to give you soon a 100% working version

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. RichEdit background control color
    By ErosOlmi in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 2
    Last Post: 21-09-2006, 08:31

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •