|
From: <alk...@us...> - 2012-12-12 08:28:33
|
Revision: 1960
http://sourceforge.net/p/hwgui/code/1960
Author: alkresin
Date: 2012-12-12 08:28:31 +0000 (Wed, 12 Dec 2012)
Log Message:
-----------
2012-12-12 12:30 UTC+0300 Alexander Kresin <al...@be...>
* source/drawwidg.prg
* Some code formatting
* New CLASS VAR have been introduced for HBitmap and HIcon classes - lSelFile.
If it is set to .T. (by default), the AddFile method suggests to select a file with
an appropriate dialog box ( calls SelectFile() ) in case of the bitmap file
isn't found by File() function. This is as it behaved till now.
If the ::lSelFile is set to .F., the SelectFile() isn't called.
In my opinion the default value must be .F., the appearance of a Select File dialog
to draw a bitmap in application looks very strange for me. But for to not touch
those, who accustomed to such :Addfile() behaviour, I've left it as default.
In my apps I will simply write HBitmap():lSelFile := .F.
Modified Paths:
--------------
trunk/hwgui/Changelog
trunk/hwgui/source/drawwidg.prg
|