Edit windows.xfrm in XIDE 1.12

This forum is meant for questions and discussions about the X# language and tools
Anonymous

Edit windows.xfrm in XIDE 1.12

Post by Anonymous »

Hi All

Is there a trick to edit window.xfrm in XIDE 1.12

Thank you for the reply

Yours sincerely

Johan Kwaspen
Belgium
User avatar
Chris
Posts: 4899
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Edit windows.xfrm in XIDE 1.12

Post by Chris »

Hi Johan,

No, XIDE uses a very different system for saving the contents of the window (it uses custom .wed files that contain definitions for all windows/menus etc that are included in any .prg), so unfortunately you cannot share the same (binary) files.

If you use the newer versions of VOXporter/XIDE of the latest build, the .wed files are now automatically created, so now the windows will be automatically visible in XIDE, without needing to do something yourself. I you want to do that for a project that you have already exported before, so you do not want to re-export it, you can still do it in a temporary folder and copy/paste the .wed files to the old exported folder. If you want, I will send you more detailed info about this.

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Chris
Posts: 4899
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Edit windows.xfrm in XIDE 1.12

Post by Chris »

Oops, sorry, looks like we didn't include the new VOXporter version in the last X# build. Johan, I'll send it to you by email.

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
JKW

Edit windows.xfrm in XIDE 1.12

Post by JKW »

Thanks Chris !

I will wait for your mail

Regards, and a Merry Christmas

Johan Kwaspen
Belgium
User avatar
Chris
Posts: 4899
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Edit windows.xfrm in XIDE 1.12

Post by Chris »

Hi Johan,

Please check your mail. Merry Christmas also to you and everybody else!

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
GregG
Posts: 8
Joined: Wed Nov 09, 2016 11:48 am
Location: USA

Edit windows.xfrm in XIDE 1.12

Post by GregG »

Hi Chris,

Would you mind sending it to me as well, along with the instructions for importing WED files into an already XPorted project?

Thanks,

Greg
User avatar
Chris
Posts: 4899
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Edit windows.xfrm in XIDE 1.12

Post by Chris »

Hi Greg,

Just sent it!
Guys, if it's working ok for you, I will then also package and upload it to the downloads area.

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
SHirsch
Posts: 286
Joined: Tue Jan 30, 2018 8:23 am
Location: Germany

Edit windows.xfrm in XIDE 1.12

Post by SHirsch »

Hi Chris,
Is the new VOExporter also available for public? In VS2017 editing forms is possible. But I like XIDE and would prefer to edit forms also in XIDE.

Regards,
Stefan
User avatar
Chris
Posts: 4899
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Edit windows.xfrm in XIDE 1.12

Post by Chris »

Hi Stefan,

Please check your email, I have just sent it to you, hope it passes spam filters :)

Will also uploaded it to the website.

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
SHirsch
Posts: 286
Joined: Tue Jan 30, 2018 8:23 am
Location: Germany

Edit windows.xfrm in XIDE 1.12

Post by SHirsch »

Hi Chris,

thank you, now the forms can be opened and changed in XIDE.
But I have some more questions:
- at first open an form this error message appears (with no problems I can say so far)
Error_XIDE_1.PNG
Error_XIDE_1.PNG (13.67 KiB) Viewed 778 times
- 'Inherit from Class' and 'Font' just show '<Auto>' in Listbox

- after changing a form the resource file is changed from

Code: Select all

dlg_Auswert_Sonder DIALOGEX  16, 28, 604, 348
STYLE	4|128|2147483648|12582912|524288
to

Code: Select all

dlg_Auswert_Standard DIALOGEX 0, 0, 502, 283
STYLE DS_3DLOOK|WS_POPUP|WS_CAPTION|WS_SYSMENU|DS_MODALFRAME
The defines in STYLE are not defined.
- Where can I define these values globally?
- Or, where can I change the template (to fix numeric values as before)?

X# and XIDE are great. After 20h of changing, refactoring and removing some code my framework and main app is compiling and starting. Crashing in many parts. But these are solvable problems. In Vulcan after more than 100h of work compiling 30% of the code was not possible. So I say (write) it again great job.

Regards,
Stefan
Post Reply