fbpx
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Edit windows.xfrm in XIDE 1.12

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3460

  JKW's Avatar Topic Author JKW Offline Posts: 27
Hi All

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

Thank you for the reply

Yours sincerely

Johan Kwaspen
Belgium

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

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3461

  Chris's Avatar Chris Offline Posts: 1137
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
XSharp Development Team
chris(at)xsharp.eu

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

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3462

  Chris's Avatar Chris Offline Posts: 1137
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
XSharp Development Team
chris(at)xsharp.eu

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

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3464

  JKW's Avatar Topic Author JKW Offline Posts: 27
Thanks Chris !

I will wait for your mail

Regards, and a Merry Christmas

Johan Kwaspen
Belgium

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

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3465

  Chris's Avatar Chris Offline Posts: 1137
Hi Johan,

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

Chris
XSharp Development Team
chris(at)xsharp.eu

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

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3469

  GregG's Avatar GregG Offline Posts: 5
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

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

Edit windows.xfrm in XIDE 1.12 1 year 5 months ago #3470

  Chris's Avatar Chris Offline Posts: 1137
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
XSharp Development Team
chris(at)xsharp.eu

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

Edit windows.xfrm in XIDE 1.12 1 year 3 months ago #4034

  SHirsch's Avatar SHirsch Offline Posts: 109
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

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

Edit windows.xfrm in XIDE 1.12 1 year 3 months ago #4040

  Chris's Avatar Chris Offline Posts: 1137
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
XSharp Development Team
chris(at)xsharp.eu

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

Edit windows.xfrm in XIDE 1.12 1 year 3 months ago #4044

  SHirsch's Avatar SHirsch Offline Posts: 109
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)


- 'Inherit from Class' and 'Font' just show '<Auto>' in Listbox

- after changing a form the resource file is changed from
dlg_Auswert_Sonder DIALOGEX  16, 28, 604, 348
STYLE	4|128|2147483648|12582912|524288
to
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
Attachments:

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

Edit windows.xfrm in XIDE 1.12 1 year 3 months ago #4045

  Chris's Avatar Chris Offline Posts: 1137
Hi Stefan,

Stefan Hirsch wrote: 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)


That happens when populating the Toolbox items, I think I know what happens, the code expects some controls to be there (like CheckBox, PushButton etc), but looks like some are not. Will fix this and will send you an update, in the meantime can you please send me your cavowed.inf file, to test and make sure that's the problem indeed?

Stefan Hirsch wrote: - 'Inherit from Class' and 'Font' just show '<Auto>' in Listbox


Do you mean they were supposed to have values (imported from the VO app window) but they are empty? That's supposed to work, can you please send me the aef yu are porting to have a look?
If you mean you just want to put values there now, for the Font property you must click on the small button with dots [...] to the right of the property. For the Inherit From property, you will need to compile successfully the app once first, before you can see the available options. Sorry, I know this is not ideal.

Stefan Hirsch wrote: - after changing a form the resource file is changed from

dlg_Auswert_Sonder DIALOGEX  16, 28, 604, 348
STYLE	4|128|2147483648|12582912|524288
to
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)?


Hmm right...the defines are included in SDK_Defines.dll as compiled units, but they do not exist as preprocessor #defines. Do you have the VOWin32APILibrary.vh file from vulcan? If yes, just put it in your XIDE\Config folder and it should work ok now.

Stefan Hirsch wrote: 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.


Thank you very much for your feedback and nice words! Yes, after working several years on vulcan, we got a good understanding of the mistakes and some wrong design decisions (also) we made in it, so in x# we could now design a lot of things in a better way from the ground up to help the process of porting code from VO. Very glad to hear that this is paying off!

Chris
XSharp Development Team
chris(at)xsharp.eu

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

  • Page:
  • 1