ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 MoveSelectedFilesToFolder usage problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Waheed Posted - Oct 12 2019 : 02:55:13
Hello,
This method is working great
ImageEnFolderMView1.MoveSelectedFilesToFolder

, but how can I keep it from scrolling to the top after moving files?

object ImageEnFolderMView1: TImageEnFolderMView
  Left = 440
  Top = 80
  Width = 781
  Height = 694
  Background = clWindow
  Ctl3D = False
  ParentCtl3D = False
  StoreType = ietFastThumb
  ThumbWidth = 200
  ThumbHeight = 200
  HorizBorder = 8
  VertBorder = 8
  TextMargin = 4
  ThumbnailOptionsEx = [ietxShowIconForUnknownFormat, ietxShowIconWhileLoading, ietxEnableInternalIcons, ietxStretchSmallImages, ietxFillWithImgBackground]
  OnSelectionChanging = FolderViewSelectionChanging
  Checkboxes = iecbAlways
  GridWidth = -1
  SelectionWidth = 5
  SelectionColor = clRed
  ImageCacheSize = 200
  Style = iemsFlat
  AutoAdjustStyle = True
  ThumbnailsBackground = clHighlight
  ThumbnailsBackgroundSelected = 16575194
  ThumbnailsBackgroundHover = 16774117
  EnableMultiSelect = True
  MultiSelectionOptions = [iemoRegion]
  ThumbnailsBorderWidth = 1
  DefaultTopText = iedtImageDimAndSize
  DefaultInfoText = iedtNone
  DefaultBottomText = iedtFilename
  Anchors = [akLeft, akTop, akRight, akBottom]
  ThumbnailResampleFilter = rfFastLinear
  ThumbnailDisplayFilter = rfNone
  SelectedFontColor = clNone
  ReadOnly = False
  MouseWheelParams.Action = iemwVScroll
  MouseWheelParamsAlt.Action = iemwZoom
  TabOrder = 16
  SortOrder = iesbFilenameWithoutPath
  ShowFolders = False
end




-----------------
3 Monitors
Windows 10
Delphi 6,2007 and 10.2
ImageEn v.8.7
1   L A T E S T    R E P L I E S    (Newest First)
Waheed Posted - Oct 12 2019 : 11:22:32
Solved it.
Used:
y := ImageEnFolderMView1.ViewY;
// some files change
ImageEnFolderMView1.ViewY := y;


Thanks to this topic:
https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=2912

-----------------
3 Monitors
Windows 10
Delphi 6,2007 and 10.2
ImageEn v.8.7