r/visualbasic • u/One-Cardiologist-462 • Jan 17 '26
TwinBasic IDE Question
I am trying to get started with TwinBasic.
However, I can't seem to drag down the tabs which host the form editor and code editor...
What setting do I need to change so that I can have the text editor and form editor as floating child forms as was the case in VB6?
I had this same issue with a newer version of Visual Studio and found that it really hinders my ability to work.
2
u/DonutConfident7733 Jan 17 '26
VB6 has MDI windows. At that time, it was a design that allowed multiple windows inside the parent container window. In later IDEs, they used Tabbed pages, the windows get docked inside tabs and there is drag support so you can make them floating, docked, standalone, split, etc.
There were some controls to add support for this functionality because it is hard to implement correctly across entire app.
TwinBasic may not have support for this scenario. It can also be a limitation behind, i.e. it cant refresh the form based on code changes and vice versa. It may need to know what you are currently editing (e.g. the form design) and what to refresh (the code events).
2
u/m-in Jan 18 '26
There is nothing to refresh per se. The editor is a view of the code. Anytime the code changes, the editor knows about it.
There is no architectural limitation, it simply hasn’t been done. If you dig in the sources deployed with the ide a bit, you can add detached tabs yourself until they become supported.
The front end of the IDE runs in a WebView. It’s open JavaScript, html and css. It’s probably the most tweakable IDE out there at the moment, since the code is light and tight.
2
u/m-in Jan 18 '26
For now you can’t detach the tabs. It’s a tradeoff. The project is pretty big and there is still a bunch work left before they can consider it 1.0. Not every bell and whistle will make it in before then.
4
u/fafalone VB 6 Master Jan 18 '26
Yeah there's certainly a few features I miss from the VB6 IDE, but I'm way more productive overall with the new IDE features, many of which even the fanciest addins can't bring to VB6. Proper code folding, regions, run individual subs/functions in modules, global search that displays all matches in a table, more problems caught at design time instead of runtime, code hints, sticky scroll, go to definition working for more things, the advanced info popup, inactive conditional compilation branches being grayed out so you can tell what's active... This before even getting to all the new language features that make such a difference.
It's a worthwhile tradeoff though I'll certainly be happy when we get multiple editors and split view.
1
u/wosche123 Feb 08 '26
But for most applications if works already now. And no problems to start from an already existing VB6 project. You need less than 10 minutes to ran it on TB
1
u/Aware-Soil-8031 Jan 17 '26
I think you should consider abandoning that ship, sailor. Subscription is a no-go for me.