Search:

Type: Posts; User: kcvinu; Keyword(s):

Page 1 of 5 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    4,416

    Hi all, Glad to hear the new info. It was around...

    Hi all,
    Glad to hear the new info. It was around 14 months ago I tried ThinBasic for a hobby project. And later I found that, the UDTs ae under construction. So I shelved my project for some time...
  2. After posting the above text, I just tried the...

    After posting the above text, I just tried the SetWindowText & SendMessage functions inside the CbDialog function. Amazingly, it worked very well. The same result. So I am assuming that ThinBasic's...
  3. Subclassing ThinBasic's Ansi window and change it to a unicode window !!

    Hi all,
    I don't know if anyone tried this already. This is a nice trick which you can change a normal thinbasic ansi window to a unicode window. For an experiment, I started with a normal gui window...
  4. Replies
    3
    Views
    3,334

    @Rene Miner, Thanks for the reply. I am not...

    @Rene Miner,

    Thanks for the reply. I am not sure I get your idea completely. I think SetProp and GetProp seems a good idea but how does it solve the problem I stated ?
    My problem was the access...
  5. Replies
    1
    Views
    2,988

    You mean, like the Add reference dialog in Visual...

    You mean, like the Add reference dialog in Visual Studio ?
    Thants a good idea.
    Well, I ThinBundle has a problem. It wants us to turn off the antivirus to do the bundling.
  6. Replies
    4
    Views
    4,248

    I found the answer. First, I experimented with...

    I found the answer.
    First, I experimented with OS_GetCommand at the middle of my script. Then I paste the code to start of the script and it worked. But It dosen't catch the string inside quotes....
  7. Replies
    4
    Views
    4,248

    How to command line arguments in Thinbasic ?

    Hi all,
    I need to get the cmd line arguments in my script.


    OS_GetCommand(1)

    This is not working. Please help. Thanks in advance.
  8. Replies
    3
    Views
    3,334

    Please Improve ThinBasic

    Hi Eros,
    I was working on a GUI toolkit. But some imperfections in Thinbasic got in my way. They are as follows.

    Private is not working. So now we can access any private variable from a type.
    ...
  9. Replies
    3
    Views
    3,132

    @Rene Miner, I am sorry, I didn't get you. I am...

    @Rene Miner,
    I am sorry, I didn't get you. I am confused about "SetAt". What is it used for ? To set a pointer at new memory location ?
  10. Replies
    3
    Views
    3,132

    Never use Len when you use unicode string.

    Hi all,
    Last day, I was trying to create a static control (Label) for my gui toolkit. Eventually, I need to implement the AutoSize property for my tLabel type.
    After a few minutes of google search,...
  11. Replies
    33
    Views
    86,277

    Sticky: The reason I wanted to switch to a new IDE is, ...

    The reason I wanted to switch to a new IDE is,
    1. When I scroll up & down with the laptop's touchpad, it scrolls horizontally.
    2. If I change the editor font, It won't save that change. I...
  12. Replies
    33
    Views
    86,277

    Sticky: I just tried VS Code successfully. 1. Set the...

    I just tried VS Code successfully.
    1. Set the syntax highlighting to VB for extensions like "*.tbasic", "*.inc", "*.unit".
    2. There is an extension for vs code called code-runner. Install it.
    3....
  13. Is it possible to use a FreeBasic UDT in ThinBasic ?

    Hi all,
    Is it possible to use a FreeBasic UDT in ThinBasic ? If so, please explain how ? Thanks in advance.
  14. Replies
    14
    Views
    7,960

    @Rene Miner, I think that's the reason....

    @Rene Miner,


    I think that's the reason. Currently, "Private" is making no difference.
  15. Replies
    14
    Views
    7,960

    @Rene Miner, Thanks for the details reply. So...

    @Rene Miner,
    Thanks for the details reply. So yeah, I miss-understood the concept behind _Set & _Get. I thought it is something like this VB .Net code.


    Public Class Sample
    Private _SomeValue...
  16. Thread: UI development

    by kcvinu
    Replies
    19
    Views
    9,249

    Hi all, I know this is an old thread. But I...

    Hi all,
    I know this is an old thread. But I would like to tell you something. I am writting a GUI library in ThinBasic. Since, thinBasic UI is not supporting unicode, I wrote my own with full...
  17. Replies
    14
    Views
    7,960

    @Rene Miner, Wow !! That's a great approach....

    @Rene Miner,
    Wow !! That's a great approach. Thanks for the code sample.
    Could you please elaborate a little more about "Set" & "Get" ?
  18. Replies
    14
    Views
    7,960

    @Rene Miner, When I read this words from...

    @Rene Miner,


    When I read this words from your comment, I suddenly typed "Set" in thinAir and it recognize it as a keyword. But Then I search in Sample script folder to find an example with "Set"...
  19. Replies
    14
    Views
    7,960

    @Rene Miner & @Petr The one and only easy...

    @Rene Miner & @Petr
    The one and only easy workaround in front of me is this.


    type Sample
    iVal As Integer
    sVal as String
    bVal As Boolean
    InitSample1 As Function
    InitSample2 As...
  20. @ReneMiner Yes, obviously. That's why I...

    @ReneMiner


    Yes, obviously. That's why I comment out that line.But still it is working fine. That's strange.


    tWindow is a type. Here is the typical usage.


    Dim win As tWindow
  21. @ReneMiner, First of all thank you for the...

    @ReneMiner,

    First of all thank you for the reply. Well, CreateGreadientBrush was a typo. Usually, I do copy & paste for function names. I corrected it to "Gradient". I was about to change the code...
  22. Gradient window background is not working properly

    Hi all,
    I am trying to implement a gradient background color in tWindow class. Here is the the function for it.


    Function tWindow.SetGradientBackColor(Byval c1 As Long, Byval c2 As Long)
    ...
  23. Replies
    7
    Views
    2,668

    Free version of power basic ? Is it ? Does Power...

    Free version of power basic ? Is it ? Does Power Basic have Unicode support ?,
    These are the things I attracted in a programing language.
    1. Is it Free ? (At least a limited free version is...
  24. Replies
    14
    Views
    7,960

    How to use constructor overloading ?

    Hi all,
    I need to use overloaded constructors for RGB type. One ctor will receive a long parameter and another will receive 3 byte parameters. But now thinbasic is stop working when i use two...
  25. Replies
    7
    Views
    2,668

    @ReneMiner, Thans a lot for the help. I will...

    @ReneMiner,
    Thans a lot for the help. I will sure check your code sample. First of all, let me study your approach. I will come up with my questions. Thanks again.:D
Results 1 to 25 of 121
Page 1 of 5 1 2 3 4