Search results
Search results 21-40 of 277.
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.
Hi menkaura, its' possible to edit your own posts!
Hallo, da habt ihr ganz recht. Das ist wahrscheinlich auch der Grund warum das Framework Opensource ist, dann kann jeder seinen Teil dazu beitragen und die Menge an Arbeit könnte sich für alle in einem erträglichen Rahmen halten. Gruß OlimilO
Achja... Me.Parent.addKeyListener(Me) ...ist trotzdem erforderlich, also beides Jabaco Source 1 2 3 Me.Parent.addKeyListener(Me) 'und Me.ContentFrame.Parent.addKeyListener(Me) Quoted Es gibt nicht zufälligerweise eine Controls-Auflistung, über die man iterieren kann, oder die gibt es schon siehe ContentFrame.Parent.getComponentCount, und ContentFrame.Parent.getComponent(i) Aber dummerweise gibt es (immer noch) keine gemeinsame Schnittstelle für "Parent" für das einzelne Control. Vielleicht müßte...
ja super genauso hab ich das gemeint! aber statt Jabaco Source 1 Me.Parent.addKeyListener(Me) musst du machen: Jabaco Source 1 Me.ContentFrame.Parent.addKeyListener(Me) da sitzt dummerweise noch was auf dem Form drauf das alle Controls enthält, und das dann den Focus erhält wenn du den Form/Dialog anklickst Gruß OlimilO
Hallo, Das ist in VB6 sogar noch einfacher. CommandButton haben für diesen Zweck die Properties Default und Cancel Bsp: OK-Button: Default = True Cancel-Button: Cancel=True Idee für Lösung: * im Form/Dialog das Interface java#awt#Event#KeyListener implementieren * das Form/Dialog mit AddKeyEventListener auf alle Controls adden. dann hast Du ein einziges KeyPressed-Event für alle Controls gleichzeitig habs allerdings jetzt noch nicht probiert. Gruß OlimilO
It must be stated that this thread is rather outdated. this approach was necessary only in ther first beta versions of Jabaco. Of course in the latest Jabaco version 1.5.2 there is already a Dialog-Form that should better be used for modal dialogs. regards OlimilO
Documentaion for the function IsClass can be found in the Jabaco-Wiki: http://www.jabaco.org/wiki/Jabaco_type_c…n_(typecasting) here is another example-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 Public Sub Form_Load() Dim aButton As New CommandButton Dim aPicBox As New PictureBox If IsClass(aButton, CommandButton) Then MsgBox "OK" End If Dim ctrl As IJabacoControl ctrl = aButton MessInstanceOfControl ctrl ctrl = aPicBox MessInstanceOfControl ctrl End...
Hey, Yes, well done. 5 Stars *thumbs up* regards OlimilO
Hi, have a look at this ancient thread: TypeOf Is regards OlimilO
please also pay attention to the function IsClass which was already part of Jabaco since the first beta.
Hi, keine Ahnung was das jetzt beweist ... sicher noch nix: hab folgendes versucht: hab das Jabaco-Projekt aus dem Verzeichnis Programme\Jabaco\Samples\ControlDemo\ genommen und zum ControlSample.jar kompiliert. Start Ubuntu 10.04 LTS, Start Terminal: Java -jar ControlSample.jar ich konnte keine abnormalen Schriften feststellen siehe Screenshot Gruß OlimilO
Hallo Peter, bitte poste Deine Versionen! Windows Vista OK Ubuntu version? Java version unter unbuntu? JAva version unter windows? hast du Liberation-Fonts unter ubuntu installiert? Gruß OlimilO
Class CFoo: (only a kind of dummy) Jabaco Source 1 2 3 4 5 6 7 8 Option Explicit Private myvalue As Integer Public Sub CFoo(aval As Integer) myvalue = aval End Sub Public Function ToString() As String ToString = CStr(myvalue) End Function Class CList: (attention something happens there) Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Option Explicit Dim myList() As CFoo Dim Count As Integer Public Sub Add(obj As CFoo) Redim Preserve myList(0 To Count) myList(Count) = obj Count = Count + 1 End ...
Hallo Peter, no problem you are already almost there. try the following: Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 On Error Goto ErrorHandler Dim parser As Builder = New Builder parser.build("C:\huhu.xml") MsgBox "Juhu!" Exit Sub ErrorHandler: If IsClass(Err, ParsingException) Then Dim e As ParsingException = Cast(Err, ParsingException) MsgBox e.getMessage Else MsgBox "no" End If regards OlimilO
Quoted ...die Semikola im Copy&Paste-Vorgang zu entfernen und dachte mir, der Compiler wird schon meckern, wenn es ihm nicht passt. Und offensichtlich war es ihm egal. Wäre vielleicht 'n nettes neues Feature für ne nächste Version, daß man auch einzelne Klassen via Import einbinden kann. Gruß OlimilO
Hallo Peter, ja klar, Du versuchst hier wohl einzelne Klassen zu importieren? Jabaco Source 1 2 Import javax.xml.parsers.DocumentBuilder; ... das geht besser über das Menü "Projekt"->"Projektverweise (Classpath) F1" btw: Bemeckert Jabaco garnicht das ";" am Ende deiner Import-Zeile?? warums so lange dauert: Der Import-Befehl im Jabaco Code möchte immer gleich den ganzen Namespace importieren, also alle Klassen die da drin sind. Die einzelne Klasse in der Angabe wird da einfach ignoriert. Wenn ic...
Hi nbarakat, please post an example that makes clear how you would use the property bag. ragards OlimilO
Hi Hubertus, if you occasionally had a short look at the VBTypeClass in the Jabaco-Framework-sources: http://code.google.com/p/jabacoframework…BTypeClass.java You maybe noticed that I already began to implement something like the Get-keyword in VB also for Jabaco, last year. My Idea was to implement something like a binary file access with Get, that could be implemented through Java reflection. unfortunately I was disturbed because the Framework was not able to compile any more, and moreover I m...
Hallo Lennart, Quoted Java ist mir vertraut. Wie kann mann sich die Benutzung von Objekten vorstellen? Vllt. hat jemand ein kurzes Beispiel, in dem ein Objekt erstellt und bearbeitet wird? Wenn Dir Java vertraut ist dann sollte das mit den Objekten nicht soo schwer sein. * In Jabaco ein neues Projekt anlegen: klicke im Menü auf "Datei"/"Neues Projekt..." im Dialog "Neues Projekt" wähle SDI-Anwendung und klick "Öffnen" * In Jabaco eine neue Klasse anlegen: Auf der rechten seite der Jabaco-Oberflä...
Yes, it's a well known issue of the old Jabaco Framework. Do you want to receive a newer version of the framework from me by email? My version is from 29.oct.2009 and i have already fixed this. regards OlimilO