How TVisualGrid admits one fetch at a time, keeps only the latest request and discards cancelled background results, using RefreshSuspended, CancelActiveFetch and RefreshThrottle.
Read article
How TVisualGrid admits one fetch at a time, keeps only the latest request and discards cancelled background results, using RefreshSuspended, CancelActiveFetch and RefreshThrottle.
Read articleUse TVisualGrid page modes to show all rows, a fixed page size or as many rows as fit the window, with one data source and one set of column bindings.
Read article
Implement a TCustomDataSource, describe filters and sorts with TColumnFilter, and use its snapshot cache to page a filtered, sorted dataset without reloading it.
Read articleDefine application blocks and screen definitions once in Sphere10.Framework.Application.UI, then use the shared ApplicationScreenHost for screen activation modes, lifecycle hooks and navigation guards under both WinForms and Blazor.
Read article
Build an editable Blazor page with BlazorGrid over an IDataSource, covering buffered row editing, custom EditorTemplate columns, BlazorGridReferencePicker for related records, row actions and Interactive Server hosting.
Read articleUse ClusteredStreams to keep many independently resizable logical streams in one file, covering the cluster layout, stream operations, cluster size, reopening and limits.
Read article
Create a persistent list with StreamMappedFactory, then append, update and range-read items through the extended-list contract and reopen the file with matching settings.
Read articleStore an ordered dictionary in a stream with StreamMappedBTreePlus, run inclusive range queries with FindRange, and reopen the tree with its original order and fixed-size serializers.
Read article
Use the Statistics accumulator to maintain count, range, mean, variance and standard deviation from a stream of readings in constant memory, with its empty, reset, threading and precision behaviour.
Read articleGenerate and verify a Merkle inclusion proof with StreamMappedMerkleList, GenerateExistenceProof and MerkleMath.VerifyExistenceProof, and see what the verifier must already trust.
Read article
Round-trip an object graph with shared and cyclic references using the Framework binary serializers, and see how SerializationContext and ReferenceSerializer write back-references.
Read articleSerialize a SerializerFactory with SerializerFactorySerializer so that stored binary data carries its own type codes and member layouts, and rebuild the reader factory from those bytes.
Read article
Add read-ahead to any TStream with TBufferedStream, understand its logical and underlying cursors, and hand the source to another reader with FlushUnreadData.
Read articleBuild a TWizard whose screens validate input, change the remaining route with UpdatePath, keep their state when removed from the path and allow Finish to be retried.
Read article
Derive a cache from TCacheBase and choose its expiration, staleness, eviction and dispose policies so cached objects are fetched, replaced and freed predictably.
Read articleUse TDisposables to free a group of objects in reverse order at scope exit, and TScope to return a lock acquisition with its release attached.
Read article
Write one TVisualGrid configuration and one typed data source that compile for both Delphi VCL and Lazarus LCL, and see where the compiler-specific boundary sits.
Read articleCoalesce bursts of UI notifications into one handler call with TThrottledEvent, choose a delivery mode, and observe or cancel pending delivery.
Read article
Use TReadWriteLock's upgradeable read mode to inspect shared state and promote to a write lock without a release-and-recheck gap.
Read articleWhat a hash comparison, a digital signature and a Merkle inclusion proof each establish, what each leaves open, and how to combine them with Sphere10 Framework.
Read article
Showing 181–200 of 205 articles