You are not logged in.

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.

Sunday, September 11th 2011, 9:26pm

Author: Dani

No blinking cursor in textbox

NICE ... THANK YOU VERY MUCH theuserbl great to see that people stick around, very much appreciate it ...

Sunday, September 11th 2011, 8:30am

Author: Dani

No blinking cursor in textbox

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...

Sunday, September 11th 2011, 7:28am

Author: Dani

No blinking cursor in textbox

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

Saturday, September 10th 2011, 5:11pm

Author: Dani

No blinking cursor ... and some other!

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 ...

Friday, June 24th 2011, 1:44pm

Author: Dani

Path to executable?

Hey there, I just happened to read this and thought maybe this is interesting for you too!

Tuesday, June 21st 2011, 7:01pm

Author: Dani

Reading Text Files

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.

Tuesday, June 21st 2011, 6:20pm

Author: Dani

Reading Text Files

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

Thursday, February 3rd 2011, 11:14pm

Author: Dani

JBGrid Click event

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...

Thursday, February 3rd 2011, 9:59pm

Author: Dani

Click and dblClick on JBGrid and its header

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...

Thursday, February 3rd 2011, 6:35pm

Author: Dani

JBGrid Click event

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...

Tuesday, February 1st 2011, 1:47pm

Author: Dani

string conversion from utf8

Vielleicht hilft Dir dies weiter (maybe this helps): http://forum.mysqldumper.de/die-umlautpr…-tun-t2313.html

Friday, January 28th 2011, 3:16pm

Author: Dani

No blinking cursor in textbox - it's been there!

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

Friday, January 21st 2011, 5:14pm

Author: Dani

App.Path -- again!!

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 ...

Friday, January 21st 2011, 10:58am

Author: Dani

App.Path -- again!!

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:/...

Wednesday, December 1st 2010, 9:34pm

Author: Dani

' .FontBold = False' does not have any effect

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?

Wednesday, December 1st 2010, 10:33am

Author: Dani

H2 Datenbank - Verbindung klappt nicht!

Aha, sehr interessant! Ich werd mich an Dein Beispiel halten. Danke schonwieder... Dani

Wednesday, December 1st 2010, 9:36am

Author: Dani

H2 Datenbank - Verbindung klappt nicht!

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...

Wednesday, December 1st 2010, 9:13am

Author: Dani

H2 Datenbank - Verbindung klappt nicht!

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

Tuesday, November 30th 2010, 10:17pm

Author: Dani

H2 Datenbank - Verbindung klappt nicht!

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!",...

Tuesday, November 30th 2010, 4:03pm

Author: Dani

H2 Datenbank - Verbindung klappt nicht!

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ß...

WoltLab Burning Board