Questions tagged [delphi-prism]

Delphi Prism is a rapid application development tool for the Microsoft .NET Framework and Mono, developed by RemObjects Software and distributed by Embarcadero Technologies. It is based on the Oxygene language and compiler, integrated within the Microsoft Visual Studio and MonoDevelop IDEs.

Delphi Prism is a rapid application development tool for the Microsoft .NET Framework and Mono, developed by RemObjects Software and distributed by Embarcadero Technologies. It is based on the Oxygene language and compiler, integrated within the Microsoft Visual Studio IDE.

185 questions
24
votes
1 answer

Why are there so many $IF DEFINED(CLR) in the VCL/RTL?

I've just compared the Delphi 2009 VCL/RTL code to the 2010 one. I noticed that there are many $IF DEFINED(CLR) conditional defines and they got more in the 2010 version. I thought that these conditional defines have fall into disuse, since Delphi…
ulrichb
  • 19,610
  • 8
  • 73
  • 87
17
votes
5 answers

Why is Self assignable in Delphi?

This code in a GUI application compiles and runs: procedure TForm1.Button1Click(Sender: TObject); begin Self := TForm1.Create(Owner); end; (tested with Delphi 6 and 2009) why is Self writable and not read-only? in which situations could this be…
mjn
  • 36,362
  • 28
  • 176
  • 378
10
votes
3 answers

Plugin for VS 2008 - With Structural Highlighting - Support Syntax Delphi Prism

Anybody know any plugin for Visual Studio 2008 that has the ability to "Structural Highlighting" and Syntax support for Delphi-Prism. Currently use Castalia and CnPack, but just work on Rad Studio. I've also used Codekana, but does not support the…
RRUZ
  • 134,889
  • 20
  • 356
  • 483
8
votes
5 answers

Has anyone done or does anyone knows of a way to use Delphi/Prism to develop for the Android os?

Is it somehow possible to use the Delphi language (or Prism if absolutely necessary) to develop programs for the Android platform ? Any starting point ?
Edelcom
  • 5,038
  • 8
  • 44
  • 61
8
votes
4 answers

List.AddRange inline declaration

This may seem an easy question, but not to me, also a search has led to nothing. Up until now the only .net programming I have done is with Delphi Prism. With Prism I can do things like: var l := new List(['A','B','C']); or var l := new…
AJ.
  • 10,732
  • 13
  • 41
  • 50
7
votes
1 answer

How to call correctly base class constructor from inherited class in Delphi Phrism?

I have two classes - base class and inherited class as follows. Base Class: TAlarm = class(System.Object) private: protected: public: constructor (tag:TTagname); end; inherited class: TAlarmMsg = class(TAlarm) public constructor…
ThN
  • 3,235
  • 3
  • 57
  • 115
7
votes
2 answers

Cannot access underlying event field

I am trying to cause TButton Click event from within TListBox doubleclick event by simply calling: Button1.Click; I am always able to do that under Delphi XE and version below it, but now it is raising an error in Delphi Prism. The error message is…
ThN
  • 3,235
  • 3
  • 57
  • 115
6
votes
2 answers

Why does ShowDialog always return DialogResult.Cancel?

I have a custom made dialog winform. On it I have a label, textbox and 2 buttons (OK and Cancel). It also declares and defines overloaded execute methods for passing different parameter list. Dialog Winform is called as follows: var theDialog := new…
ThN
  • 3,235
  • 3
  • 57
  • 115
6
votes
5 answers

Is Delphi Prism a new version of Delphi .net?

First of all (before this question get down voted): I am a developer developing 99,99% of my programs using Delphi targeting Win32 (developing in Delphi 7 still, very slowly migrating to Delphi 2010). When Delphi 2006 or 2007 (can't remember which…
Edelcom
  • 5,038
  • 8
  • 44
  • 61
5
votes
1 answer

How to generate Pascal code from an XML schema in Delphi Prism?

I need to import some XML schemas. In Delphi, I would use the the XML Data Binding Wizard to generate the Pascal code from the schemas. Is there something like that in Delphi Prism to avoid writing all this boilerplate code?
Francesca
  • 21,452
  • 4
  • 49
  • 90
5
votes
0 answers

How do I get started making Web sites with Delphi Prism?

I'm new to Delphi Prism 2011. Where can I find step by step instructions for writing and testing a basic Hello,world type website? I need to write, run and debug a simple website to see how the IDE works and to be sure that the installation…
5
votes
4 answers

Good Delphi Prism online resources

A Google search on "delphi prism", "delphi prism resources" or "delphi prism code snippets" reveal almost no good sites at all are there any good programming site(s) with some good amount of code snippets and tutorials on Delphi Prism? Thanks in…
Omair Iqbal
  • 1,820
  • 1
  • 28
  • 41
5
votes
2 answers

How can I pass a Delphi string to a Prism DLL?

We try to pass a string from a native Delphi program to a Delphi Prism DLL. We have no problem passing integers, but strings are mismatched in the DLL. We saw Robert Love's code snippet in response to another question, but there is no code for the…
4
votes
1 answer

Why doesn't with...do statement and rectangle work together flawlessly?

Lately, I have been noticing that anytime I use Rectangle variable with With...do statement, it doesn't work at all for some reason. For instance: var bounds:=new Rectangle(0,0,0,0); with bounds do begin X:=1; Y:=2; Width:=33; …
ThN
  • 3,235
  • 3
  • 57
  • 115
4
votes
3 answers

Why doesn't toolstriplabel's backcolor property change during design time or run time?

I need to have a toolstrip label and its back color changed during runtime, but no matter what I do. It just won't change its backcolor, even though they give option to change its backcolor. Why is that and how do you get its backcolor property to…
ThN
  • 3,235
  • 3
  • 57
  • 115
1
2 3
12 13