Search results
Search results 301-320 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.
NICE ... THANK YOU VERY MUCH theuserbl great to see that people stick around, very much appreciate it ...
OK, here is the scenario for my .FontBold Problem. It has nothing to do with a XP theme. Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ' in a module Global prgRef As tPrgRef 'ProgRef Referenz Array...about 20 values! Type tPrgRef tmpBool1 As Boolean = False End Type ' in a frm Public Sub cmdChangeSettings_Click() cmdChangeSettings.FontBold = True Dim dlgChangeSettings1 As New dlgChangeSettings dlgChangeSettings1.Show(1) prgRef.tmpBool1 = False If prgRef.tmpBool1 = False Then cmdChangeS...
Quoted I have tried it out and it works perfect. Thanks for testing. I guess I have to fiddle with this one. I think Jabaco does not like my 'milk theme' on XP SP3!! Dani
Did anyone come up with a fix to this yet? Also: 1. when I set a mouse listener for example tp a Jbgrid I can't get Me.mousepointer = vbHoureglass / vbDefault to work --> does anyone know when setting a mouse listener to the JbGrid header, how to change the mousecursor? 2. at runtime when I set a Textbox (or other control) to FontBold nothing happens! Thanks ...
Hey there, I just happened to read this and thought maybe this is interesting for you too!
oh I forgot... Of course you will have to specify some kind of delimiter for your files (";" in the above example) - vbcrlf for line end.
Hey there, I did not test it but something like this might work: Jabaco Source 1 2 3 4 5 6 7 8 ' read a file Dim inputStream As New java#io#BufferedReader(New java#io#FileReader("c:\file.txt")) Dim tmp() As String, i As Integer tmp() = Split(cStr(inputStream),";") For i=0 To UBound(tmp()) List1.AddItem tmp(i) Next i Call inputStream.close() I remember reading something like this posted in this forum. Also there is quite a bit source code, e.g.: Reading and writing binary data Have fun, Dani
I just realized that depending on from where the mouse is moving towards the grid header you get different values for arg2.getY ! Aproaching from S you get values <= JBGrid1.HeaderHeight over the first row. You can also use: Jabaco Source 1 2 3 4 5 6 7 8 9 Public Sub mouseClicked(arg2 As MouseEvent) ' capture a single click on the table header for sorting! ' If arg2.getY < JBGrid1.HeaderHeight Then If InStr(arg2.getComponent,"JTableHeader") Then Debug.Print "header clicked " & JBGrid1.Header(JBG...
Hey there A1880, I kind of figured you would be there... Well I got a solution for now! 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 Option Explicit Implements java#awt#Event#MouseListener Public Sub JBGrid1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) Debug.Print "Mouse Down " & JBGrid1.Parent.getSelectedRow & ";" & J...
Hey everybody, I can't get this to work! It seems like it doesn't matter whether row > 12 or < 12. The Click() or DblClick() event is only fired for rows that have been within a visible range! As soon as rows are affected by the vertical scroll pane there is no Click() event. Try the above sample and set JBGrid1.Height = 90 ! On rows > 6 I don't get events! I actually need the DblClick() event to be fired else I could just use the MouseUp() event but how could I catch the DblClick() over the JBG...
Vielleicht hilft Dir dies weiter (maybe this helps): http://forum.mysqldumper.de/die-umlautpr…-tun-t2313.html
Hey there A1880, I can confirm that for the updated Frameworks. Anyway using the original Framework that came with the Jabaco Installation it is blinking! Something must have changed there. Have a nice day... Dani
Hmm... thanks for your reply. When I use Your function I get something like this though: Quoted C:/Dokumente und Einstellungen/xy/Eigene Dateien/Jabaco/App Path Test/AppPathTest.ja Mac: Users/xy/Desktop/AppPathTest.ja What I was looking for was the path only with the trailing backslash: Quoted C:/Dokumente und Einstellungen/xy/Eigene Dateien/Jabaco/App Path Test/ Mac: /Users/xy/Desktop/ On the Mac all you need to do really is to replace the '%' and strip the file name!! So I needed something to ...
I know ... this has been discussed many times! Still, since the other solutions did not work for me and my App needs the path to its actual location to access other files I came up with this: Source code 1 2 Dim MyAppPath as String MyAppPath = Replace(Replace(Left(getClass().getProtectionDomain().getCodeSource().getLocation(),InStrRev(getClass().getProtectionDomain().getCodeSource().getLocation(), "/")),IIF(Left(Mid(getClass().getProtectionDomain().getCodeSource().getLocation(),8),1)=":","file:/...
If previously set to ' .FontBold = True either in code or the property pane ... Source code 1 2 3 4 ComboBox1.FontBold =False Command1.FontBold =False Label1.FontBold =False CheckBox1.FontBold =False will not have any effect. I did not check the other ' Tools ' . Is that a known bug?
Aha, sehr interessant! Ich werd mich an Dein Beispiel halten. Danke schonwieder... Dani
Jetzt fällt mir gerade noch etwas ein, wenn ich ein kleines Beispielprogramm compiliere ' .jar ' und unter XP laufen lasse funktioniert es enwandfrei. Das selbe ' .jar ' auf dem Mac - SnowLeopard ruft folgende Fehlermeldung auf: Quoted java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassL...
Es wird einem auch kein Fehler verziehen ... ich hatte mich im Pfad vertippt!! Shame on me! Quoted Eine andere Möglichkeit besteht darin, einfach ein neues Projekt aufzumachen und die alten Inhalte hinein zu kopieren. So hatte ich das bisher auch gemacht. Also Danke nochmal Dani
So, ich bin es jetzt nochmal durchgegangen! Also wenn ich in meinem Code... Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Option Explicit Private DatabaseH2 As New DataBase Import org#h2#Driver Private Sub dbInitialisieren() Dim dbH2 As String Dim driver As class dbH2 = "C:\Dokumente und Einstellungen\xy\Eigene Dateien\Soft Entwicklung\Jabaco\H2\test" dbH2 = Replace(dbH2, "", "/") driver = class.forName("org.h2.driver") If driver = Nothing Then MsgBox "h2 Treiber nicht vorhanden!",...
Tja, das funktioniert... Vielen Dank! Jetzt kann ich wenigstens weiter arbeiten. Java ist mir noch recht fremd. Es gibt ja in Deinem Beispiel nur einen Verweis auf den H2-Treiber, wie findet java denn diesen? Schaut es standartmässig im Classpath ' \Java\jre6\lib\ext ' nach? Warum mußt Du ' Import org#h2#Driver ' nicht anweisen? Und muß ich ' #Import java.sql.* ' wirklich auf alles verweisen? Ist das nicht unnötiger Overhead oder schmeißt der Compiler Überflüssiges wieder raus? Ich glaub ich muß...