Re: getFontDialog
- Posted by Dan Moyer <danielmoyer at prodi?y.net> Nov 27, 2007
- 670 views
CChris wrote: > > Dan Moyer wrote: > > > > Windows XP Home Edition, > > Version 5.1.2600 Service Pack 2 : > > > > For what it might be worth, these are the results I get using > > Win32Lib ModVersion: 0.60.6 11/July/2005 > > > > (at least, I *think* that's the version I'm using; I wonder if there is a > > good > > way to PROGRAMMATICALLY interrogate the included Win32Lib for its version #, > > being as there isn't a VARIABLE named: "version" in it?) > > > > Eh? > Quote from win32lib.ew: > --/const Win32LibVersion > --/desc Contains the current version of win32lib library. > -- This is a sequence containing four elements. /n > --/li Major version number (integer) > --/li Minor version number (integer) > --/li Patch or /i Revision number (integer) > --/li Date of the version in DD-Mmm-YYYY format (string) > -- > --Example > --/code > -- setText(SB, sprintf("Win32Lib version %d.%d Patch#%d, %s", > -- Win32LibVersion)) > --/endcode > > I won't swear that all intermediate steps have this variable properly set > though... > If only because a minor patch loke 0.70.2b cannot be specified - I'll probably > change that, thanks for mentioning it. > And thank you for info that I should have found myself :) > It is defined as early as v0.55.5. I don't have earlier versions of the > library. > <<snip>> > > Note about button/dialog variance: > > when I SELECT "bold", the dialog initially INDICATES "bold"; on "ok", the > > button now SHOWS in BOLD, but when CLICKED on again, the dialog NOW SAYS > > "regular", > > and if "ok" clicked, the button will display in regular. > > > > Dan Moyer > > I never noticed that "regukar" was substituted. > See my post from a few hours ago. The corrected version is probably up for > download > now. > > CChris