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

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 working on my code. Hope it is working for other...

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

Stefan Trost: You do not have to create a new project for changing that. You only have to adjust the minimum SDK Version that is defined in the file...

Question | Change Minimum API Level of Android Studio Project

Guest: There are no real random generators. All what these devices do is creating numbers that appear to be random. They use complex mathematical...

Question | How can a computer create random numbers?