Samples are typically categorized by their functional focus to help developers navigate specific cross-platform challenges: FMX.CopyPaste Sample - RAD Studio Code Examples
// Map magnitude to bar height (0.1 to 3.0) HeightScale := 0.1 + FCanvasBuffer[i] * 3.0; Bar.Scale.Point := TPoint3D.Create(1, HeightScale, 1); delphi fmx samples
Samples are not just snippets of code; they are fully functional, contextual demonstrations of how to leverage FMX’s GPU-accelerated graphics, gesture management, 3D rendering, sensors, and platform services. Whether you are a beginner exploring TListView or an expert implementing custom shaders, the right sample can cut development time by days. Samples are typically categorized by their functional focus
FMX controls have different properties than VCL. For example, TEdit.TextPrompt replaces the old Watermark concept. Key sample to find: BasicControlsDemo (shows TEdit , TMemo , TButton , TToggleSwitch ). Lesson learned: TListBox uses TListBoxItem objects, not TStrings . This is a fundamental shift. For example, TEdit
Advanced samples show the true power of FMX. For instance, a demo showcasing GPU computing with Delphi and WebGPU implements a "Compute Boids" flocking simulation, where all the heavy lifting is done on the GPU.