You are not logged in.

klctal

Trainee

  • "klctal" is male
  • "klctal" started this thread

Posts: 70

Date of registration: Jul 13th 2009

Location: Shanghai

Hobbies: Developing software

  • Send private message

1

Friday, August 20th 2010, 6:56am

menubar creator

I have created a small menucreator that creates the jabaco source. It has a VB6 Like interface.
http://wct.zoomshare.com/files/menubarcreator_for_jbc.zip
There are some small problems but it is pretty good
klctal has attached the following image:
  • mcfj.png
:D

This post has been edited 1 times, last edit by "klctal" (Aug 20th 2010, 7:46am)


FrancoAA

Beginner

  • "FrancoAA" is male

Posts: 15

Date of registration: May 4th 2010

Location: Rosario, Argentina

  • Send private message

2

Friday, August 20th 2010, 5:41pm

Excellent, it will be useful ;)

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

3

Wednesday, July 23rd 2014, 5:04am

Because the menucreator by klctal is no longer downloadable, I have written my own one.

If you have looked at
[ https://code.google.com/p/jbaindi/downloads/list ]
you see, that I have begun with it in 2011. Then I have for three years no more done on it. For some days I have continued on it and I hope, it will be soon finished.
With the current Preview you can already create every menu.
The only thing, which is missing, is that you can not save to an xml-file and later load the xml-file again.

But the "Copy to Clipboard"-key works.
Create a menu with it, like in VB6. Then press "Copy to Clipboard" and then paste it to Jabaco.

Greatings
theuserbl
theuserbl has attached the following file:

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

4

Wednesday, July 23rd 2014, 10:24pm

Good and bad news:

Good news: It is now feature-complete.

Bad News: You need a new JabacoFramework to make use of it:
[ http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary ]

Good news: It can create menus, save them as XML-file, load them and creating Jabaco-code.

Bad news: If you choose a "shortcut", then there are problems with the Jabaco-Compiler.
You have to
- first start it.
- An error "java.lang.Exception: CallByName 'getKeyStroke' failed!" comes.
- Comment out the lines, with the KeyStroke like this:

Jabaco Source

1
' mnuSaveAs.Parent.setAccelerator(Keystroke.getKeyStroke(65,  2))

- Start the program again.
- After that make your changes back, so that the outcomment don't exist, like this:

Jabaco Source

1
mnuSaveAs.Parent.setAccelerator(Keystroke.getKeyStroke(65,  2))

- run the program again. Now it runs without problems with the shortcuts.
Sadly, there is no other workaround. I have tried something out.

Good news: In thge zip file, I have created an example menu, whioch shows, what is possible. It is called "MenuExample.xml".

Greatings
theuserbl
theuserbl has attached the following files:

Dani

Intermediate

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

5

Thursday, July 24th 2014, 10:11am

Hey there,

very nice theuserbl :thumbsup: THANKS...

This makes things a lot easier!

Why did you choose to use Java here?

Also the OptionButtons do not show; but I know this a framework issue!
Or do we have to put pictures as resources ... I don't remember!?




Dani

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

6

Friday, July 25th 2014, 12:38pm

Quoted

Why did you choose to use Java here?
Because now, the binary is smaller. And Jabaco have still a problem with the colors on non-Windows systems. I plan to fix it the next times.

Quoted

Also the OptionButtons do not show; but I know this a framework issue!
Or do we have to put pictures as resources ... I don't remember!?
Oh, thanks for that information. I now fixed it.
Have uploaded a new version:
[ http://www.jabaco.org/wiki/Latest_JabacoFramework_Binary ]

That problem have only exists on Win7/Win8 with the WindowsLookAndFeel. So I haven't seen it before.

Greatings
theuserbl

Dani

Intermediate

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

7

Friday, July 25th 2014, 2:04pm

That problem have only exists on Win7/Win8 with the WindowsLookAndFeel. So I haven't seen it before.


... and I have not seen the bullets and checkboxes before ...

NICE FIX :)

Rate this thread
WoltLab Burning Board