Questions tagged [delphi-ide]

Questions related to Delphi (RAD Studio) IDE application

48 questions
1
vote
0 answers

How to automatically refresh open files after changes by a pre-build event

In Delphi XE3 I have a pre-build event that generates .pas files. The generated files are in the project's search path and this works fine. When one of those files is currently opened in the Delphi editor, the pre-build event will still run fine and…
TmTron
  • 17,012
  • 10
  • 94
  • 142
1
vote
0 answers

How do I report error messages to the IDE from a custom build tool?

I am using a custom build tool in Delphi XE3. This executes as expected, but when my custom build tool fails for some reason, it will return a non-zero exit code and Delphi will just report that the build has failed. The build tool will write to…
TmTron
  • 17,012
  • 10
  • 94
  • 142
1
vote
2 answers

Displaying a Scratch Project (.SB) file within a Delphi EXE FIle

I would like to Display a Scratch Project (.SB) file within my Delphi EXE file. I would like to know if it is possible to display and build the Scratch Project into your Delphi Project. I wish to make a small game in Scratch and then use the game…
1
vote
0 answers

Is it possible to compile a program without linking it from the IDE?

I have a GUI application with size about 80MB (DEBUG mode). Sometimes when I change something in the source I just want to know if it compiles ok and I hit CTRL+F9 (I don't rely on Code Insight, because it doesn't always work on large projects). The…
iPath ツ
  • 2,468
  • 20
  • 31
1
vote
1 answer

Delphi 2010 object inspector grid and windows dpi

I work on high resolution wide screen and I set the dpi to 144 so I can see fonts better. the problem in Delphi 2010 object inspect grid I cant see the text of properties or event names the grid does not scale !! any solution to this ? thank
zac
  • 4,495
  • 15
  • 62
  • 127
0
votes
0 answers

Why does the String type have keyword highlighting in Delphi IDE?

In the Delphi IDE the String type is highlighted as a keyword, similar to syntax elements like const, function, begin, end, or class. It seems to be the only type that gets this special highlighting, other types like Integer, Boolean, or Double have…
blerontin
  • 2,892
  • 5
  • 34
  • 60
0
votes
1 answer

Prevent project tree from showing delphi rtl units

I'm using Delphi XE3, I have many project which contain a rtl unit in DPK file (necessary to set {$SetPEFlags IMAGE_FILE_NET_RUN_FROM_SWAP}), so their DPK looks like this: requires { ... }; contains { ... }, Winapi.Windows; {$SetPEFlags…
0
votes
0 answers

MMX assist for overriding methods

Using the MMX add-in for the Delphi IDE, is there a way to display a list of virtual methods that can be overridden in the current class, similar to the way MMX can show me interface methods that can be implemented in the current class? Forgive me…
David U
  • 943
  • 1
  • 8
  • 22
0
votes
1 answer

How to activate refactorings?

The Refactorings menu in my C++/Delphi always shows "No refactorings available". How do I activate it? It seems promising. I would like to use it one day. There is a very old thread here saying that this is caused by some disabled packages. But I…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
0
votes
0 answers

How to avoid that a component is displayed as possible value of its own linkage property?

I've defined a component class which have a property of its own type: TMyComponent = class(TComponent) private FLinkedComponent : TMyComponent; procedure SetLinkedComponent(AValue : TMyComponent); published property LinkedComponent…
Fabrizio
  • 7,603
  • 6
  • 44
  • 104
0
votes
1 answer

Is the Delphi IDE hijacking my system?

Over the year, sometimes when installing a new software ( IIRC, dozens of them, and these software has nothing to do with the Delphi IDE) on my Window 7 system while the Delphi XE4 IDE is running, the following error message would keep popping up -…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
0
votes
1 answer

Delphi OpenTools API get component property

I'm implementing a package to convert and auto-generate components in the delphi IDE. I'm aware that GExperts has a similar function but I need to customize some specific properties. Right now I'm stuck on accessing the TADOQuery.SQL property,…
tsmr
  • 198
  • 11
0
votes
0 answers

Can no longer input space for string properties in Object Inspector, how to find the culprit?

I use Delphi XE4 and suddenly I have found that I can no longer enter space characters (other characters are OK) into the Object Inspector for string properties such as TButton.Caption. I don't know since when, but it should be within the past…
Edwin Yip
  • 4,089
  • 4
  • 40
  • 86
0
votes
1 answer

Custom Build Tool by file-type

can I associate a custom build tool automatically for all files of a certain type (i.e. I want to run my custom build tool for all files with *.mjs extension). In the Delphi Doc I only found a way to manually associate a single file: Adding a Custom…
TmTron
  • 17,012
  • 10
  • 94
  • 142
0
votes
2 answers

Delphi 2007 - Is it possible to get a list of ignored exception classes at run-time?

I'm wanting to determine at run-time if an exception class has been specifically ignored in the IDE. The reason is this: When running an application from the IDE I might receive an exception that I know the reason for, but don't want to deal with…
rossmcm
  • 5,493
  • 10
  • 55
  • 118