You are not logged in.

Search results

Search results 41-60 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.

Tuesday, May 11th 2010, 3:58pm

Author: OlimilO

Tab Sequence

Quoted I have to confess that I am no real TabIndex-Expert me neither, in fact you will get one if you dive deeper Quoted ... but it has the benefit of being clear and unique. And it is easy to rename controls and thus achieve a reordering OK sounds reasonable. Quoted In doubt I would prefer to get the VB6 style in Jabaco Suggestion: Property TabStop As JabacoTabStop Jabaco Source 1 2 3 4 5 Enum JabacoTabStop VB6TabStop = -1 ' (True) compatible when importing VB6-Projects TabStopFalse = 0 ' the...

Tuesday, May 11th 2010, 2:18pm

Author: OlimilO

Enter key to jump from one control to the next

Quoted I need the Enter-Key to jump from one control to the next Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 'http://www.rgagnon.com/javadetails/java-0254.html Public Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer) 'java#awt#Event#KeyEvent.VK_ENTER If KeyCode = KeyCodeConstants.vbKeyReturn Then '13 Text1.Parent.transferFocus End If End Sub Public Sub Text2_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = 13 Then Text2.Parent.transferFocus End Sub Public Sub Text3_KeyDown(KeyCo...

Tuesday, May 11th 2010, 10:21am

Author: OlimilO

Tab Sequence

thanks. it's just one solution of many, to a problem though Quoted included in IDE and framework ... Each control could have a TabIndex() property it's no big deal to spent two new properties TabIndex (Integer) and TabStop (Boolean) to every Jabaco-control. But the VB-IDE does even more. whenever you set the TabIndex in the property-editor, the VB-IDE checks A) the maxindex, and B) sets the TabIndex of all other controls accordingly. e.g. TabStop by default is true to all controls so all control...

Monday, May 10th 2010, 6:08pm

Author: OlimilO

TabOrder

Hello forum, thanks to A1880 for the very useful link, I made a tiny little example and a handy class hopefully to get a grip on the TabOrder-problem. Form: Form1 with a few Controls see the screenshot below 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 Option Explicit Public Sub Form_Load() 'omit Frame1 from tab sequence: Frame1.Parent.setFocusable(False) End Sub Public Sub OptTabOrder1_Click() Dim myTabOrder As New TabOrder 'ei...

Monday, May 10th 2010, 11:26am

Author: OlimilO

Omit Label from tab sequence

Exclude a control (Label) from the tab sequence. Jabaco Source 1 2 3 Sub Form_Load() Label1.Parent.setFocusable(False) End Sub the control is no longer reachable by using the Tab-key on your keyboard. regards OlimilO

Wednesday, May 5th 2010, 6:01pm

Author: OlimilO

GDI32, USER32 - only for Wndows ?

Hello Gerhard On the way to/from work, sittin' in the train most of the time I write some trainee-programs ;-) 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 Option Explicit Import java#lang#Math Import java#awt#color Dim myMouseX As Single Dim myMouseY As Single Dim myRadius As Single Dim myCol...

Thursday, April 22nd 2010, 1:42pm

Author: OlimilO

selecting multiple controls in ide

* click the mouse in the upper left corner of all your controls you want to select, * stay with your mouse button pressed and drag the mouse * you can watch a rubberband rectangle * drag the mouse over your controls and leave your finger in the lower right corner also you can use a control-container like a Usercontrol or a PictureBox just to group all your controls together regards OlimilO

Thursday, April 22nd 2010, 1:32pm

Author: OlimilO

SplitPane splitter move

please one step after the other, regarding the errors you posted: put two Controls onto the Form: CommandButton Command1 PictureBox Picture1 the following Code works fine on my computer Jabaco Source 1 2 3 4 5 6 Public Sub Form_Load() Picture1.Width = 2 * Command1.Width End Sub Public Sub Command1_Click() Command1.Width = Picture1.Width End Sub what about yours? regards OlimilO

Thursday, April 22nd 2010, 12:58pm

Author: OlimilO

SplitPane splitter move

Quoted the movement has to be trapped give us an example of what you've found. please regards OlimilO

Thursday, April 22nd 2010, 12:13pm

