Search:

Type: Posts; User: kcvinu

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. 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...
  2. 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...
  3. Replies
    3
    Views
    1,982

    @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...
  4. Replies
    1
    Views
    1,891

    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.
  5. Replies
    4
    Views
    2,197

    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....
  6. Replies
    4
    Views
    2,197

    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.
  7. Replies
    3
    Views
    1,982

    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.
    ...
  8. Replies
    3
    Views
    1,723

    @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 ?
  9. Replies
    3
    Views
    1,723

    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,...
  10. Replies
    33
    Views
    20,911

    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...
  11. Replies
    33
    Views
    20,911

    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....
  12. 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.
  13. Replies
    12
    Views
    2,911

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

    @Rene Miner,


    I think that's the reason. Currently, "Private" is making no difference.
  14. Replies
    12
    Views
    2,911

    @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...
  15. Thread: UI development

    by kcvinu
    Replies
    19
    Views
    4,404

    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...
  16. Replies
    12
    Views
    2,911

    @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" ?
  17. Replies
    12
    Views
    2,911

    @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"...
  18. Replies
    12
    Views
    2,911

    @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...
  19. @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
  20. @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...
  21. 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)
    ...
  22. Replies
    7
    Views
    1,164

    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...
  23. Replies
    12
    Views
    2,911

    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...
  24. Replies
    7
    Views
    1,164

    @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
  25. Replies
    1
    Views
    884

    IDispatch is not working inside a Type

    IDispatch is not working inside a Type


    Type tList
    pList As IDispatch '\\ It works if i put this outside the type block.
    Function _Create()
    Me.pList =...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4