I have long thought about it, but sorry, I like it. So I have now done it in the Framework:
[
http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary ]
You know, that to write on the Console you write
|
Jabaco Source
|
1
|
System.out.println("Hello")
|
or simple
|
Jabaco Source
|
1
|
out.println("Hello")
|
But that isn't VB-like.
In Jabao you write in the PictureBox with
|
Jabaco Source
|
1
|
Picture1.Print("Hello")
|
, in the Form
|
Jabaco Source
|
1
|
Form.Print("Hello")
|
and in the Debug-Window with
|
Jabaco Source
|
1
|
Debug.Print("Hello")
|
So I have now added for the Console a
|
Jabaco Source
|
1
|
Console.Print("Hello")
|
Visual Basic 6 don't support the console. But I think, this command would be existing, if console support would be part of VB6.
Additional there is a little "Console.Input". Here an example:
|
Jabaco Source
|
1
2
3
4
5
6
7
|
Dim tmpStr As String
Console.Print("Please input a text:")
tmpStr = Console.Input()
Console.Print("You have input '" & tmpStr & "' as text.")
Console.Print("")
tmpStr = Console.Input("Please input an other text: ")
Console.Print("Your new text was: '" & tmpStr & "'.")
|
I think it is a lot of easier, then the handling with arrays in the "ConsoleQuiz" of the Jabaco Samples.
Additional I have changed the ExceptionDialog, to set the details as default off.
It makes no sense, to change it on and off, when it is as default on. Before anybody presses the button for lesser details, they pressed the button, to close the dialog.
Greatings
theuserbl