Saturday, February 16, 2013

Sandstorm's Quick Search Tool

Here is another tool to help you search for files in your unit.  You can search multiple types by using asterisk (*) and you can search on multiple locations by either typing the paths straight in the box for Target Folder and/or clicking on the dotted button on the right.

This uses filer.dll that is shipped along with VFP (Home(6)).  For you to be able to use said dll on other machines though, you need to register it first using an admin account.

regsvr32 filer.dll


And here are the codes:

Sunday, February 10, 2013

Grid Showing Fonts' Name and Appearance

Here is another one that again comes from reading a need of a member inside foxite forum which is to show the list of fonts on the current computer unit in any object possible with an added minor twist, i.e., that aside from the name Arial, the font name should be displayed as well on how the font looks.


Wednesday, February 6, 2013

ssClasses issue on cCleaner


A subscriber has been repeatedly requesting me for a major update on how ssClasses works just because one (or some) of his clients have cCleaner on their machines and said cCleaner is beating the crap out of ssClasses because most users are likewise ticking the temp folder to be among those it will clean.  And temp folder is where I decided to send images needed by ssClasses for two reasons:
  1. It is "never" restricted to the current user
  2. It is a place to store 'craps'.  You can think of the images of ssClasses as crap if you wish
But due to that constant cleaning done by users of cCleaner, then in some cases with the current design of the library, needed images for some of the classes like buttons, switches, etc.; might not appear properly on first run of your app.  Succeeding runs will have no problem.

Monday, February 4, 2013

Setting Focus to an Object via its TabIndex Value


MK has been repeatedly requesting from me if I can make ssOptSwitch totally loose focus and moves to the next control when user presses TAB and I said that unless someone showed me a way to do that via tabindex, then it can't be done.  No one showed me so it stays that way.

That default attitude of the class is not surprising considering ssOptSwitch actually is just a container comprised of several ssSwitch so it is just natural that when one switch looses focus via Enter or Tab keys, then the next switch based on tab index will receive it.  And I really cannot imagine yet how to do something like:

Thisform.Object(.tabindex).Setfocus

I was sitting in front of  my laptop Sunday afternoon as I am in the mood going through the minor bugs on Alpha 3.0 as mentioned by MK fixing those one by one until I came to his ssOptSwitch Tab request.  Suddenly I realized I have been saying all along the solution to that and that the above command can actually be translated into something like this: