Results 1 to 10 of 10

Thread: funDialox demo (testing)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    51
    Posts
    934
    Rep Power
    109

    funDialox demo (testing)

    hello all

    yesterday evening I found several old powerbasic examples and complete this to a simple "funDialox" module for testing. I couldn't sleep as my young daughter couldn't sleep this night. I've installed thinbasic 1.8.9.0. for testing this module.

    the fundialox works like an ui dialog. in syntax you can see what's possible (buttons, textbox, listview, label, dialog with colors). perhaps anybody can give feedback if this fundialox module is working correct and working with win 7 (I am still using xp window).

    all you need you will find in zip folder. have fun with it now I can understand what a big job this must be to write a whole interpreter / compiler. I have some great respect of those guys!

    best regards, frank
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Lionheart008; 15-03-2012 at 15:10.
    you can't always get what you want, but if you try sometimes you might find, you get what you need

  2. #2
    Hi Frank
    i have tried your example on windows 7 wich i use very rarely just for testing. and yes it works and its events as should be like in windows xp. my system is 32 bit.
    so you want to make fatBasic versus ThinBasic, we may see it someday here http://basic.mindteq.com/index.php i suggest a name sportyBasic, or as i know you like the graphics i suggest this name { GraphicaBasica } , it inherits the glory of the oldest MS Basica language, and the colorful graphical world.

  3. #3
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    51
    Posts
    934
    Rep Power
    109
    thank you zak for testing it was just an eample and understanding how such a dialog works with parsing and making buttons, textbox, labels and listbox (that was much more work to do!). I haven't a special name in my mind (perhaps "funBasicz"), but I will ask again in some weeks or month. "sportyBasic" isn't bad as "graphicaBasic", pretty nice names! perhaps it's possible to make a stand-alone-version of it, I don't know yet. the graphical things I prefer, that's right and interesting for me for the future. But what I will do further with this fundialox I don't know. I wasn't programming last month a lot with thinbasic, but it's a great interpreter, that's a fact!

    question: do you see the syntax with blue colored commands in your dialog?

    nice week, best regards, frank
    Attached Images Attached Images
    you can't always get what you want, but if you try sometimes you might find, you get what you need

  4. #4
    No , your own keywords are not colored whether in xp or win7 http://s18.postimage.org/sh1auhce1/fundialox.jpg,
    we must overwrite the original thinBasic_Keywords.ini in folder "C:\thinBasic\thinAir\Syntax\thinBasic" or write your own keywords in the file thinBasic_Keywords_Usr.ini which are located in the same directory and it will be colored. seems to me Eros forgot nothing, i have noticed this file just now.

  5. #5
    Senior Member Lionheart008's Avatar
    Join Date
    Sep 2008
    Location
    Germany, Bad Sooden-Allendorf
    Age
    51
    Posts
    934
    Rep Power
    109

    Fundialox module: Pixel dialog, Imageloading, Gdiplus included

    last night I added new features in my Fundialox module. It's now possible to load Images (png, bm, jpg..) using gdiplus include files. that was a hard work to collect all necessary files for it!

    all example you will find in zip folder: images, thinbasic examples, fundialox.dll.

    for zak: there is also a description how to use this new syntax

    I would be glad if there are some users here for testing the new features.

    I have had two years ago experiments with "tb_graphx module". now I know where I did some mistakes in parsing and the setup of gdiplus include files to convert to a separately module

      
    
    
    ' - Empty GUI script created on 04-06-2012 09:14:22 by lionheart008 (frank brübach)
    ' - a) dialog units and b) pixel dialog and c) true! gdiplus image loading
    
    Module "Fundialox"
    
    Begin Const     
      %myPics = 1
      %myPics2
    End Const
    
    Dim hdlg As Long, hdc As Long
    '------------------------------- // pixel dialog ! 
    
    ' here: load by using gdiplus files various image files like JPG, PNG format
    
    IMGDL(0, "myTestDialog for ImageLoading: Swan_PNG + EasterTree_JPG",100,100,770,460) 'pixel dialog
    
    GRAFX(%mypics,"", 0,0, 750, 450) 'load place where to load the image
    grafxcol(RGB(0,0,0),RGB(0,0,200)) 'background color of pixel dialog
    
    myPic("osterbaum1.jpg", hdc, 10,10) 'you can load several images in one scene!
    myPic("schwan1.png", hdc, 400,120)
    
    modalix(1)
    
    best regards, happy easter days and better wheather here for germany, servus, Frank
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Lionheart008; 07-04-2012 at 10:27.
    you can't always get what you want, but if you try sometimes you might find, you get what you need

  6. #6
    thats small and easy to use, it should be added to the user experimental modules, i can't find it. i suggest to add the ability to maintain the pictures proportions with the form if we click expand icon , as an example the official thinbasic example C:\thinBasic\SampleScripts\GDIp\GDIp_BackImage.tbasic has this feature.
    is the easter eggs tree picture is the Germany easter 10000 eggs tree ?
    youtube.com/watch?v=vxMGQnS4Ao4

    PS: i have found user experimental modules Forum:
    http://www.thinbasic.com/community/f...rary-interface
    Last edited by zak; 07-04-2012 at 14:51.

Similar Threads

  1. Astronomical Unit (module) simple example for testing :)
    By largo_winch in forum thinBasic vaporware
    Replies: 1
    Last Post: 24-12-2011, 11:21
  2. TBGL - please help with testing fonts
    By Petr Schreiber in forum TBGL General
    Replies: 3
    Last Post: 13-06-2009, 21:33
  3. Demo
    By peter in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 10
    Last Post: 12-03-2009, 15:39
  4. SandBox Testing
    By ISAWHIM in forum Code
    Replies: 15
    Last Post: 12-10-2008, 11:12
  5. Help on testing some new future features
    By ErosOlmi in forum thinBasic vaporware
    Replies: 14
    Last Post: 14-08-2008, 17:58

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
  •