Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 29029ac

Browse files
Update comments in demo project's main forms
Comment containing list of snippets included in the `drive` category demo was updated to: * Include two snippets that are demonstrated but were missing from the list. * Correct name of `CurentDrive` in snippet list to use "correct" mis-spelling! Comment containing list of snippets in `winsys` category demo was updated to note that one snippet is from `reg` category, rather than `winsys`.
1 parent f3a1342 commit 29029ac

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

‎tests/Cat-Drive/FmDriveCatDemo.pas‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ implementation
4242
{$R *.dfm}
4343

4444
{
45-
* CurrentDrive
45+
* CurentDrive (sic)
4646
Returns the letter that identifies the current drive.
47+
* DeleteVolumeName
48+
Deletes an existing volume label on a given drive.
4749
* DiskSpaceInfo
4850
Gets total and free space information for a drive.
4951
* DriveDisplayName
@@ -68,6 +70,8 @@ implementation
6870
Check if a drive number represents a valid drive.
6971
* ListDrives
7072
Gets list of the system's drive root paths.
73+
* SetVolumeName
74+
Sets the name of the volume on a given drive.
7175
* VolumeName
7276
Returns volume name of a drive.
7377
}

‎tests/Cat-WinSys/FmWinSysCatDemo.pas‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ implementation
4848
Returns the Windows common file directory.
4949
* ComputerName
5050
Returns the name of the computer.
51-
* GetCurrentVersionRegStr #
51+
* GetCurrentVersionRegStr
5252
Gets a string value from a subkey of the Windows current version registry key.
5353
* GetRegistryString
5454
Gets a value from the registry from a specified root and sub key.
@@ -82,6 +82,9 @@ implementation
8282
Returns the Windows directory.
8383
* WindowsProductID
8484
Returns the Windows product ID.
85+
86+
All snippets are from the `winsys` category except GetCurrentVersionRegStr that
87+
is from the `reg` category.
8588
}
8689

8790
procedure TWinSysCatDemoForm.btnGCVRSClick(Sender: TObject);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /