Search results
Search results 241-260 of 325.
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.
Hey there, well you are right... With that framework version you will not be able to run my code! Dani
Hey there, did you update your framework version like I mentioned here: http://www.jabaco.org/board/p3242-combob…1.html#post3242 Thats about all I can think of. Try the testproject though...index.php?page=Attachment&attachmentID=308 Dani
Hey there, Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 'in Module1... Public Sub main(ByJava args() As String) Dim myArgs() As String myArgs = args Form1.SetDefaultClose() Form1.Parent.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE) Form1.Show() End Sub 'in your Form... Public Sub Form_Unload(cancel As Integer) If MsgBox ("Quit?", vbCritical Or vbOKCancel,"Title") = 2 Then Exit Sub Me.Parent.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE) End Sub have fun... Dan...
Hey there, hm, it returns 92 results for me! Be sure to start your search either at http://jabaco.org/board/ or [url]http://www.jabaco.org/board/index.php?form=search[/url] otherwise you are only searching the branch of a thread downwards. Also you might have to enable javascript for your browser. Dani
Hey there, using the search facility will give you answers for many issues: possible keywords -> select, sqlite, H2 database ... e.g. http://www.jabaco.org/board/p1400-sql-st…e.html#post1400 have fun Dani
Hey there, I should have thought of it earlier, just for this one ComboBox: Jabaco Source 1 ComboBox1.Parent.setSelectedIndex(-1) You can always access a components java instance directly through it's .Parent intellisense menu!! Dani
Hey there, as I have been trying to explain: In order to make that change you have to compile the framework to get your own Jabaco.jar. And that is a bit of a task! You will have to do some reading and searching in this forum. Check out this thread for a start: http://www.jabaco.org/board/p3112-http-u…y.html#post3112 I have done this once to get some very specific functionality but I hardly remember every step. Dani
Hey there, unfortunatly there is no fixed location for the latest compiled framework version. So someone who is not constantly watching this board will not even know where and what version to look for! As far as I know this post: http://www.jabaco.org/board/p3044-comman…r.html#post3044 is pointing to thelatest version. But as I mentioned the Combo.ListIndex bug is not fixed yet. I pointed out how to fix it in the framework as you might have seen in the bugreport. In general to substitute any exi...
Hey there, see also bugreport: http://www.jabaco.org/board/p3125-combob…1.html#post3125 Lately theuserbl is the only one who updates and provides compiled framework versions. Maybe he is willing to fix this as well?! Dani
simply extract the containing folder to some location on your system open it and doubleclick on 'KeyListener.jba' got to work now ... have fun Dani
Hey there, as far as I know it should set the according references by itself! You can try to set them manually or you can download the attached archive Dani index.php?page=Attachment&attachmentID=307
Hey there, did you create a TextBox named Text1 in the UI designer? When you press F1 a window called Imports appears. You can set references to external libraries here. Go ahead and check if -> java#awt#Event#KeyListener is selected within the rt.jar Usually this is done by Jabaco when you press the Start button for debugging! When all that is present in your code editor the following Subs should be created: Jabaco Source 1 2 3 4 5 6 7 8 Public Sub keyTyped(arg2 As KeyEvent) End Sub Public Sub ...
...that would be Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Option Explicit Implements java#awt#Event#KeyListener Public Sub Form_Load() Text1.Parent.addKeyListener(Me) End Sub Public Sub keyTyped(arg2 As KeyEvent) If Len(Trim(Text1.Text))>= 10 Then arg2.setKeyChar(0) End Sub Public Sub keyPressed(arg2 As KeyEvent) End Sub Public Sub keyReleased(arg2 As KeyEvent) End Sub assuming you want to limit the input of a single control -> Text1
Hey there, have a look at this thread it might inspire you... http://www.jabaco.org/board/p2953-keypre…r.html#post2953 Dani
Hey there Jason, me too... I remember programming a little green worm crawling across the screen on an apple II That must have been the late 80'ies ... California High School! lol... Basic on Mac I still have some 5,25″ floppy disks ... probably worthless by now ... Dani
Oh, I don't have a 'problem' with the framework. You pretty much showed me how to compile it and I've got my own version. But all this might not be obvious to others! Browsing through this forum I was under the impression that there used to be an easier way to get the framework compiled. And due to missing sections this is no longer possible. I appreciate you providing framework updates. Helped me a lot too. I did mention that before! I don't see these updates here though: http://www.jabaco.org/...
I don't know!! It pretty much all depends on Manuel. I think a core step would be to get the framework development up and runnig again. The framework is a powerful part of Jabaco and Manuel did right to open it to the comunity. The comunity was a lot more active when it was still compiling and everyone could download the same 'official' and working version! http://www.jabaco.org/board/p861-update-…-2.html#post861 There have been numerous requests in the forum to fix the framework problems (fix m...
Hey there, in the framework... Jabaco Source 1 2 3 4 5 Public Property Let ListIndex(val As Integer) If val > 0 And val < ListCount Then Call Parent.setSelectedIndex(val) End If End Property could be changed to something like this: Jabaco Source 1 2 3 4 5 Public Property Let ListIndex(val As Integer) If val >= -1 And val < ListCount Then Call Parent.setSelectedIndex(val) End If End Property I am pretty sure this would be close to VB6 behaviour!! Dani
Hey everybody, Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Public Sub Form_Load() ComboBox1.AddItem 0 ComboBox1.AddItem 1 ComboBox1.ListIndex = 1 Debug.Print ComboBox1.ListIndex 'will not change ListIndex!! ComboBox1.ListIndex = 0 Debug.Print ComboBox1.ListIndex 'will not change ListIndex!! ComboBox1.ListIndex = -1 Debug.Print ComboBox1.ListIndex End Sub I am not sure if this was happening before!? But with framework rev87 I can not set the ComboBox1.ListIndex to 0 or -1!! Dani
Hey there theuserbl, you are right it does work, but not for every site! 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 Option Explicit Public Sub Command1_Click() java#lang#Class.forName("org.h2.Driver") Dim conn As Connection Dim qry As String Dim st As java#sql#Statement Dim rs As ResultSet Dim UserAgent As Boolean = True conn = DriverManager.getConnection("jdbc:h2:C:\test", "xy", "xyz") st = conn.createStatement() If UserAgent = True T...