Questions tagged [oxygene]

Oxygene is a general-purpose object-oriented programming language based on Pascal. Oxygene can be compiled to the Microsoft Common Language Runtime (.NET and the Mono), Java & Android's Dalvik, as well as the Objective-C runtime.

Oxygene is a general-purpose object-oriented programming language based on Pascal. Oxygene can be compiled to the Microsoft Common Language Runtime (.NET and the Mono), Java & Android's Dalvik, as well as the Objective-C runtime.

106 questions
1
vote
1 answer

Why 32 by 32 4 bit BMP cursor is not displaying?

Since I can't find ZoomIn and/or ZoomOut magnifying glass cursor for my program, I created my own cursor of size 32 by 32 4bit with my compiler. However, when I do assign it to my form cursor, it is not displayed at all, whereas 16 by 16 4bit BMP…
ThN
  • 3,235
  • 3
  • 57
  • 115
1
vote
1 answer

MasterPage property is always empty in content page

I have a HiddenField on my master page, and its value is set in Page_Load event of the master page. In one of my content pages, I need this value in Page_Load event. So I added <%@ MasterType VirtualPath="~/Site.Master"%> to my content page, and…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
1
vote
3 answers

How to prevent key entry with NumericUpDown control?

I have a numericupdown control on a winform and I noticed while testing that not only you have the option of changing the value by pressing up and down key but also simply entering the values from your keyboard. I don't want that. I only want the…
ThN
  • 3,235
  • 3
  • 57
  • 115
1
vote
1 answer

Delphi Prism Application Settings

In .net you can acces the Properties of your application trough code. How can you do the same in Oxygene / delphi prism ? Directory.GetFiles(Properties.Settings.Default.
Nicolas Pierre
  • 1,174
  • 1
  • 21
  • 39
1
vote
1 answer

Why can't datagridview rowcount property be equal to zero?

I have datagridview on my winform and you can add and delete items from it. Although I am able to do that successfully, it acts weird. It requires that its property RowCount be set to 1 or greater. Thus, there is always a single row of grid…
ThN
  • 3,235
  • 3
  • 57
  • 115
1
vote
1 answer

create a plugin in Delphi Prism using Hydra (Remobjects)

I have to create a plugin in Delphi Prism for Application that is already in Delphi. I have read all about Hydra 3.0 in www.remobjects.com and have some queries. Can you please give me an example how to create custom Interfaces for communication …
simon
  • 86
  • 3
  • 9
1
vote
3 answers

How can I debug a sporadic crash in Double.TryParse on Windows 8?

I'm getting a very strange crash when testing an existing application in Windows 8. The main application is written in Delphi XE (Win32) and it does some calls to .Net assemblies using COM interop. The current .Net version being used is 3.5. When…
Cactus99
  • 11
  • 3
1
vote
1 answer

Ambiguous call to method "Round(a: System.Double): System.Double ; Round(d: System.Decimal): System.Decimal"

I am bit confused as to why calling Math.Round method would raise, "Ambiguous Call" compiler error. Here is my offending code: Math.Round((2000-((Splots[x].RawMin/4095)*2000))+200); RawMin is Int32 data type. I thought, Round method should return…
ThN
  • 3,235
  • 3
  • 57
  • 115
1
vote
1 answer

Can't load RemObjects.InternetPack under Mono

I wrote a program on Windows 7 with Delphi Prism. I took the executable and try to run it on Linux under mono. At which point, mono raised the following error. Is this mean RemObjects components are only meant for windows environment? If not, how do…
ThN
  • 3,235
  • 3
  • 57
  • 115
0
votes
2 answers

Class Type Expected error on TableAdapter constructor

I am using Delphi Prism to connect to an Advantage Database Server. I created a connection using the server explorer to the database. I added a dataset object to my project and added a table to the dataset. Everything works fine in the IDE, however,…
Chris Franz
  • 373
  • 1
  • 6
0
votes
0 answers

DelphiPrism XE - strategies on migrating to .NET Framework 4.0 (4.8 really)

Maybe this isn't a strict programming question, but i'm working on an old project using DelphiPrism XE. We have a large system in that Oxygene environment that cannot be simply rewritten. Tools like dotPeek might work on some level, as with the…
hawaii
  • 328
  • 4
  • 12
0
votes
1 answer

How to consume and re-expose a Win32 type library using Delphi Prism

I currently have a Win32 type library created in Delphi which I need to consume, implement and re-expose via .NET. What are the steps necessary to bring the TLB into Prism so the interface can be implemented?
skamradt
  • 15,366
  • 2
  • 36
  • 53
0
votes
1 answer

Parsing XML or JSON in Delphi Prism

I am trying to parse either XML or JSON (doesn't matter, the API I'm interested in provides both) in Delphi Prism but all Tutorials and Howtos show the Delphi code which is no longer available in Prism. Could you please help me? (I'm not trying to…
Asmodiel
  • 1,002
  • 1
  • 12
  • 21
0
votes
1 answer

Seeking Example Delphi Prism ASP.Net Application using SQL Server

I'm an ASP.NET virgin and want to try creating an ASP.Net Application using SQL Server at the back end. I can't locate a single example application or code for doing this. Anyone have any pointers? TIA
nix
0
votes
1 answer

vcl.net to delphi prism

i have some vcl.net apps(delphi 2006 , .net 1.1 ) and i like to port them to delphi.net 2007 . but i like to port it to delphi prism as it has mono support so i can port it on liux and support to latest .net framework(but i know mono supports full…
Vibeeshan Mahadeva
  • 7,147
  • 8
  • 52
  • 102