* * *

Author Topic: FreePascal text mode dialog designer for Free Vision  (Read 23290 times)

Graeme

  • Hero Member
  • *****
  • Posts: 1363
    • Graeme on the web
Re: FreePascal text mode dialog designer for Free Vision
« Reply #60 on: April 30, 2017, 12:53:40 pm »
@Graeme:
You have a nice piece of work with you fpGUI and the UIDesigner.
Thanks.

Quote
My goal here with DialEdit is that it can be integrated in the IDE.
A valid point. I can't remember, does the Text IDE support "external tools", if so, you can still call the fpGUI UIDesigner from the Text IDE - just like we currently do with Lazarus IDE. But that obviously means you will have to be running the Text IDE via a console window under X11 - and not directly from a console login. But I get your point and goal.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

korba812

  • Jr. Member
  • **
  • Posts: 66
Re: FreePascal text mode dialog designer for Free Vision
« Reply #61 on: May 01, 2017, 11:18:40 am »
@korba812, any screenshot we can see?
It is difficult to show on screenshot because they look similar. I am sending compiled example from Harbor compiler (32bit win):
https://gmsystems.pl/pliki/inne/achoice.zip
If you run without parameters it will run in the console. If you specify the parameter "//GTWVT" (with two slashes) will run in standard graphical window.

Another interesting thing is the built-in debugger. Press Alt-D to launch it. But it's a topic for another discussion.

x2nie

  • Sr. Member
  • ****
  • Posts: 451
  • Impossible=I don't know the way
    • impossible is nothing - www.x2nie.com
Re: FreePascal text mode dialog designer for Free Vision
« Reply #62 on: May 01, 2017, 02:18:51 pm »
@korba812, any screenshot we can see?
It is difficult to show on screenshot because they look similar. I am sending compiled example from Harbor compiler (32bit win):
......
Wow, :o that is cool for my eyes. amazing to know that a console app is also a gui app, both in a single exe.


You have confirmed that my imagination was wrong, :P  due I think another appearance of non-console-app appearance (see last pic below)

When you were logged in, you can see attachments.
Lazarus Trunk @ Windows7 64bit, XP 32bit, Debian under VirtualMachine

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5574
Re: FreePascal text mode dialog designer for Free Vision
« Reply #63 on: May 01, 2017, 03:50:49 pm »

A valid point. I can't remember, does the Text IDE support "external tools", if so, you can still call the fpGUI UIDesigner from the Text IDE - just like we currently do with Lazarus IDE. But that obviously means you will have to be running the Text IDE via a console window under X11 - and not directly from a console login. But I get your point and goal.

Yes it supports external tools, but only in a blocking way, iow the IDE only resumes if the tool has finished afaik.

Thaddy

  • Hero Member
  • *****
  • Posts: 4273
Re: FreePascal text mode dialog designer for Free Vision
« Reply #64 on: May 01, 2017, 05:12:14 pm »
Wow, :o that is cool for my eyes. amazing to know that a console app is also a gui app, both in a single exe.
You have confirmed that my imagination was wrong, :P  due I think another appearance of non-console-app appearance (see last pic below)
[/quote]

That screenshot is just to hide the teletubbies...?
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

korba812

  • Jr. Member
  • **
  • Posts: 66
Re: FreePascal text mode dialog designer for Free Vision
« Reply #65 on: May 01, 2017, 05:42:28 pm »
You have confirmed that my imagination was wrong, :P  due I think another appearance of non-console-app appearance (see last pic below)
In graphical mode it is possible to add graphical elements. So if you have old Clipper code that works in text mode, by adding a few lines of code you can update the application to look like a GUI application.

x2nie

  • Sr. Member
  • ****
  • Posts: 451
  • Impossible=I don't know the way
    • impossible is nothing - www.x2nie.com
