-
Content Count
86 -
Joined
-
Last visited
Everything posted by skyzoframe[hun]
-
FMX Error handling. Save out in log file, every success and failed function or procedure.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
Maybe create a TMemo and save here every log information. And before the program closed, save it out to file. {$IFDEF MSWINDOWS} procedure Form1.Log(uiMessage: String); var TimeStamp : TDateTime; begin TimeStamp := Now; Memo1.lines.add('--'+DateTimeToStr(TimeStamp)+sLineBreak +uiMessage); end; procedure Form1.FormDestroy(Sender: TObject); var BOM: WideChar; FS: TFileStream; WS: WideString; I: Integer; begin FS := TFileStream.Create('.\ini\Log.txt', fmCreate); try BOM := WideChar($FEFF); FS.WriteBuffer(BOM, SizeOf(BOM)); For I := 0 to Memo1.Lines.Count-1 do begin WS := WideString( Memo1.Lines[I] + sLineBreak); FS.WriteBuffer(PWideChar(WS)^, Length(WS) * SizeOf(WideChar)); end; finally FS.DisposeOf; end; end; {$ENDIF} How to do it on Android? -
FMX TListView with dynamicappearance. Create progress bar as bitmap.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
Check here the rar file. In data module you can see, how to build up in runtime the query for data source usage. Here usually I use synchronized threads. In user interface I handle every data sources in dynamic arrays. You all right, I don't use livebindings and live database connections. Live bindings for me is like "tying hands".- 12 replies
-
- dynamicappearance
- tlistview
-
(and 2 more)
Tagged with:
-
FMX TListView with dynamicappearance. Create progress bar as bitmap.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
Or, y := 5; //x := 200; x := trunc(Listview1.Width-50); and it will be responsive for window resize.: Problem step.: 5.- By the way. Is there another method to get object width, in runtime? "TAppearanceListViewItem(ListView1.Items.Add).Objects.FindObjectT<TListItemImage>('IMAGE').Width"- 12 replies
-
- dynamicappearance
- tlistview
-
(and 2 more)
Tagged with:
-
FMX TListView with dynamicappearance. Create progress bar as bitmap.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
One solution from the infinite .: -> WorkStation00.zip- 12 replies
-
- dynamicappearance
- tlistview
-
(and 2 more)
Tagged with:
-
FMX TListView with dynamicappearance. Create progress bar as bitmap.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
WorkStation00.zip- 12 replies
-
- dynamicappearance
- tlistview
-
(and 2 more)
Tagged with:
-
FMX TListView with dynamicappearance. Create progress bar as bitmap.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
Thanks for all the replies. Problem step.: -4. How to move the image, behind the selection? Alternative solution.: The image still in front of the selection blue.- 12 replies
-
- dynamicappearance
- tlistview
-
(and 2 more)
Tagged with:
-
FMX TListView with dynamicappearance. Create progress bar as bitmap.
skyzoframe[hun] replied to skyzoframe[hun]'s topic in FMX
I need to stay in Listview-objects! Almost done.. but slow when I use 500 record.. Solution.: WorkStation00.rar WorkStation00.7z- 12 replies
-
- dynamicappearance
- tlistview
-
(and 2 more)
Tagged with: