-
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 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
-
This is beautiful Eros, :o
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?
-
Sure Max!
Next thinBasic 1.9.9.0 will have Button control improved with new syntax with 4 automatic callback events functions:
- Button Automatic Event Callback Function added: <ButtonName>_OnSetFocus
- Button Automatic Event Callback Function added: <ButtonName>_OnKillFocus
- Button Automatic Event Callback Function added: <ButtonName>_OnDisable
- Button Automatic Event Callback Function added: <ButtonName>_OnClick
Than I will change TextBox and .... others
Ciao
Eros
-
Great work Eros !!! :D:D
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
-
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?
;--);--)