- 001
- 002
- 003
- 004
- 005
- 006
- 007
- 008
- 009
- 010
- 011
- 012
- 013
- 014
- 015
- 016
- 017
- 018
- 019
- 020
- 021
- 022
- 023
- 024
- 025
- 026
- 027
- 028
- 029
- 030
- 031
- 032
- 033
- 034
- 035
- 036
- 037
- 038
- 039
- 040
- 041
- 042
- 043
- 044
- 045
- 046
- 047
- 048
- 049
- 050
- 051
- 052
- 053
- 054
- 055
- 056
- 057
- 058
- 059
- 060
- 061
- 062
- 063
- 064
- 065
- 066
- 067
- 068
- 069
- 070
- 071
- 072
- 073
- 074
- 075
- 076
- 077
- 078
- 079
- 080
- 081
- 082
- 083
- 084
- 085
- 086
- 087
- 088
- 089
- 090
- 091
- 092
- 093
- 094
- 095
- 096
- 097
- 098
- 099
- 100
Function preview()
On Error GoTo stp
Image2.Visible = False
Image3.Visible = False
Image4.Visible = False
Image5.Visible = False
Image6.Visible = False
Image7.Visible = False
Image8.Visible = False
Image9.Visible = False
Image10.Visible = False
Image11.Visible = False
Image12.Visible = False
Image13.Visible = False
Image14.Visible = False
Image15.Visible = False
Image16.Visible = False
Image17.Visible = False
File1.ListIndex = 0
temp = File1.path & "\" & File1.FileName
Image2.Picture = LoadPicture(temp)
Image2.ToolTipText = File1.FileName
Image2.Visible = True
File1.ListIndex = 1
temp = File1.path & "\" & File1.FileName
Image3.Picture = LoadPicture(temp)
Image3.ToolTipText = File1.FileName
Image3.Visible = True
File1.ListIndex = 2
temp = File1.path & "\" & File1.FileName
Image4.Picture = LoadPicture(temp)
Image4.ToolTipText = File1.FileName
Image4.Visible = True
File1.ListIndex = 3
temp = File1.path & "\" & File1.FileName
Image5.Picture = LoadPicture(temp)
Image5.ToolTipText = File1.FileName
Image5.Visible = True
File1.ListIndex = 4
temp = File1.path & "\" & File1.FileName
Image6.Picture = LoadPicture(temp)
Image6.ToolTipText = File1.FileName
Image6.Visible = True
File1.ListIndex = 5
temp = File1.path & "\" & File1.FileName
Image7.Picture = LoadPicture(temp)
Image7.ToolTipText = File1.FileName
Image7.Visible = True
File1.ListIndex = 6
temp = File1.path & "\" & File1.FileName
Image8.Picture = LoadPicture(temp)
Image8.ToolTipText = File1.FileName
Image8.Visible = True
File1.ListIndex = 7
temp = File1.path & "\" & File1.FileName
Image9.Picture = LoadPicture(temp)
Image9.ToolTipText = File1.FileName
Image9.Visible = True
File1.ListIndex = 8
temp = File1.path & "\" & File1.FileName
Image10.Picture = LoadPicture(temp)
Image10.ToolTipText = File1.FileName
Image10.Visible = True
File1.ListIndex = 9
temp = File1.path & "\" & File1.FileName
Image11.Picture = LoadPicture(temp)
Image11.ToolTipText = File1.FileName
Image11.Visible = True
File1.ListIndex = 10
temp = File1.path & "\" & File1.FileName
Image12.Picture = LoadPicture(temp)
Image12.ToolTipText = File1.FileName
Image12.Visible = True
File1.ListIndex = 11
temp = File1.path & "\" & File1.FileName
Image13.Picture = LoadPicture(temp)
Image13.ToolTipText = File1.FileName
Image13.Visible = True
File1.ListIndex = 12
temp = File1.path & "\" & File1.FileName
Image14.Picture = LoadPicture(temp)
Image14.ToolTipText = File1.FileName
Image14.Visible = True
File1.ListIndex = 13
temp = File1.path & "\" & File1.FileName
Image15.Picture = LoadPicture(temp)
Это код функции для реализации предосмотра изображений в папке.
Да, массивы, однако, лучший вариант чем этот :)