From 2a97afaccba24bb0866b9f05888fdf628ef1ad55 Mon Sep 17 00:00:00 2001
From: Graeme Geldenhuys
Date: Mon, 9 Mar 2015 19:26:00 +0000
Subject: Document most of the fpg_utils unit functions and procedures.
---
docs/xml/corelib/fpg_utils.xml | 82 +++++++++++++++++++++++++++++++++++++-----
1 file changed, 73 insertions(+), 9 deletions(-)
(limited to 'docs')
diff --git a/docs/xml/corelib/fpg_utils.xml b/docs/xml/corelib/fpg_utils.xml
index 6c0ad9df..6323f257 100644
--- a/docs/xml/corelib/fpg_utils.xml
+++ b/docs/xml/corelib/fpg_utils.xml
@@ -7,14 +7,12 @@
Utility functions used throughout fpGUI. Some have common
implementations and some have platform specific implementations.
-
Converts string from fpGUI to OS specific filesystem encodingThis function is specific to filesystem strings like Paths, Filenames
and Directories.
-
Converts OS specific filesystem encoding to fpGUI stringThis function is specific to filesystem strings like Paths, Filenames
@@ -22,7 +20,6 @@ implementations and some have platform specific implementations.
-
Launches the users Web Browser using the specified URLOn each platform, this function will try and find the appropriate (system
@@ -30,34 +27,101 @@ implementations and some have platform specific implementations.
-
URL address to go to
-
+
+Returns the given file's size in bytes
+.
+
+
If ALine is not '', add the trailing value AValueIf ALine is not '', add the trailing value AValue
-
The source string
-
The value that must be added
-
Are duplicate AValue's allowed
-
+
+Appends the path delimiter to the given string
+.
+
+
+
+This function returns True if the directory passed has subdirectories
+.
+
+
+
+Replaces all line endings in the string with the native line ending
+.
+
+
+
+Appends a colon symbol to the given text
+. This is so that when we support LTR and RTL
+languages, the colon will be added at the correct place. Currently the RTL behaviour
+has not been implemented yet.
+
+
+
+Read a specific bit value in a LongInt variable
+This procedure allows you to read a specific AIndex bit value from the AData variable.
+
+
+
+
+Deprecated in v1.4
+
+
+
+Read a specific bit value in a LongInt variable
+This procedure allows you to read a specific ABit bit value from the AData variable.
+
+
+
+Added in v1.4
+
+
+
+Set a specific bit value in a LongInt variable
+This function allows you to set a specific ABit bit value in a the AData variable.
+
+
+
+Added in v1.4
+
+
+
+Returns the general fpGUI Toolkit config file
+. This is used to store user defined values
+that apply to the whole fpGUI toolkit and applications developed with fpGUI. Things like
+directory bookmarks, global themes, fonts etc.
+
+
+
+Returns the all files mask used to filter files
+. This is used in the File Dialog, File Grid and
+many other places. Because FPC 2.2.2 and later contains the ALLFilesMask variable, this
+function is now deprecated.
+Deprecated in v1.4
+
+
+
+
+
--
cgit v1.2.3-70-g09d2