You are not logged in.

imigmb

Beginner

  • "imigmb" started this thread

Posts: 3

Date of registration: Oct 6th 2010

  • Send private message

1

Wednesday, October 6th 2010, 7:58am

Adding Controls

Hi All
this may be a dumb question but how do you add a control to the tools toolbar within the IDE

thanks
Michael Bennett

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Wednesday, October 6th 2010, 11:48am

It might be possible to add your own controls to the IDE toolbar, but I am not aware of any simple way to achieve that.

You could define and use your own usercontrols.

What are you trying to do?

Greetings

A1880

imigmb

Beginner

  • "imigmb" started this thread

Posts: 3

Date of registration: Oct 6th 2010

  • Send private message

3

Wednesday, October 6th 2010, 12:00pm

Hi A1880
thanks for the reply, I'm trying to understand how Jabaco hangs together. I have an application written in VB5 which incorporates 3 serial comms controls. Ive done a little research on comms API's for Java but I'm not sure how to invoke them within the Jabaco environment.

Mike

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Wednesday, October 6th 2010, 12:32pm

There is a separate thread on serial communication.

Greetings

A1880

imigmb

Beginner

  • "imigmb" started this thread

Posts: 3

Date of registration: Oct 6th 2010

  • Send private message

5

Thursday, October 7th 2010, 3:48am

Hi A1880
I am aware of the thread on serial comms the question wasn't specific to that. In VB many things are controls which are referenced in the project which adds them to the tool bar other things are API's which are referenced in code then called. It appears to me that most things for Jabaco are Java API's which must be referenced in code not controls, is this a fair statement?

Mike

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

6

Thursday, October 7th 2010, 8:43am

In Jabaco you have to use the project classpath to define the referenceable Java libraries. Press key F1 in the IDE to view or edit the list of Jar files.

To actually use a specific class, you can either use the "import" statement in you source or explicitely write out the path.
Example: you could write "import java#io" to use "File", or you could write "java#io#File"

The Jabaco IDE provides a set of predefined controls in the toolbar. Additionally to that, you can add your own class definitions or usercontrol definitions to your project using the project explorer at the right-hand side of the screen. You could, for instance, copy and modify control source code out of the Jabaco framework and add the modified control to your project. It is also feasible to use an existing control class and derive your own sub-class which overrides certain methods or adds new methods.

Please search the forum for related posts to get a clearer picture of Jabaco's features.
Compared to VB6, the Jabaco IDE is rather flexible in many respects. Worth to be explored!

Greetings

A1880

Rate this thread
WoltLab Burning Board