Search results
Search results 161-180 of 436.
Dear visitor, welcome to Jabaco - Community.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Nachtrag zu GFA-Basic, falls Du es noch nicht weißt: Die DOS- und Windows-Versionen von GFA-Basic sind seit einigen Jahren Abandonware: https://sites.google.com/site/gfabasic16/ https://sites.google.com/site/gfabasic322/ Und zu Mono hatte ich vergessen zu sagen, daß es dafür auch WinForms gibt: http://www.mono-project.com/WinForms werden meines Wissens aber seit Jahren nicht mehr weiterentwickelt. Grüße theuserbl
Hi Desi! Quoted Mein Einstieg war damals das recht legendäre GFA-Basic. Die 16bit-Windows-Version (und später auch die 32bit Version) ist mir doch einigermaßen vertraut. Ein Prof von mir schrieb darin seine Programme, wie mehrgliedrige, rotierende Pendel und so. Seltsamerweise waren die erstellen Quellcode-Dateien, kein reiner ASCII-Code und zudem auch noch größer, als wenn sie aus reinem ASCII-Code beständen. Quoted [...] und programmierte immerhin drei Jahre lang an einer Artikelverwaltung mit...
Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 Import java#util#Locale Public Sub main(ByJava args() As String) Dim language As String = Mid(Locale.getDefault, 1, 2) Select Case language Case "en" 'englich MsgBox "Happy holidays" Case "fr" 'france MsgBox "Joyeuses Fêtes" Case ...
Thanks for the bug-report. currently this will help you: Jabaco Source 1 2 3 Public Sub dispose() MsgBox "MDI Form unloaded" End Sub Greatings theuserbl
Only wanted to say, that the number -1 for no color would nice. But if you set it as default, it have to be in the XML-file set. And I am unsure, if it is a good idea, tpo say, that people have not only replacing Jabaco.jar with a newer one, they have also replace the xml-file. And in the xml-file Jabaco saves settings, like the last opend files. If the xml-file will be replaced, the list of the last opend files are lost. Greatings theuserbl
Quoted from "Dani" Hey there theuserbl, Quoted The default colors for every control is defined in the file Jabaco.xml in the Jabaco-directory. that is a great tip I did not know. Thanks! This behavier makes also problems. If it is not defined there, then in an enumeration the first one will be used and for number the 0 will be used. Thats the reason why I begoin in the Anchor property with TopLeft. To have that as default. Quoted Quoted I would prefer, if Manual would add a System color called ...
Havn't much time at the moment. But I want to say, that colors are everytime a problem in Jabaco. For example the background of an RichTextBox and TextBox are on Windows white. On Linux it is in Jabaco-programs gray. The default background of such an control in Java is on Linux white, too. The reason is, that Jabaco uses for the background the java.awt.SystemColor.window, which is on Windows white and Linux gray. The result is, that if I change the LookAndFeel of the Jabaco-program to Metal, the...
Quoted from "pandapipino" Yeah tried that also, no errors but it still does not execute any programs. I've tried many bunch of codes for shell but I'm also really out of ideas right now. On my computer it works without problems: index.php?page=Attachment&attachmentID=329 Greatings theuserbl
the win.call ist similar like reflection. The problem is, that "Nothing" don't working as an replace for an array. Currently I see only the possibility to create a little Java-file which have an method in which it calls the win.call. And then access this method from Jabaco. But at first you need to write the Javascript part, to have a function, which will be called by win.call. Greatings theuserbl
Ok, win.call needs a String and an Object-Array: Jabaco Source 1 2 3 4 Dim o(4) As Object Dim win As netscape#javascript#JSObject win = netscape#javascript#JSObject.getWindow(Me) win.call("f", o) this compiles.
Quoted from "luismator" Please, do you know how to return a value to html-php page from an applet? I have googled and find this sides about it: [ http://docs.oracle.com/javase/1.4.2/docs…de/java_js.html ] [ http://www.raditha.com/java/alert.php ] Edit: This side is better then the second of the two last links: [ http://www.raditha.com/java/mayscript.php ] At first you need to add plugin.jar to your Jabaco-Classpath: - Press [F1] - Press on Button "Add Jar-Archive..." - Add plugin.jar from your ...
Haven't much time at the moment. But Quoted from "pandapipino" my .sh file has this command inside: Quoted #!/bin/sh python start.py If it only starts python with a script, have you then tried out to start it direct in Jabaco? Jabaco Source 1 Shell ("python start.py") Greatings theuserbl PS: If the python-programs gives something out on commandline, you have again to use the extended version: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Dim p As java#lang#Process p = Shell ("python start.py...
On Windows (and Linux) you can also start Java-Programs: Jabaco Source 1 Shell ("java -jar C:\Programme\Java\jdk1.7.0_07\demo\jfc\SwingSet2\SwingSet2.jar") Quoted from "pandapipino" how can I open a .sh file? What does the .sh file do? Starts it a program with a window and so on? Then you can write Jabaco Source 1 Shell ("/bin/bash /home/panda/myapp/start.sh") Gives it something out in commandline? Then your program will be something bigger. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Dim ...
Quoted from "pandapipino" Can you give me a sample working code for linux I don't know what you mean. On Linux it works the same like on Windows. Quoted for opening files denizunlu have posted at [ http://www.jabaco.org/board/862-file-i-o.html ] how to handle I/O. Create a CommandButton called "Command1" and a RichTextBox called "RichTextBox1". Then this code works for Linux. It readss the hosts file and outputs it in the RichTextBox: Jabaco Source 1 2 3 4 5 6 7 Public Sub Command1_Click() Dim ...
Quoted sometimes "call end" occur problem when compiling. Some times there is no problem. Do you have examples of both? Possible the compiler have problems to understand it, because "End" is an internal word and a name of a Sub. But instead of Jabaco Source 1 Call End you can write like in Java Jabaco Source 1 System.exit(0) or direct that, to what "Call End" will be compiled Jabaco Source 1 Global.End Greatings theuserbl
I have now uploaded Revision 101 as compiled Jar-file. As Dani mentioned, you can find it at [ http://code.google.com/p/jbaindi/downloads/list ] Direct Link: [ http://jbaindi.googlecode.com/files/Jabaco-rev101.jar ] Greatings theuserbl
And with this you can go to top and bottom, without changing the view position in X: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Public Sub Command1_Click() Dim v As javax#swing#JViewport = JBGrid1.getViewPort v.setViewPosition(New Point(v.getViewPosition.getX,0)) JBGrid1.setViewport(v) End Sub Public Sub Command2_Click() Dim v As javax#swing#JViewport = JBGrid1.getViewport Dim vpos As Single = v.getViewSize.getHeight-v.getViewRect.getHeight If vpos<0 Then v.setViewPosition(New Point(v....
Quoted Quoted and how can i move to last when i press BOTTOM? Jabaco Source 1 2 3 4 5 Public Sub Command2_Click() Dim v As javax#swing#JViewport = JBGrid1.getViewPort v.setViewPosition(New Point(0,99999)) JBGrid1.setViewport(v) End Sub Last one is only a dirty hack. Here a better solution: Jabaco Source 1 2 3 4 5 6 7 8 9 10 Public Sub Command2_Click() Dim v As javax#swing#JViewport = JBGrid1.getViewport Dim vpos As Single = v.getViewSize.getHeight-v.getViewRect.getHeight If vpos<0 Then v.setVie...
Quoted from "Dani" Why not Jabaco Source 1 (Index As Integer) Because I was unsure of side effects, when using Index, which already is internal used. Quoted since for example in ComboBox.jsrc it also is Jabaco Source 1 RemoveItem(Index As Integer) Ok, then there don't exsiting side-effects. Quoted I don't mind naming it 'v' but maybe the user is more guided towards using the ListIndex otherwise Ok, you can change it to Index, if you want. Quoted It is a tough decision whether to add a feature o...
Quoted from "Dani" I suppose that is not intentionally!? True. :-) Thanks for the info. I currently haven't the time to fix it. And I am not sure, if it would be better to copy all methods (without the Anchor-part) from Label to JBCellData or to create a new file called AbstractLabel (similar to AbstarctForm) or BasicLabel, which will be the superclass of Label and JBCellData. First possibility could be possible, that it needs more code. Last possibility ends with an additional file, which neve...