GSSTOOLS is a collection of SHAREWARE Visual Basic VBX's written by Comments or suggestions can be sent to me at 73051.1761@cis.com bfguttilla@aol.com bfgut@ix.netcom.com Orders and registration fees must be made using a check from a U.S. Bank or a U.S. Money Order and made payable to: Brad Guttilla 4718 Hummingbird Dr. Waldorf MD 20603 GSS Tools is a colection of four VBX's. CLOC.VBX CAL.VBX GSSCALC.VBX GSSGRAD.VBX ==================================================================== PLEASE SEE THE FILE ORDER.TXT FOR INFORMATION ON HOW TO REGISTER THE CONTROLS AND OBTAIN THE SOURCE CODE. REGISTERED VERSIONS REQUIRE NO LICENSE OR ROYALTY FEES. ==================================================================== CLOC.VBX provides a normal or 3D 12 or 24 hour clock vbx that can be placed on any form. It needs no programming and does not require the timer control. In addition it can function as an elapsed time counter. Cloc Properties Cloc3D - True ThreeD on False ThreeD off ClocBevel - Raised - Raises control if 3D is on Inset - Sinks control if 3D is on ClocSecs - True Shows Seconds False does not show seconds ClocType 0 - 12 Hour shows time in 12 hour format 1 - 24 Hour shows time in 24 hour format 2 - Elapsed time shows the elapsed time since program started Tm_0f_Day time in hh:mm:ss format Events Refresh - resets the Elapsed time to 00:00:00 Clocdemo.exe is a VB3 sample that shows the three clock types ==================================================================== CAL.VBX is a full featured 3D calender that provides functionality for date selection. Drag and drop is supported CAL Properties Caption --- Does nothing... CalDay Day of the month selected CalMonth Month Selected CalYear Year-1900 selected CalDte String date in the Format dd Mmmm YYYY. Use Format$ to change to the type needed. Controls: Click on any day to change the date. -> increment the month by one <- decrement the month by one << decrement the year by one >> increment the year by one "Today" will reset the calender to the present system date. The current day will be highlighted. Depending on the size the font may need to be changed. EVENTS The only events recognized are the Drag events and the Click event. The click could be handy if you want to tie the CAL.VBX to only one item. CALDEMO.EXE is a VB application showing the uses of the calender. ==================================================================== GSSCALC is a full featured 3D calculator VBX. Properties Caption --- Does nothing... Total Total InputNum The last number input Controls: Click on any button to perform operation CE clears the number but not the operator. C clears the entire calculator Depending on the size the font may need to be changed. EVENTS The only events recognized are the Drag events and the Click event. To put a formatted number into "Text1.TEXT" add the following code: Add a Text control to form 1. Add GSSCALC.VBX to form 1. In the GSSCalc1_click event put the code GSSCalc1_click text1.text=Format$(GSSCalc1.Total,"General Number") end MOUSEDOWN In addition I added a mousedown event to facilitate dragging. To use the drag feature as well as the other features you should activate the drag with the right mouse button. (See example Program). CALCDEMO.EXE is a VB program that shows the uses of the GSSCALC.VBX ==================================================================== GSSGRAD.VBX will put a gradient background on any form in any available Windows color. GSSGRAD.VBX Properties Direction Down - light at top to dark at bottom Up - dark at top to light at bottom Right - light at left to dark at right Left - dark at left to light at right Changes at run-time are possible by changing the properties and issuing a ".REFRESH" command. See the example VB program....gradient.exe =====================================================================