The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



Assign


Unit:SDL_thumbnails
Class: TThumbnails
Declaration: procedure Assign(Source: TPersistent);

The Assign method assigns one TThumbnails to another. The following parameters are copied from the source thumbnail collection:
  • FrameStyle
  • OuterFrameStyle
  • InnerFrameStyle
  • ColorBackGnd
  • ColorScheme
  • FirstThumbIdx
  • Min
  • Max
  • NumSlidesHoriz
  • NumSlidesVert
  • SlideSize
  • SlideDistance
  • SlideMargin
  • OnImageRequest
  • OnImageClick
  • OnImageDblClick
  • OnFocusChange
  • AntiAlias
  • ColorCover
  • ColorFocus
  • FocusLineWidth

Note that the position, the height and the width of TThumbnails component are not copied from the source.

Hint: In general, the statement Destination := Source is not the same as the statement Destination.Assign(Source). The first statement makes Destination reference the same object as Source, whereas the second statement copies the contents of the object referenced by Source into the object referenced by Destination.


Last Update: 2023-Dec-13