Board index » cppbuilder » Forms not accessible in borland 6

Forms not accessible in borland 6


2003-11-22 05:10:22 AM
cppbuilder28
Hi,
I have a project that I wrote in Borland 5
I am now using Borland 6. When I opened the project it automatically
upgraded it to 6 format.
However... I cannot open the forms to view!
Although I can view the source and edit the properties of objects on the
form using F11
I can not actually toggle to show the form itself. The button is still there
but when I click on it
it doesn't do anything!!?!!
How can I re-show my old forms please
Any suggestions?
Thanks
 
 

Re:Forms not accessible in borland 6

Shaun,
Is the unit's .DFM file still part of the project?
-- YH --
 

Re:Forms not accessible in borland 6

"Shaun" < XXXX@XXXXX.COM >wrote in message
Quote
I have a project that I wrote in Borland 5
I am now using Borland 6. When I opened the project
it automatically upgraded it to 6 format.
BCB has a bad history of not upgrading projects correctly. Whenever
possible, you should always recreate your projects from scratch, do not let
the IDE auto-upgrade them for you. You can start with a blank project and
import your previous source files and DFMs into the new project.
Gambit
 

{smallsort}

Re:Forms not accessible in borland 6

"Shaun" < XXXX@XXXXX.COM >wrote:
Quote
[...] I can view the source and edit the properties of
objects on the form using F11 I can not actually toggle to
show the form itself.
Use F12 or Shift+F12
~ JD
 

Re:Forms not accessible in borland 6

Hi,
Thanks for the replies.
I cant believe that Borland can release a new version of its software that
cant import work created in older versions of its own program!!
That asside..
How do i 'import' the soure files?
I have created a new project and done a project-Add To Project and selected
the Cpp files however this gives me exactly the same problem
- On some forms i simply cant get it to display the form itself
Can this be resolved?
"Remy Lebeau (TeamB)" < XXXX@XXXXX.COM >wrote in message
Quote

"Shaun" < XXXX@XXXXX.COM >wrote in message
news: XXXX@XXXXX.COM ...

>I have a project that I wrote in Borland 5
>I am now using Borland 6. When I opened the project
>it automatically upgraded it to 6 format.

BCB has a bad history of not upgrading projects correctly. Whenever
possible, you should always recreate your projects from scratch, do not
let
the IDE auto-upgrade them for you. You can start with a blank project and
import your previous source files and DFMs into the new project.


Gambit


 

Re:Forms not accessible in borland 6

Hi!
Shaun wrote:
Quote
I have created a new project and done a project-Add To Project and selected
the Cpp files however this gives me exactly the same problem
Don't import cpp, when you have a dfm file. If there is no dfm file,
then import the cpp.
A dfm file contains the layout of the form, all information about
properties. Without it the IDE does not know what you form looks like.
When you import the dfm file, then the according cpp/h files will be
added to the project as well.
If this doesn't help, then maybe the dfm file has a wrong format. IIRC,
dfm files can be save as text or as binary. It is better to have them
saved as plain text.
Frank
 

Re:Forms not accessible in borland 6

"Shaun" < XXXX@XXXXX.COM >wrote in message
Quote
I cant believe that Borland can release a new version of its
software that cant import work created in older versions of
its own program!!
I didn't say that it couldn't import at all. Just that the import is not
always as smooth as it should be. Sometimes, subtle problems can be
introduced into the new project that were unexpected.
Quote
How do i 'import' the soure files?
Use the "Add to Project" option.
Quote
- On some forms i simply cant get it to display the form itself
Are you sure that the form is not simply offscreen?
Gambit