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

Thread: New UI ... CallBacks options

  1. #11
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,554
    Rep Power
    174
    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)
    I think there are missing some Forum-sections as beta-testing and support

  2. #12
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    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
    51
    Posts
    15
    Rep Power
    16
    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
    57
    Posts
    8,817
    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/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #15
    Junior Member
    Join Date
    Feb 2013
    Location
    Induno Olona (VA) Italy
    Age
    51
    Posts
    15
    Rep Power
    16
    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
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,554
    Rep Power
    174
    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?

    I think there are missing some Forum-sections as beta-testing and support

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

Members who have read this thread: 1

Posting Permissions

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