× General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.

Question Use CT to debug fpGUI and MSEgui "pure" projects.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 4 hours ago - 1 week 3 hours ago #17175 by fredvs
Hello.
CT is nice also to debug pure fpGUI and MSEgui programs.
For this, go in CT menu Project/New/From Program File and choose the main program file of the project.
But after this there is still work in project option to add all the -FUpathoffile needed for the fpGUI/MSEgui code.

So the proposition is to add items Project/New/From Program fpGUI and Project/New/From Program MSEgui and automatic add the -FUpathoffile needed.
For example, MSEgui need this:
($MSE is the path of root source of MSEgui)
-Fu$MSE/lib/common/* -Fu$MSE/lib/common/kernel/linux       // or /windows

Of course the CT-form-designer will not show the forms, but CT will be used to compile + debug the fpGUI/MSEgui projects.
Last edit: 1 week 3 hours ago by fredvs.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 3 hours ago #17176 by fredvs
Oooops, it is here the "Forum Feature Request".

Sorry I should add this post in "Typhon Feature Request".

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 hours ago #17178 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.
We can add MSEgui pkg to CodeTyphon if you want

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 hour ago #17179 by fredvs

We can add MSEgui pkg to CodeTyphon if you want

Yes, sure, it would be great if CT has MSEgui also in his bag.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 hour ago - 1 week 1 hour ago #17180 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.
Your wish it's our command...

StartEX on Win11

We need time for this ....

 



PS: we use source from github.com/mse-org/mseide-msegui
it's this OK :
 

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 1 week 1 hour ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 hour ago - 1 week 1 hour ago #17181 by fredvs
Huh, you scare me, are you already working with MSEgui?

PS: we use source from  github.com/mse-org/mseide-msegui
it's this OK :


Yes, it is the last source.
Not sure to understand, are the MSEgui components compatible with Code Typhon, can you use the MSEgui code without changing all?
Last edit: 1 week 1 hour ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 1 hour ago - 1 week 1 hour ago #17182 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.
Yes
but need mods for PascalScript and Zeos.

As first step, we will continue without this MSE abilities.

 

PilotLogic Architect and Core Programmer
Attachments:
Last edit: 1 week 1 hour ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 hour ago #17183 by fredvs
If you work so fast, MSEgui can also use BGRABitmap package (that CT has).

For a MSEgui project that uses BGRABitmap, those fpc parameters must be added:
-FUpath_of_bgrabitmap -dclass_bridge -dBGRABITMAP_USE_MSEGUI

And for dynamic load of PO files, this must be added:
-dmse_dynpo

Otherwise nothing else should be added for parameters ( apart -Fcutf8 and  -Mobjfpc )

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 1 hour ago #17184 by fredvs
> PascalScript and Zeos.

Indeed that are not really "original" MSEgui components but added in source by the developers of those components.
I never try it deeply.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 59 minutes ago - 1 week 49 minutes ago #17185 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.
We will explore all these
but first we must make some MSE projects to CodeOcean...
and this second step it's critical.

We must give CT-Life to you Kernel and Widgets first

Tomorrow we will test pl_MSEgui on Linux (new LinuxMint 21),
after that we can give you the source to play and help us...

Solaris, FreeBSD, NetBSD, OpenIndiana etc.....

 

PilotLogic Architect and Core Programmer
Last edit: 1 week 49 minutes ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 51 minutes ago #17186 by fredvs
I am very impressed.

Please Log in or Create an account to join the conversation.

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
More
1 week 44 minutes ago - 1 week 43 minutes ago #17187 by Matis A.
And I will start tomorrow with this LAB task,
MSE has a lot of work, and your High Level pascal code can't be out of CT.
Thanks for your work Sir.

PilotLogic Core Programmer
Last edit: 1 week 43 minutes ago by Matis A..

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
1 week 8 minutes ago - 1 week 5 minutes ago #17188 by fredvs
Huh, thanks for the thanks but MSEgui is the work of Martin Schreiber.
I just (try to) make it still on the road and compatible with the (lot of) change-backward-no-compatible in each new commits in fpc source.

IMHO, MSEgui is the best widgetset that exist, even compared with the C tenors like GTK, Qt, Carbon, Windows-GDI and friends.
And it is 100 % Pascal.
Last edit: 1 week 5 minutes ago by fredvs.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 days 13 hours ago #17191 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.
pl_MSEgui LAB Stage 2

Build and Debug MSEide from TyphonIDE-64
on Win11

 



Build and Debug MSEide from TyphonIDE-64
on LinuxMint ver 21 MATE.

 


NO MODs to MSEgui source code until now.
PascalScript is out from pl_MSEgui.

We must write code for mseide directories settings

PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 days 7 hours ago #17193 by fredvs
WOW

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 days 4 hours ago - 6 days 4 hours ago #17194 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.
MSEide LAB Stage 3

Because as package MSEide + MSEgui can't be used from TyphonIDE,
we put all MSEide + MSEgui source to one CT application.

You can download
MSEide.7z
and study the source.

Again NO MODs to MSEgui source code,
and with PascalScript support.

Have fun....
 

PilotLogic Architect and Core Programmer
Last edit: 6 days 4 hours ago by Matis A..

Please Log in or Create an account to join the conversation.

  • fredvs
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 days 22 hours ago #17196 by fredvs
> MSEide.7z

Superb and autoindent works perfectly, also Ctrl+something.

 

But how must I do to convert other MSEgui projects into Typhon ctpr projects?
Must the original msegui-program.pas renamed into msegui-program.ppr ?

Many thanks for this great feature.

Fre;D
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 days 12 hours ago - 5 days 11 hours ago #17197 by Sternas Stefanos
Replied by Sternas Stefanos on topic Use CT to debug fpGUI and MSEgui "pure" projects.

> MSEide.7z

But how must I do to convert other MSEgui projects into Typhon ctpr projects?






 

NO
you will continue to use MSEide for other MSEgui programs.

If you want TyphonIDE to build MSEgui-MSEide applications:

a) We must make a package pl_MSEgui for this and
to put our MODs to MSE source,
Primary for Kernel/Windows and Kernel/Linux folders units
like xxx_win.pas xxx_lin.pas.

b) We must add a IDE package like  ds_MSEgui_IDE, to create new MSE app etc.

My suggestion is to build only MSEide with CT.
MSEgui-MSEide can now develop under the CodeTyphon Studio.

PilotLogic Architect and Core Programmer
Last edit: 5 days 11 hours ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.