Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: New UI ... CallBacks options

  1. #11
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    51
    Posts
    1,422
    Blog Entries
    1
    Rep Power
    157
    That looks good...and it was certainly very difficult to decide which way to go - I'm not sure how I would have decided - either Dialogname_Controlname_OnAction or the way above which is not just shorter name but also allows two dialogs with for example an Exit-button to get handled from same callback-function. Duplicate control/dialog names are possible - I hope? (we still got an "Index" in CBHNDL/CBCTL)
    running thinBasic in HP Pavillon Desktop 590 a0xxx 8GB Ram AMD A6-9225 Radeon R4 5Compute Cores 2C+3G @2.6GHz

    OS: downgraded again to Windows 10 Enterprise x64 10.0.18363 Build 18363 (1909)
    (alternate OS: modified WinRE - boot from a fake ramdisk - currently in "reconstruction mode")

  2. #12
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,089
    Blog Entries
    5
    Rep Power
    725
    I like it Eros,

    it allows the user to define his own convention, if he wants dialog based prefix, he will bake it to string. Good, good, keep it coming please


    Petr
    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

  3. #13
    Junior Member
    Join Date
    Feb 2013
    Location
    Induno Olona (VA) Italy
    Age
    47
    Posts
    15
    Blog Entries
    1
    Rep Power
    13
    This is beautiful Eros,
    I can finally use the functions for individual events and all of the controls as I did long ago with VB6, very good, I think that from now on I will always use this new syntax, but is there a way as Rene said, to differentiate the control of more than a single dialog?

  4. #14
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10
    Sure Max!

    Next thinBasic 1.9.9.0 will have Button control improved with new syntax with 4 automatic callback events functions:

    1. Button Automatic Event Callback Function added: <ButtonName>_OnSetFocus
    2. Button Automatic Event Callback Function added: <ButtonName>_OnKillFocus
    3. Button Automatic Event Callback Function added: <ButtonName>_OnDisable
    4. Button Automatic Event Callback Function added: <ButtonName>_OnClick


    Than I will change TextBox and .... others

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  5. #15
    Junior Member
    Join Date
    Feb 2013
    Location
    Induno Olona (VA) Italy
    Age
    47
    Posts
    15
    Blog Entries
    1
    Rep Power
    13
    Great work Eros !!!

    please if you can, look also to the Visual Designer in future versions, I'm using it but I find so many bugs .... I, coming from VB6, I just can not do without this tool, and add many controls in manual mode, requires a large dispersion of time that could be done in 5 minutes with the help of a visual editor that works well. ..

    I was even thinking of writing one from scratch, with the help of good Rene, but the task is very difficult and I think I can not because I'm beginning with TB

    All other development environments have a visual designer working, even with editor for menu and messagebox

    Ciao
    Max

  6. #16
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    51
    Posts
    1,422
    Blog Entries
    1
    Rep Power
    157
    what an interesting comment. Did you look at the date? You should read the thread where Maxer introduced the finished software a few years ago and maybe tell us if you like it - or what we could improve

    Or are you just a bot, send to make few posts before starting the advertisements?

    running thinBasic in HP Pavillon Desktop 590 a0xxx 8GB Ram AMD A6-9225 Radeon R4 5Compute Cores 2C+3G @2.6GHz

    OS: downgraded again to Windows 10 Enterprise x64 10.0.18363 Build 18363 (1909)
    (alternate OS: modified WinRE - boot from a fake ramdisk - currently in "reconstruction mode")

Page 2 of 2 FirstFirst 12

Similar Threads

  1. OOP ideas
    By ErosOlmi in forum Suggestions/Ideas discussions
    Replies: 13
    Last Post: 26-08-2013, 20:26
  2. New karma options
    By ErosOlmi in forum General
    Replies: 2
    Last Post: 13-09-2006, 19:35
  3. New Options Management
    By RobertoBianchi in forum thinAir General
    Replies: 3
    Last Post: 24-02-2006, 13:48

Posting Permissions

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