-
Content Count
36 -
Joined
-
Last visited
Community Reputation
8 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
try to monitor the values that are given to "font.size", or attach a simple project where we can check
-
From the posted code it is not clear what values are passed, for example what is assigned to "Font.name"? You need to find out which value is not right, start disabling some lines to see if the problem disappears.
-
I also had the same problem, I solved it by deleting the two files "IconCache.db" and "IconCache.db.backup", then I call twice "SHChangeNotify(SHCNE_ASSOCCHANGED,SHCNF_IDLIST,Nil,Nil)"
-
tmainmenu identify whether a TMenuItem is a top-level menu bar item
Minox replied to bravesofts's topic in VCL
You could use the "Tag" property to distinguish them.- 12 replies
-
Try using "Mouse.CursorPos"
-
Minox changed their profile photo
-
have you tried using the "onMouseUp" event?
-
I tried it on a Samsung A13 and all the keys respond the same way, without any apparent delay (D12)
-
Try it this way procedure TFormMain.FormCreate(Sender: TObject); begin Image1.Parent := DrawGrid1; Image1.Left := 0; end;
-
Try var LCursor : JCursor := TAndroidHelper.Context.getContentResolver().query(URIfileTrn,nil,nil,nil,nil); If LCursor=Nil Then Exit; LCursor.moveToFirst; var colIndex : Integer := LCursor.getColumnIndexOrThrow(TJOpenableColumns.JavaClass.DISPLAY_NAME); If colIndex<>-1 Then Result := JStringToString(LCursor.getString(colIndex)); Except Result := ''; End; with the latest OS, with the path you get you can't do anything with it, personally I download the file in the personal folder and use it
-
You probably have set the "Style" preview to "Windows", try selecting the right destination (you can find it in Design)
-
if you change the value to "PrinterIndex" it is called "EndDoc", so you have to select the printer before "BeginDoc"
-
I also encountered the same problem, I solved it by replacing the code: Ad := '"' + DosyaAdi(Uri) + '" ' with If RequestCode<>Dizin_Agaci_Ac Then Ad := '"' + DosyaAdi(Uri) + '" ' Else Ad := TPath.GetFileName(JStringToString(uri.getPath)); in the "OnActivityResult" procedure, but it still doesn't work, even if you give consent you can't read the files. I tried with the "Download" folder and I only get the folders contained therein.
-
The problem is that if the division results in "NAN", no exception is raised, so at runtime the error cannot be detected.
-
Have you tested it? because it works for me, it won't be the best of programming, but if it works...