Results 1 to 3 of 3

Thread: ListView_Basic.tBasic

  1. #1
    Member DirectuX's Avatar
    Join Date
    Oct 2018
    Location
    France
    Posts
    417
    Rep Power
    55

    ListView_Basic.tBasic

    Hi,

    again If I'm not mistaken,
    you may want to change these lines in ListView_Basic.tBasic sample:

    line 263 :

    Log_AddMessage hDlg, "Command", ListView_GetItemText(hDlg, hCtrl), "%CMD_SelectAll"
    to
    Log_AddMessage hDlg, ("Command", ListView_GetItemText(hDlg, hCtrl), "%CMD_SelectAll")
    
    line 271 :
    Log_AddMessage hDlg, "Command", ListView_GetItemText(hDlg, hCtrl), "%CMD_SelectItem"
    to
    Log_AddMessage hDlg, ("Command", ListView_GetItemText(hDlg, hCtrl), "%CMD_SelectItem")
    
    line 281 :
    Log_AddMessage hDlg, "Command", ListView_GetItemText(hDlg, hCtrl), "%CMD_FILE_MODIFY"
    to
    Log_AddMessage hDlg, ("Command", ListView_GetItemText(hDlg, hCtrl), "%CMD_FILE_MODIFY")
    
    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,817
    Rep Power
    10
    Yes you are right.
    Thanks

    We have a so many examples, sometimes specifications change and examples remain ... old or buggy.
    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
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    Eros,

    what about putting SampleScripts on gitHub, so users can help with the issues if they know how to fix it via pull request?

    The installation preparation process could fetch the latest version from there.

    Benefits? Currently, you have to do all the changes AND/OR accept the changes via email / private messages.
    The gitHub way could still give us option to decide whether to accept or reject the change, and there would be a place where the latest version is always present.

    I would create how to article for users not knowing gitHub, to make it easier to understand the mechanisms of contribution and reduce the learning curve angle.


    Just an idea,
    Petr
    Last edited by Petr Schreiber; 04-11-2018 at 11:50.
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Similar Threads

  1. difference between .tbasic and .tbasicc
    By sandyrepope in forum Console
    Replies: 5
    Last Post: 30-08-2024, 16:49
  2. ML_ExpressionEvaluation.tbasic
    By DirectuX in forum Samples for help file
    Replies: 1
    Last Post: 01-11-2018, 14:00
  3. Replies: 9
    Last Post: 17-11-2011, 08:08
  4. Passing Arguments To Tbasic Program
    By peralta_mike in forum Core module
    Replies: 4
    Last Post: 03-11-2011, 19:12
  5. Invoking One .tbasic Program From Another .tbasic Program
    By gungadout in forum thinBasic General
    Replies: 46
    Last Post: 23-11-2009, 12:01

Members who have read this thread: 1

Posting Permissions

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