You are not logged in.

Search results

Search results 201-220 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.

Sunday, May 24th 2009, 12:52pm

Author: OlimilO

Size of a structure

It's Cool Man greetings, OlimilO

Saturday, May 23rd 2009, 5:52pm

Author: OlimilO

Size of a structure

Hi Stefan, you always have to keep in mind that the big brother behind Jabaco is Java, and Java, just like .NET, is a managed pointerless language. Normally you do not have to know the size of a structure, because normally you do not have to deal with memory. The thing in VB called UD-Type is in Jabaco more like a private class. So the main problem is: can anybody say that the variables are really in consecutive order? because if not, knowing the sizes is no useful information. But of course you...

Wednesday, May 20th 2009, 11:30pm

Author: OlimilO

Verschiedene Probleme und Lösungen

Hallo Funny, die Seiten (Tabpages) deines TabStripControls machst du am besten mit einzelnen UserControls, schau dir doch mal den Sourcecode für das kleine Projekt Lassie an, dort hab ich es so gelöst. Grüße OlimilO

Monday, May 18th 2009, 12:21am

Author: OlimilO

Res-Tut now in Jabaco Wiki

Hi folks, I have copied the small Resources-Tutorial into the Jabaco-mediawiki site: Resources in Jabaco Could please anyone review it and post suggestions or errors he founds? Thanks in advance greetings, OlimilO

Thursday, April 30th 2009, 8:56pm

Author: OlimilO

why not use javas built in encoding instead?

Hello you both, Oh come on, in Jabaco there is simply no need for this WinAPI-function, because Java already has encoding. Just google for "Java encoding". Cheers OlimilO

Monday, April 27th 2009, 4:18pm

Author: OlimilO

ListBox.ensureIndexIsVisible

Hi, cool samples! Quoted to a label control on the main form, to a rich-text box or to a log file just an annotation: One could also use a ListBox, if you limit the message to one line. in VB6 i use an api call after every new item to scroll the list to the last entry. in Jabaco it is very convenient with the additional member: ensureIndexIsVisible Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Dim i As Long Public Sub Command1_Click() PerformAbigtask End Sub Private Sub PerformAbigtask...

Saturday, April 18th 2009, 10:56pm

Author: OlimilO

Auch ein paar kleine Verbesserungsvorschläge

Hallo Stefan, hast du das Resources Tutorial schon gelesen? viele Grüße OlimilO

Thursday, April 2nd 2009, 3:08am

Author: OlimilO

Addendum

Of Course I know Scott Meyers: Quoted "Anytime you find yourself writing code of the form "if the object is of type T1, then do something, but if it's of type T2, then do something else," slap yourself. you can find an article here: Beware of instanceof operator and i will not gonna slap myself. the TypeOf-function can be useful in Jabaco because of beta-version reasons! greetings OlimilO

Wednesday, April 1st 2009, 6:59pm

Author: OlimilO

Date time picker

Hi, yes its true there is no DateTimePicker-control in Jabaco afair because Java swing does not have one. but there is a Calendar and a GregorianCalendar-class in java#util. you can either dig the internet until you find something that fulfills your needs or you could do a bit work an do it yourself in Jabaco could you please let us know what you have chosen? only some points you could start from: 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 D...

Monday, March 30th 2009, 12:10pm

Author: OlimilO

Put, Get

Quoted Someone could tell me how to use these commands in Jabaco? look here maybe this can help a little bit Reading and writing binary data greetings OlimilO

Monday, March 30th 2009, 12:05pm

Author: OlimilO

Reading and writing binary data

Hello guys, in VB6 you use the two very powerful Commands Put and Get to write arbitrary data in binary files like in the following example: 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 Option Explicit Dim MyFile As String Private Sub Form_Load() MyFile = Environ("Temp") & "\MyTempfile.txt" End Sub Private Sub Command1_Click() Dim FChnl As Integer Dim c As Byte 'if the file exists we delete the file If Di...

Monday, March 30th 2009, 12:37am

Author: OlimilO

convert hexadecimal string to integer

Hi, Quoted How can I convert a hexadecimal(string)to decimal(integer)? But don't work :/ ah actually ... you could use the function instead: Integer.parseInt Jabaco Source 1 2 3 4 5 6 7 8 9 10 11 12 Dim i As Integer Dim s As String i = 65 s = "&H" & Hex$(i) MsgBox CStr(i) & " = " & s s = Replace(s, "&H", "") i = Integer.parseInt(s, 16) MsgBox CStr(i) the second parameter of parseInt sets the base of the value in s: here it is 16 greetings OlimilO

