Search results
Search results 21-40 of 500.
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.
Add a "CommonDialog" control to your form and use the "ShowOpen()" method. A small example: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Public Sub cmdLocateKeystore_Click() Dim dlg As CommonDialog dlg = CommonDialog1 With dlg .DialogTitle = "Keystore File" .FileName = Text1.Text .ShowOpen() If Not .IsCanceled Then Text1.Text = .FileName trace "Keystore selected:" trace "" & .FileName End If End With End Sub CommonDialog is not perfect yet, but it should do the job for you. Use the se...
I have been playing around with FLEXJSON, a free Java package for translating objects into JSON Strings (= serialization) and JSON Strings into objects (= de-serialization). The demo code: 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 Option Explicit ' ' Demo for FLEXJSON serializer/deserializer in Jabaco ' ' cf. http://flexjson.sourceforge.net/ ' ' Make sure that flexjson-2.1.jar is included in the classpath ' #Import f...
Of course, C++ has more syntactic tricks to provide than Java and Jabaco. The implementation of QuickDialogs is hardly readable. I am fascinated by the idea to compose dialogs with a few lines of code rather than using a graphical IDE. The syntax is not really important. Therefore, operator overloading should not be required. A list of parameterized dialog components can simply be put together by calling dialog methods in a certain order. The second example of the original QuickDialogs article c...
Well, there seems to be a Jabaco in Cuba. Happy holidays! A1880
I'm wondering if and how one could possibly implement the idea of QuickDialogs in Jabaco. Any ideas? Any volunteers? Greetings A1880
The problem seems to be that the "TickStyle" property is shown correctly in the IDE but not in the running application. A demo with three coupled sliders: 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 Option Explicit Private bCalled As Boolean Private Sub changeAll(myNo As Integer, v As Double) If Not bCalled Then bCalled = True ' prevent reentrant events If myNo <> 1 Then Slider1.Value =...
What is or was the problem? Greetings A1880
The following is a small demo how to do this with JavaMail 1.4.3 The subroutine to send the mail: 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 Option Explicit ' ' Send an Email via Gmail SMTP server using SSL connection. ' ' inspired by ' http://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example...
Could you explain a bit what you are trying to achieve? I don't understand your question. As far as I know there is no simple way to integrate a full webbrowser component in Jabaco applications. In VB6 or VB.Net one could use Internet Explorer as ActiveX control, but this is not so easy in Jabaco. It might be possible to use frameworks like Jacob (Java COM Bridge) to integrate IE. Another option was mentioned above: Use a Java framework which implements a browser and is Swing compliant. Again, t...
The following code toggles your form between "fullscreen" and "normal" mode: Jabaco Source 1 2 3 4 5 6 7 Public Sub Command1_Click() Me.Parent.setExtendedState JFrame.MAXIMIZED_BOTH End Sub Public Sub Command2_Click() Me.Parent.setExtendedState JFrame.NORMAL End Sub Fullscreen is actually hiding the taskbar. Another option would be to set the taskbar to "auto-hide". The following moves the form to the foreground or background: Jabaco Source 1 2 3 4 5 6 7 Public Sub Command1_Click() Me.Parent.toF...
Well, I'm a dad myself. And I would be quite annoyed to receive such jokes. Please try to come up with something more enjoyable. Cheers A1880 b.t.w.: "System.Windows.Forms.Cursor.Hide" belongs to the .Net Framework and is thus not available as such in a Java environment.
This could serve as startingpoint for your experiments: Jabaco Source 1 2 3 4 5 Import com#sun#awt#AWTUtilities Public Sub Command1_Click() setWindowOpacity Me.Parent, 0.5 End Sub Please post your findings! Greetings A1880
Here is an example of an interface names "IUReset": Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 Public Function description() As String End Function Public Sub reset() End Sub Public Function query() As String End Function And here is an implementation: 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 8...
It should be possible to traverse the hierarchy of Java swing components behind a Jabaco form. "Form" is a descendant class of JFrame, which is a "Container" of "Components". I have to confess that I am not deep enough in Java swing to figure this out. The extension of the Jabaco Form with a collection of Controls could be easily accomplished by extending the Add() method were every Control has to go through. This would be the place to maintain the collection of controls. Care has to be taken th...
Have a look at this posting Greetings A1880
In the Jabaco framework you can find a uControlTest with examples how to deal with ScrollBars: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 Public Sub ScrollBar1_Scroll() Call SetShape() End Sub Public Sub ScrollBar2_Scroll() Call SetShape() End Sub Private Sub SetShape() Shape1.Top = ScrollBar2.Top + ScrollBar2.Value Shape1.Left = ScrollBar1.Left + ScrollBar1.Value End Sub Some postings in the forum cover the PictureBox usage. Look here for example. Greetings A1880
What do you want to achive using Hyperic HQ? From a first glance at their web site I've got the impression that Hyperic HQ is a kind of survey tool which helps to monitor the usage of certain software tools on a number of client systems. To monitor Jabaco applications you would have to connect the Jabaco code the the Hyperic HQ agents. This should be possible somehow, but I doubt that Hyperic HQ already has Jabaco specific cpabilities. Greetings A1880
It might help to look at a sample Keywords to look for using the search facility: constructor, inheritance, base, parent Jabaco is supporting an extended class concept compared to VB6. The extension includes: classes can inherit from other classes, class interfaces Greetings A1880
Here comes an update. The grid is created in a more symmetric manner. Enjoy! A1880
To use a Java package in Jabaco, you have to make the package available in your current Jabaco project. To do that you add the jar file(s) of the package to your project classpath. Press key F1 in the Jabaco IDE and add the jar files. Within your Jabaco source code you can specify the Java classes using # as separator. Example: java#awt#image#BufferedImage You can use "import" statements to tell Jabaco, which classes you are referring to. Please use the search facility of this forum to find Java...