Author Topic: O2 dialog editor  (Read 2277 times)

0 Members and 1 Guest are viewing this topic.

Nicola

  • Guest
O2 dialog editor
« on: August 31, 2020, 05:24:33 AM »
Hello,
I wanted to know if there is a dialog editor for O2.  :D
I tried to do some research in the forum, but I didn't find anything ... :-[

I'd like to know if there is one that was specifically created for O2. I tried to use data from an RC file created with BCXedit, but it didn't work. I had to change the values ​​of the positions, heights and widths of the various objects used. :(

Thank you.

JRS

  • Guest
Re: O2 dialog editor
« Reply #1 on: August 31, 2020, 10:30:08 AM »
I happen to like IUP for my cross platform GUI forms library. There is an example of using it in the distribution.


Charles Pegge

  • Guest
Re: O2 dialog editor
« Reply #2 on: August 31, 2020, 12:26:02 PM »
No we haven't. Would youlike to build one, Nicola ? :)

JRS

  • Guest
Re: O2 dialog editor
« Reply #3 on: August 31, 2020, 12:41:47 PM »
I thought James Fuller built a dialog tool for O2 using RC files.

Charles Pegge

  • Guest
Re: O2 dialog editor
« Reply #4 on: August 31, 2020, 12:57:05 PM »
James's tool is buit into o2 for embedding resources (compiled with gorc) into exe files.

the syntax is:
Code: [Select]
uses xyz.res

But maybe I was thinking of a visual designer.

JRS

  • Guest
Re: O2 dialog editor
« Reply #5 on: August 31, 2020, 01:06:06 PM »
It will be difficult to build an IDE as feature rich as VB6. I've moved toward keeping my UI as a portable component using COM/OLE automation as the glue.
« Last Edit: August 31, 2020, 07:32:59 PM by John »

Nicola

  • Guest
Re: O2 dialog editor
« Reply #6 on: September 01, 2020, 01:56:25 AM »
No we haven't. Would youlike to build one, Nicola ? :)

Good idea ... I'd love to do that, but I'm new to o2. I am learning how to use o2 .... with your invaluable help. :)
Visual designer is also in my opinion the best solution.
« Last Edit: September 01, 2020, 02:33:37 AM by Nicola »

JRS

  • Guest
Re: O2 dialog editor
« Reply #7 on: September 01, 2020, 02:03:00 AM »
Love that enthusiasm and happy that you joined the O2 open source project.


Nicola

  • Guest
Re: O2 dialog editor
« Reply #8 on: September 02, 2020, 05:52:56 AM »
Thanks, so am I. :D

« Last Edit: September 14, 2020, 05:03:45 AM by Nicola »

Nicola

  • Guest
Re: O2 dialog editor
« Reply #9 on: September 14, 2020, 05:04:29 AM »
Hi.
What do you think of Koda?

JRS

  • Guest
Re: O2 dialog editor
« Reply #10 on: September 14, 2020, 05:39:20 AM »
There is an IUP editor example that might be a good place to start. I was thinking of using it as a cross platform solution for ScriptBasic as an IDE / Debugger. It also has a forms designer that could be incorporated.

Nicola

  • Guest
Re: O2 dialog editor
« Reply #11 on: September 14, 2020, 06:35:34 AM »
@John

Where do I find this example?

Of course it is only applicable and with IUP or not?

JRS

  • Guest
Re: O2 dialog editor
« Reply #12 on: September 14, 2020, 06:49:24 AM »
Here is where I left off adding a few formatting improvements.

https://sandbox.allbasic.info:8181/scriptbasic/sb-ide

It's in C but Charles has O2 examples in the distribution that will show you how to use it. The forms designer is actually a function call as part of IupShow() that would be a good starting point to incorporate in your IDE.

Charles Pegge

  • Guest
Re: O2 dialog editor
« Reply #13 on: September 14, 2020, 06:53:51 AM »
You can find IUP examples in projectsB\IUP

projectsB\IUP\Scanf1.o2bas is a good demo

JRS

  • Guest
Re: O2 dialog editor
« Reply #14 on: September 14, 2020, 07:12:54 AM »
Here is another IUP based IDE written in D for FreeBasic.

https://www.allbasic.info/forum/index.php?topic=516.msg5582#msg5582