Author: OlimilO

Label Control - Backcolor

Hi Gerhard, Yes, that's a bug in the Jabaco-IDE. You could do the following: copy the text from the field BorderColor to the field BackColor and also not forget to change Backstyle to vbSolid regards OlimilO

Thursday, April 22nd 2010, 12:01pm

Author: OlimilO

SplitPane splitter move

Hi, combined with a splitpane you could use one or more Usercontrols. Usercontrols have a Resize event. Just have a look at the this tiny little project here. List all superclasses interfaces and methodsIn VB6 also a PictureBox has a Resize event, but unfortunately not in Jabaco. (although it could have one) regards OlimilO

Tuesday, April 13th 2010, 11:02pm

Author: OlimilO

example

example Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 Dim B As New MyBase MsgBox B.ToString B = New MyBase(789) MsgBox B.ToString Dim D As New Derived MsgBox D.ToString D = New Derived("things") MsgBox D.ToString regards OlimilO

Tuesday, April 13th 2010, 11:00pm

Author: OlimilO

call the constructor of a base class in a derived sub-class

Hi, you could create the default constructor on your own. class MyBase Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 Option Explicit Dim myInt As Integer 'default constructor Public Sub MyBase() myInt = 123 End Sub Public Sub MyBase(i As Integer) myInt = i End Sub Public Function ToString() As String ToString = CStr(myInt) End Function class Derived superclass: MyBase Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 Option Explicit Dim myName As String 'default constructor Public Sub Derived Base.myInt = ...

Wednesday, April 7th 2010, 6:37pm

Author: OlimilO

JabacoIDE internals

hihi *funny* it's "xml serialization" regards OlimilO

Sunday, March 21st 2010, 7:05am

Author: OlimilO

Framework update

Hi theuserbl Quoted 3. (very important!) NameSpace of FileSystem changed from VBA to VB. What was the reason for this? I do not see any importance ecxept it is wrong now. regards OlimilO

Sunday, March 14th 2010, 7:05am

Author: OlimilO

Hash at the beginning?

Hi, No. The character "#" (Rautenzeichen), in Jabaco it has nothing to do with hash, simply openes a namespace and also openes the intellisense-Box. As far as I am concerned it has no other meaning in Jabaco. do you know what a namespace is? regards OlimilO

Wednesday, February 24th 2010, 1:47pm

Author: OlimilO

App.Path = System.getProperty("user.dir")

Hi, System.getProperty("user.dir") delivers the path where the exe or jar resides. (with JDK: 1.6.0_18 now always and for ever I hope) JDK: 1.6.0_18 Quoted I searched for App.Path but nothing shows up try: AppPath (w/o ".") regards OlimilO

Saturday, February 20th 2010, 4:08pm

Author: OlimilO

TextBox Control not visible?!

Hi beic, Quoted You won't believe what was causing this issue Yes I will believe, because that's what I guessed Quoted I didn't know that the Jabaco IDE is Windows (default) style/theme dependent NO it is not! Quoted do not use any custom kind of Windows styles/themes if you want Jabaco to work/display correctly! Please don't act like a nerd, there is no need to say "dont use any". Those tools do changing so much different settings, like font, font size, border style, ... better find out the one...

Saturday, February 20th 2010, 8:16am

Author: OlimilO

Changed system settings?

Hi, please try the following code in your little project: Jabaco Source 1 2 3 4 5 6 Public Sub Command1_Click() Text1.FontName = "Courier New" Text1.FontSize = 20 Text1.Height = 50 Text1.Width = 150 End Sub what do you see? what operating system do you have? maybe you have changed some system settings? What happended to the caption line of your form, the text is centered? Also the border of your form is way too small. regards OlimilO

Thursday, February 18th 2010, 10:06pm

Author: OlimilO

Answers

Hi, Quoted * Where is the frontier to convert VB projects to Jabaco/Java? * Under which circumstances is a conversion still be worth? * How many and which Windows specific commands can be use until a conversion is to extensive and complex? * What is an equivalent from a WinAPI command to a Java command? excellent! Is there really anybody that can answer this questions except oneself? The answer could be short: we do not know until we try. Another question that should be added: What shifts the fr...

WoltLab Burning Board