delphi-prism

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

情到浓时终转凉″ 提交于 2019-12-07 08:35:36
问题 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 change during runtime or design time? Thanks in advance, 回答1: This is affected by the ToolStrip's RenderMode setting. Only when you change it to System will the BackColor property have an effect. The other renderers use theme colors. You are

Good Delphi Prism online resources

纵饮孤独 提交于 2019-12-07 05:34:35
问题 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 advance! 回答1: @omair, you have you have basically five ways to obtain information about Delphi Prism 1) The official Info Prism Wiki Developing for Mono with Delphi Prism 2) Using the Blogs Introduction to Language Integrated Query with Delphi Prism:

Is Delphi Prism a new version of Delphi .net?

老子叫甜甜 提交于 2019-12-07 04:44:11
问题 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 version at the moment) came out I bought the RAD Studio edition to be able to start developing .net applications using Delphi.net and VCL.net. I played around with it for some short time, but in the end, due to work load just kept using Delphi 7 as

Delphi Prism getting Unknown Identifier “DllImport” error

元气小坏坏 提交于 2019-12-06 18:49:24
I'm trying to call Window's SendMessage method in Delphi Prism, I've declared the class as follow: type MyUtils = public static class private [DllImport("user32.dll", CharSet := CharSet.Auto)] method SendMessage(hWnd:IntPtr; Msg:UInt32; wParam:IntPtr; lParam:IntPtr):IntPtr; external; protected public end; When I tried to compile, I get the error Unknown identifier "DllImport" I used this as an example, How to call function CreateProcess in Delphi Prism? and the syntax looks the same. Is there a setting I need to enable, or do I have a syntax error? 500 - Internal Server Error Make sure you

Is there a way to migrate Delphi 2010 forms into Delphi Prism (.Net ) XE forms?

大兔子大兔子 提交于 2019-12-06 14:12:50
问题 I know that since "native" delphi and delphi.net are different technologies it is unlikely to produce a tool that can migrate your old dfm forms to win forms for delphi prism. However is there a tool that facilitate such migration? Basically I have a "native" delphi project that I want to migrate to delphi .net, it is a desktop application, how do I go about that? 回答1: VCL and Winforms are enough different to make such conversion not easy. There are also some components that are Delphi

How to hide the mainform and still run the program?

て烟熏妆下的殇ゞ 提交于 2019-12-05 21:20:36
I want to run my program with the icon showing in the system tray but without the mainform showing from the start. Edit: lMainForm := new MainForm; lMainForm.ShowInTaskbar := true; Application.Run(lMainForm); Didn't work. As soon as Application.Run is executed, mainform is displayed along with the icon in the system tray. The problem you have at the moment is that you are calling the Application.Run overload that takes the main form as a parameter. This will show the main form which you do not want. Instead you should call one of the other Application.Run overloads. For example you can call

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

…衆ロ難τιáo~ 提交于 2019-12-05 15:29:01
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 change during runtime or design time? Thanks in advance, This is affected by the ToolStrip's RenderMode setting. Only when you change it to System will the BackColor property have an effect. The other renderers use theme colors. You are probably not going to like System very much, but you can have you cake and eat it too by implementing your own

Good Delphi Prism online resources

六眼飞鱼酱① 提交于 2019-12-05 12:06:18
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 advance! @omair, you have you have basically five ways to obtain information about Delphi Prism 1) The official Info Prism Wiki Developing for Mono with Delphi Prism 2) Using the Blogs Introduction to Language Integrated Query with Delphi Prism: Part 1 Introduction to Language Integrated Query with Delphi Prism, Part 2 Using LINQ to Objetcs in Delphi

Is Delphi Prism a new version of Delphi .net?

巧了我就是萌 提交于 2019-12-05 09:48:20
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 version at the moment) came out I bought the RAD Studio edition to be able to start developing .net applications using Delphi.net and VCL.net. I played around with it for some short time, but in the end, due to work load just kept using Delphi 7 as development platform. When Delphi 2010 came was released, I decided to give .net a go once more, and

Is there a way to migrate Delphi 2010 forms into Delphi Prism (.Net ) XE forms?

眉间皱痕 提交于 2019-12-04 19:44:02
I know that since "native" delphi and delphi.net are different technologies it is unlikely to produce a tool that can migrate your old dfm forms to win forms for delphi prism. However is there a tool that facilitate such migration? Basically I have a "native" delphi project that I want to migrate to delphi .net, it is a desktop application, how do I go about that? VCL and Winforms are enough different to make such conversion not easy. There are also some components that are Delphi specific without a direct .NET counterpart, and a conversion tool probably would fail if unsupported third party