Lajos Juhász
Members-
Content Count
813 -
Joined
-
Last visited
-
Days Won
11
Everything posted by Lajos Juhász
-
android Delphi 12.1 Android API 34 - not support architecture
Lajos Juhász replied to nevez's topic in General Help
Compile the fmx application for windows 32 platform. (Unfortunately) The (only) most stable platform to debug delphi application.- 8 replies
-
- rad studio
- platform
-
(and 2 more)
Tagged with:
-
Disabled floating point exceptions are problematic for DLLs
Lajos Juhász replied to A.M. Hoornweg's topic in Delphi IDE and APIs
It really depends how many Delphi versions you have to support. The change is documented and was made to make life easier to integrate with other programming languages. Mora information: https://dalijap.blogspot.com/2023/09/coming-in-delphi-12-disabled-floating.html https://docwiki.embarcadero.com/RADStudio/Athens/en/Floating_Point_Operation_Exception_Masks -
A more details could help. One solution can be to place a panel onto the form where you place your UI controls. If the record is lock set the enabled proprty of the panel to false.
-
It was a request to change the exception to a proper message before Embarcadero included it in D12. Unfortunately the answer was it is a known limitation of Delphi.
-
Custom Control for TDBCtrlGrid showing only active data
Lajos Juhász replied to Hugo Bendtner's topic in VCL
The paint method is to paint on the canvas not to set a property value. -
Custom Control for TDBCtrlGrid showing only active data
Lajos Juhász replied to Hugo Bendtner's topic in VCL
During the Paint method you have to handle csPaintCopy in ControlState (you can check in Vcl.DBCtrls). -
{$Defines xxxx} not working at design time..
Lajos Juhász replied to Ian Branch's topic in Delphi IDE and APIs
The IDE can be strange from time to time. I have a unit that I cannot edit it. If you try to add a property the editor will jump to another line. The only way to edit is to paste the text from another editor. I have tried to create a sample project to reproduce the bug and report it and failed. When I copy the class that fails in the text project I cannot reproduce the bug. -
Install ICS V9.1 in D10.4
Lajos Juhász replied to HGRogers's topic in ICS - Internet Component Suite
-
{$Defines xxxx} not working at design time..
Lajos Juhász replied to Ian Branch's topic in Delphi IDE and APIs
In D12.1 the units I have tested the color is changed after 0-15 seconds. -
Strange bug with string literals in RAD Studio 12
Lajos Juhász replied to luebbe's topic in RTL and Delphi Object Pascal
The ide will generate object Label1: TLabel Left = 303 Top = 233 Width = 99 Height = 15 Caption = #1058#1086' '#1073#1077' '#1086#1088' '#1085#1086#1090' '#1090#1086' '#1073#1077 end -
Android immersive mode / kiosk mode with C++Builder
Lajos Juhász replied to steve.b's topic in General Help
You should see how it is done and Delphi and do it in C++ https://github.com/Embarcadero/Android-Kiosk-Mode-FMXTemplate- 4 replies
-
- c++builder
- android
-
(and 2 more)
Tagged with:
-
Android immersive mode / kiosk mode with C++Builder
Lajos Juhász replied to steve.b's topic in General Help
I don't have C++, maybe this can help? https://blogs.embarcadero.com/easily-deploy-advanced-android-kiosk-mode-with-this-firemonkey-template/- 4 replies
-
- c++builder
- android
-
(and 2 more)
Tagged with:
-
In Delphi 12.1 if you press F1 on SelectDirectory you get the Rad Studio Topics then select Vcl.FileCtrl.SelectDirectory The system will open a docwiki page: https://docwiki.embarcadero.com/Libraries/Updates/en/Vcl.FileCtrl.SelectDirectory with the content: Permission error You do not have permission to read this page, for the following reason: The action you have requested is limited to users in one of the groups: writer, l10n, RADBeta, ConnectBeta, Employee.
-
Maybe your antivirus software deletes it?
-
1.) Usually the uninstall asks if you want to remove registry entries - you should choose not to do so and everything should stay. 2.) It should not increase the installation counter. (I am going to test the upgrade process tomorrow or during the weekend.)
-
The page is wrong. I am downloading it and it is 7.2GB.
-
That should not be the issue, shortstring should be compatible with D5 (I have never tested, it is not unicode like string).
-
Delphi 12 - Breakpoint not work when use Rumtime Packages and Win64 platform
Lajos Juhász replied to giorgiobazzo's topic in Delphi IDE and APIs
Unfortunately only @Marco Cantu could answer if this is the same bug.- 9 replies
-
- delphi 12
- rumtime packages
-
(and 2 more)
Tagged with:
-
Delphi 12 - Breakpoint not work when use Rumtime Packages and Win64 platform
Lajos Juhász replied to giorgiobazzo's topic in Delphi IDE and APIs
Most probably it is a known issue. Here you can read more:- 9 replies
-
- delphi 12
- rumtime packages
-
(and 2 more)
Tagged with:
-
You can solve this problem, set Wordwrap to true. It is event documented: Vcl.StdCtrls.TButton.WordWrap inherits from Vcl.StdCtrls.TButtonControl.WordWrap. All content below this line refers to Vcl.StdCtrls.TButtonControl.WordWrap. Specifies whether the button text wraps to fit the width of the control. Set WordWrap to true to allow the display of multiple lines of text. When WordWrap is true, text that is too wide for the control wraps at the right margin. Set WordWrap to false to limit the text to a single line. When WordWrap is false, text that is too wide for the control appears truncated.
-
You cannot do achieve that in safe manner. For example: var t: TStringList; begin t:=TstringList.create; t.Free; end; How you are going to know if t is freed or not?
-
You are setting the date to today thus after the user clicks to reset the value will remain. Change the code to: procedure TForm1.btnResetClick(Sender: TObject); begin DateTimePicker1.Format:=' '; DateTimePicker1.Date:=0; end; Now it will change when the user clicks on the today.
-
The main form is the first form created using Application.CreateForm you can create forms before using the normal form constructor.
-
Close can cause access violation if the form is prematurely freed. Release makes sure that every event is finished before the form is freed.
-
You should code this in different way. You can find an example at https://www.thoughtco.com/display-a-login-password-dialog-1058469 unfortunately the code formatting is not correct but you can see the idea.