Programming and Computer Science

Welcome to the portal about Programming and Computer Science.
 

New Topics

Cordova: Close App

I would like to close my Cordova App via code (for example when a user clicks a button or the like). Is there a command for...

Question | 1 Answer

Delphi: Format Numeric Output with 2 Decimal Places

Hello community Please lend a hand :) I have this line : Memo10.Text :=...

Open Question | 1 Answer

Delphi Error with Form.Hide and Form.Show: This Form of Method Call only allowed for Class Methods

I am using 2 forms and I want one to show up while the current one hides. I used the code: ...

Open Question | 1 Answer

Change Minimum API Level of Android Studio Project

When creating a new project in Android Studio, you can set the Minimum API Level for the project quite easily. However, how...

Question | 1 Answer

Delphi: Bringing another Application's Window to Foreground when minimized

I am trying to show another Application's Window that is minimized to the taskbar. I have been using the SHOWWINDOW and...

Open Question | 1 Answer

Delphi: Showing another application window that is minimized to task bar

I am trying to show another Application Window that is minimized to the taskbar. I have been using the SHOWWINDOW and...

Open Question | 1 Answer

New Answers and Comments

Delphian: Then it's probably something else. For example, have you forgotten to set KeyPreview to...

Question | Delphi: Function keys like F1, F2 and F3 do not work in FormKeyDown event

Guest: With Delphi Sydney this is not an option: F1 is also ignored...

Question | Delphi: Function keys like F1, F2 and F3 do not work in FormKeyDown event

Stefan Trost: You can simply end your app with the following line of code:...

Question | Cordova: Close App

Delphian: There are many ways for doing that. One way is to use the function FormatFloat. You can rewrite your code to: ...

Question | Delphi: Format Numeric Output with 2 Decimal Places

Guest: Thanks for your answer, this is working in my code. Hope it is working for other people,...

Question | Delphi: Loading JPEG image in TImage does not work: Exception EInvalidGraphic: Unknown picture file extension (.jpg)

Delphian: This error message typically occurs when you call some procedure not on an instance of a class but on a class itself. Typically, when...

Question | Delphi Error with Form.Hide and Form.Show: This Form of Method Call only allowed for Class Methods