Monday, March 30th 2009, 12:18am

Author: OlimilO

Filtering certain Key-strokes out of the Textbox

Hi, Yes, what you want to do of course is possible in Jabaco, but ... it is not possible to *stop* an event (sounds crazy anyway ) for the effect you want to have, filtering certain Key-strokes out of your Textbox, you have to implement a special Interface in your Form-modul: at the beginning of your form write: Jabaco Source 1 Implements java#awt#Event#KeyListener then Jabaco wants to have the following three additional Subs: Jabaco Source 1 2 3 4 5 6 7 8 9 10 Public Sub keyTyped(arg2 As KeyEve...

Saturday, March 28th 2009, 9:16pm

Author: OlimilO

Event Handling

Hi, Quoted allways wanted to learn java ... Now I dont need to I would go further and say you *do* learn Java with Jabaco, because you learn the Java framework by using it. Quoted Is it possible to stop an event? normally every code will go synchronously if you do not call it asynchron explicitely. Please specify more clearly what you want to do. greetings OlimilO

Friday, March 27th 2009, 7:01am

Author: OlimilO

Modal Window

Hi Tr4d3r, Quoted a new jmodal window and hiding the normal window it is: a new "JDialog" and hiding the "JFrame" And there is the problem. Of course the solution is a work around. the reason is: Jabacos controls and windows are based on java swing. afaik in swing only the JDialog is capable of being modal, not a JFrame, but the base class of a Jabaco VB.Form is JFrame and in the Jabaco-IDE it is not possible to set the base class of a Form. Quoted if you know another way to do this .. i will ap...

Thursday, March 26th 2009, 4:13pm

Author: OlimilO

Bug Report: Arithmetic operations

Hi JMOODY, Quoted Another comment: I note all the class files which might conceivably be used by any project are included in the JAR file of every project. The JAR files would be very small if only necessary class files were included. I wonder what is the reason for including them all? As Jabaco becomes more popular there will be program users with many many copies of each class file on their home computers.... Yes I would agree with you, it should be possible to decide wheter the Jabaco-framewo...

Tuesday, March 24th 2009, 5:04pm

Author: OlimilO

Bug Report: Arithmetic operations

Hi Manuel, Hi John, did you see this: Resources there is another trap, due to a bug in Jabaco. To avoid this behaviour follow these steps: * copy all your resources you want to integrate in your Jabaco project to a folder beside or outside of your Jabaco project folder * in Jabaco, open your jabaco project and delete alle resources from the project save the project and close Jabaco * in the folder of your jabaco project delete all resources and if there is a res-directory delete this res-directo...

Monday, March 23rd 2009, 10:48pm

Author: OlimilO

minor update

Udated the procedure ArrayListOfClassToListBox that fills the ListBox LstClsItf for the superclasses/interfaces. Now two different icons will be drawn for a superclass or an interface. Just download it from the original post above. greetings OlimilO

Monday, March 23rd 2009, 10:32pm

Author: OlimilO

ListBox.AddItem New ListCellData(string, Icon)

After a short look into the Jabaco-FX now I have solved the problem. It was so easy and the solution was already there in front of my eyes. The procedure ListBox.AddItem has the following overloading: Jabaco Source 1 List1.AddItem(Item As ListCellData) '2 v 6 and the ListCellData-Object has the following constructor: Jabaco Source 1 New ListCellData(refText As String, refIcon As IResource) '3 v 4 so adding entries with Icons to a ListBox is pretty easy: Jabaco Source 1 List1.AddItem(New ListCell...

Monday, March 16th 2009, 6:24am

Author: OlimilO

List all superclasses interfaces and methods

Hi Gerome Quoted Quoted Impossible to see the TxtClassName_ control could you please: * make an screenshot of what you see and upload it? * which operating system? * which java version? Ahhso ... you were talking of the TxtStatusbar TextBox-control. (?) Yes it's true it is hidden, you are just able to see it when you click the Label LblStatusBar. (the very lower label) the reason for this behaviour is: this Textbox is not for user input but only to be able to copy the text to the clipboard. gree...

WoltLab Burning Board