Results 1 to 5 of 5

Thread: Control set text

  1. #1

    Question Control set text

    Hi,

    I can't have some demo working properly. I think it's related with CONTROL SET TEXT.

    Can you confirm if it works for you or not ?

    within afflicted samples :

    • TextBox2.tBasic from thinBasic\SampleScripts\UI\TextBox
    • cbCalculator.tBasic from thinBasic\SampleScripts\UI\Calculator
    • Super Function Plotter from thinbasic.com
    • or even particle_experiment.tbasic from TBGL_BonusPack_1_8_0_0\SpecialEffects\ParticleDesigner
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    I think thinBasic 1.11.1 introduced a bug on that area.
    Can you try this thinBasic 1.11.2 version I was working on: https://www.thinbasic.biz/projects/t...c_1.11.2.0.zip

    Let me know.

    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

  3. #3
    Quote Originally Posted by ErosOlmi View Post
    I think thinBasic 1.11.1 introduced a bug on that area.
    Can you try this thinBasic 1.11.2 version I was working on: https://www.thinbasic.biz/projects/t...c_1.11.2.0.zip

    Let me know.

    Thanks a lot
    Eros
    Hi Eros,

    For the calculator : 1 click leads to many random numbers on the textbox
    For the Super Function Plotter : seems ok ( quick test only )
    For the ParticleDesigner : no reaction from UI
    For the TextBox2 : seems ok.


    but maybe it's a button issue instead ?

    PS: welcome back
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Thanks.
    Will check this evening.

    PS: not really back 100% but I will try

    I've so many posts to read
    Last edited by ErosOlmi; 30-12-2019 at 15:44.
    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
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Calculator examples need to add a check otherwise too many events will be fired for buttons.

    For both examples ... Just between
          CASE %WM_COMMAND
    
    and
              SELECT CASE cbctl 
                CASE %CtrlN00, %CtrlN01, %CtrlN02, %CtrlN03, %CtrlN04, %CtrlN05, %CtrlN06, %CtrlN07, %CtrlN08, %CtrlN09
    
    add
           if CBCTLMSG = %BN_CLICKED then
    
    and after
             END SELECT
    
    close with
          End If
    
    Attached Files Attached Files
    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. Replies: 1
    Last Post: 29-08-2013, 22:50
  2. Tab control- how change text on created tab?
    By zlatkoAB in forum thinBasic General
    Replies: 2
    Last Post: 17-02-2011, 20:48
  3. control get text question
    By sandyrepope in forum UI (User Interface)
    Replies: 1
    Last Post: 21-06-2007, 22:04
  4. control get text
    By sandyrepope in forum UI (User Interface)
    Replies: 3
    Last Post: 16-03-2007, 11:10

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
  •