Not showing Design tab in borland C++ builder
Not showing "Design" tab, while loading the .cpp file in Borland C++ Builder. I have thr开发者_StackOverflow中文版ee the extension files like .cpp, .dfm and .h
. I'm using Borland C++ Builder 2007. please provide me a work around for this issue.
Make sure all three files have the same base name, eg: Unit1.cpp
, Unit1.h
, and Unit1.dfm
.
Make sure the .h file has a proper header guard that conforms to Borland's naming convention, eg:
#ifndef Unit1H
#define Unit1H
...
#endif
Make sure the .cpp file contais a #pragma resource "*.dfm"
statement.
精彩评论