Open Form in Navigator-Window not working (6.0.1)

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Open Form in Navigator-Window not working (6.0.1)

Postby stefanoni » Thu Oct 20, 2011 10:43 am

Version 6.0.1 / 1219

If the form (.frm) is "outside" of the actual Solution (other Solution), I can't open with
Formeditor in Navigator-Window.

I't just shows a new editor-tab for millisecounds, then the tab closes.
The Texteditor works fine with the The .frm and .js

Is this expected or a Bug ?

For a Workarround, do you think it's a acceptable way:
Copy a field from a .frm outside the current solution into the actual-Solutions-Form.frm via cut/paste, for example:

(I know that I have to manipulate / delete the onFocusGainedMethodID: and the uuid:)

Code: Select all
dataProviderID:"memo",
displayType:7,
editable:false,
fontType:"Verdana,0,11",
formIndex:9,
location:"74,231",
margin:"0,1,0,2",
name:"b_memo",
onActionMethodID:"-1",
onFocusGainedMethodID:"F257F75F-F08A-485C-8117-A70C09A5B4F3",
selectOnEnter:true,
size:"360,96",
tabSeq:8,
text:"Memo",
typeid:4,
uuid:"7BC96FA1-0992-4509-9E01-A19B04302459"
}
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland

Re: Open Form in Navigator-Window not working (6.0.1)

Postby Joas » Thu Oct 20, 2011 11:00 am

With the form editor you can only open forms from the active solution or it's modules.

Copying the text as you suggested will work, but you have to be carefull not to corrupt your file.
You could also add the solution as a module first before copying.
Another option is to create template from it. Then you can easily use it from any solution.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL

Re: Open Form in Navigator-Window not working (6.0.1)

Postby stefanoni » Thu Oct 20, 2011 3:29 pm

Oh, thought I used it in earlier versions, but sorry... my mistake.

The thing with the Templates I have to check again, because in earlier versions I had
- error-messages - missing (not copied) properties and so on.

Thank you

... after a view Minutes later...
The save to Templates and insert in a new form works perfectly with 6.0.1. All
Properties and Events are copied. :P Great
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 2 guests