Re: FreePascal text mode dialog designer for Free Vision
« Reply #66 on: May 02, 2017, 03:16:04 am »
Wow, :o that is cool for my eyes. amazing to know that a console app is also a gui app, both in a single exe.
You have confirmed that my imagination was wrong, :P  due I think another appearance of non-console-app appearance (see last pic below)

That screenshot is just to hide the teletubbies...?
Yes, but the "teletubbies" is windows form, not the console one.! 8-)


Actually, my screenshot is taken from here: https://jonlennartaasenden.wordpress.com/2014/10/19/build-your-own-delphi-based-operative-system/
Which there, the main topic is about running delphi application in DOS, so there are tools to emulate windows environment in DOS
When you were logged in, you can see attachments.
Lazarus Trunk @ Windows7 64bit, XP 32bit, Debian under VirtualMachine

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5574
Re: FreePascal text mode dialog designer for Free Vision
« Reply #67 on: May 02, 2017, 09:54:23 am »
Actually, my screenshot is taken from here: https://jonlennartaasenden.wordpress.com/2014/10/19/build-your-own-delphi-based-operative-system/
Which there, the main topic is about running delphi application in DOS, so there are tools to emulate windows environment in DOS

Just read through the comments on that site. Only the non visual part seemed to be working.

jc99

  • Hero Member
  • *****
  • Posts: 516
    • My private Site
Re: FreePascal text mode dialog designer for Free Vision
« Reply #68 on: May 02, 2017, 11:06:26 am »
... and on top of that, it's based on DWPL, and for DWPL you need the original borland-sources, they are copied into the directory and the patched (with a binary patching tool).
... so you have to do that, then compare the patched sources and the find a solution without copyrighted units in fpc ... sounds like fun ... ;)
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

Graeme

  • Hero Member
  • *****
  • Posts: 1363
    • Graeme on the web
Re: FreePascal text mode dialog designer for Free Vision
« Reply #69 on: May 02, 2017, 12:07:07 pm »
Yes it supports external tools,
Excellent, thanks for confirming that.

Quote
...but only in a blocking way, iow the IDE only resumes if the tool has finished afaik
That is actually the desired behaviour - for me at least, when using the fpGUI UIDesigner.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

jc99

  • Hero Member
  • *****
  • Posts: 516
    • My private Site
Re: FreePascal text mode dialog designer for Free Vision
« Reply #70 on: May 09, 2017, 06:42:08 pm »
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

avra

  • Hero Member
  • *****
  • Posts: 1067
    • Additional info
Re: FreePascal text mode dialog designer for Free Vision
« Reply #71 on: May 10, 2017, 09:48:05 am »
did someone had a look ?
Not yet. Could you please provide some basic info about the progress?

https://github.com/joecare99/Public/blob/master/Projects/bin/x86_64-win64/fpc_TestFV2units.exe
Is it for 64-bit? Currently I have only WinXP SP3 available and I get "....exe is not a valid Win32 application".
ct2laz - Easily convert components and projects between Lazarus and CodeTyphon

jc99

  • Hero Member
  • *****
  • Posts: 516
    • My private Site
Re: FreePascal text mode dialog designer for Free Vision
« Reply #72 on: May 10, 2017, 03:09:14 pm »
Yes, the exe is for win64 only, but the sources are in the repository, you could compile to any target you like, but i will provide win32 version soon.

About the progess, the converting is mostly done, at the moment i'm at bug-Fixing for the new fearures:
- TextCanvas
- TStrings- Support
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

jc99

  • Hero Member
  • *****
  • Posts: 516
    • My private Site
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

ArtLogi

  • Full Member
  • ***
  • Posts: 131
Re: FreePascal text mode dialog designer for Free Vision
« Reply #74 on: May 11, 2017, 12:09:10 pm »
@Graeme:
You have a nice piece of work with you fpGUI and the UIDesigner.
My goal here with DialEdit is that it can be integrated in the IDE.
Superb.  O:-)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus