Search:

Type: Posts; User: ReneMiner

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    942

    Lets see ... some thoughts to it... if we want...

    Lets see ... some thoughts to it... if we want something not exposed to the whole project but only available to a certain udt-element then we must not store it directly into a global variable and...
  2. Replies
    3
    Views
    942

    for your Private request: Do not use variables...

    for your Private request:
    Do not use variables to store data. Use the Heap-memory that will allow you to grant access to any data by your rules.
    Use variables local then to place the udt upon the...
  3. Thread: TAB Control

    by ReneMiner
    Replies
    2
    Views
    675

    Hi, welcome to thinbasic forums then, you find...

    Hi, welcome to thinbasic forums then,

    you find an example in your thinbasic-installation-folder, usually C:\thinbasic\sampleScripts

    i recommend to use a tool as 7z to create a backup of this...
  4. Replies
    1
    Views
    645

    thinBasic-project 1.2021

    The problem is, when i open a thinBasic-script it instantly is code.
    ThinAir should "learn" to apply all those things that were just checkboxes Option Explicit or the bundle options a few dropdowns,...
  5. SetAt will place a virtual variable to another...

    SetAt will place a virtual variable to another position
    GetAt will retrieve the current position
    IF you



    Dim x Like myObject.typename$ At myObject.DataPtr
    ' now x will let you access...
  6. thats right. For Unicode, especially WideString...

    thats right. For Unicode, especially WideString use LenW.

    Hint: If an Win32-Function ends with a Capital Char and involves Strings as Parameter or returned value it a signals

    ...A: to be ANSI...
  7. Replies
    32
    Views
    11,006

    Sticky: in Thinair_ Its construction site. You can no...

    in Thinair_ Its construction site. You can no more use the old ini but pick a theme - kind of xml-files
    right-click into the editor window to (re-)load a theme. turn of codetips and avoid the mouse...
  8. Replies
    32
    Views
    11,006

    Sticky: It looks good at least... I played the vs code...

    It looks good at least... I played the vs code also, dis-assembled it with an axe and chopped it to small pieces to find the point where i could hook thinBasic. VS Code - obviously is the code editor...
  9. Replies
    11
    Views
    995

    Private and Public are working bit different as...

    Private and Public are working bit different as in .net

    You will use it within type/end type to grant local or global access to the properties or methods of a type but not write it in front of...
  10. Replies
    11
    Views
    995

    _Get and _Set ( the underscore!!!) is for...

    _Get and _Set ( the underscore!!!) is for classes, i.e. udts with functions and classes are a protected - you must not write a _Get nor _Set-function to your udt since these exist already. They are...
  11. Replies
    11
    Views
    995

    you can do something as Function...

    you can do something as




    Function XYZ_NNNS(N1 as Number, N2 As Number, Really As Boolean, Ofcourse As String) As String
    End Function

    Function XYZ_SNNl(sData As String, N1 as Number, N2 As...
  12. Replies
    11
    Views
    995

    before i manually fix it again up there i place...

    before i manually fix it again up there
    i place the thing that will do it whenever it occurs again and pick these html-tags out



    uses "console" ', "inet" '"brains"

    printl "copy the text...
  13. Replies
    11
    Views
    995

    the _Create-function is (as _Destroy or _Get and...

    the _Create-function is (as _Destroy or _Get and _Set) developed not to be called. They are invoked internally in certain moments and act as events.<br><br>to initialize your types you can create a...
  14. Thread: GetTickCount

    by ReneMiner
    Replies
    4
    Views
    932

    [QUOTE=Yann_F_29;96013]Hi René ...

    you actually do not want to know the SizeOf(returned GetTickCount-result)


    but the TypeOf(result returned by GetTickCount)


    GetTickCount() is a Win32-API-Function. It returns a signed 32Bit...
  15. Thread: GetTickCount

    by ReneMiner
    Replies
    4
    Views
    932

    you could find out using SizeOf( GetTickCount) -...

    you could find out using SizeOf( GetTickCount) - if 4 its a 32Bit integer, 8 were 64Bit Integer Type , 10 if it were a number or 16 in case Variant
  16. begin controlid the printing on top messed...

    begin controlid


    the printing on top messed it up?
    what would happen if you print it and use redraw/refresh?
    as in Callback



    callback function tWindow_OnSizing() As...
  17. CreateGreadientBrush really a gread...y ...

    CreateGreadientBrush

    really a gread...y brush? is it a typo - same in your script? are you sure it is called? Are you using Call_IfExists? or call by function?GetPtr?
    I would spell it...
  18. Replies
    7
    Views
    422

    Update: i tried and completed the procedure...

    Update:

    i tried and completed the procedure of making all necessary additions and settings that are possible to let thinBasic use #compiled...#endcompiled and do the same as it would do to with...
  19. Replies
    7
    Views
    422

    i think its able to handle unicode data but the...

    i think its able to handle unicode data but the ide works using ANSI by default. it was a german page where i found it you can try
    has the archive password-sealed but it's simply 123, has compiler...
  20. Replies
    7
    Views
    422

    yyou're welcom, my pleasure. I found lately a...

    yyou're welcom, my pleasure.
    I found lately a free - bit older verrsion of powerbasic. that was the first attempt to create somewhat like a module.
    Astonishing how many thing of thinbasic are...
  21. Replies
    7
    Views
    422

    i tried something...

    maybe... i had to try... anyway, i am nosy too

    FUNCTION Provide_FuncPtr ALIAS "Provide_FuncPtr" () AS LONG

    even if no parameter you can try
    call from tb Provide_funcPtr Function?getPtr(your...
  22. Replies
    4
    Views
    213

    lets say this is my udt, ...it can give you the...

    lets say this is my udt, ...it can give you the name of the variable that was defined at the varptr.if the name is of use for you...
    script :




    '---Script created on 04-09-2021 23:44:27 by...
  23. Replies
    10
    Views
    601

    you can use any tpye of script for what you like,...

    you can use any tpye of script for what you like,
    Even possible to make your own filetypes and extensions but thinAir will complain. But thincore executes everything. Importan that it must have an...
  24. Replies
    10
    Views
    601

    no its function?getPtr. the code is not compiled...

    no its function?getPtr. the code is not compiled so are no real function pointers, use codeptr and read the manual hpw thinbasic-users can get around this individuality
    i meant the scripts i...
  25. Replies
    10
    Views
    601

    am not sure but if you want ti create a...

    am not sure but if you want ti create a windowvlass of the medieval generation there was something to do as calling to initcommon controls checl the tninbasic sample files - i think tjhere washidden...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4