Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: Cris Abella
  Where is Cris Abella?
 Davao City
 Philippines
 Cris Abella
 Tags
Subject: RE: ssClasses Alpha 2
Thread ID: 365196 Message ID: 365492 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Thursday, December 27, 2012 7:20:40 AM         
   


> Sir Jun
>
> Thanks you for sharing your class. Using transparent form how to automatically adjust the picture to the size the form.
> Where I can find the SSCal.
>
> God Bless and more power to you.
>
>
> Cris


You can't, the form should follow the size of the background image because it will be "tiled" if you don't. However, you can do the reverse which is capture an image of your form so you get the proper dimension and use that dimension in Photoshop:

a. Run the form then capture the screen and paste it on paintbrush.
b. Crop the captured image to the proper size (give allowance to the edges that will be made transparent).
c. Still inside paintbrush, Ctrl+A then Ctrl+C. Now you have it again in clipboard
d. Open Photoshop, create new file. It should automatically get the size of what's on clipboard which is your form image
e. Create new layer, Ctrl+V
f. Change the background color to my transparency color
g. Create new layers on top of the image designing each section of the transparent form that you want
h. Save the newly designed image for transparency as bitmap

For applying to the form:
a. Open the form again, change its picture to the newly designed bmp
b. Set its ShowWindow property to 2 (or make its Desktop = .T.)
c. Drag and drop a copy of ssTransparent class
d. Run the form

Other classes are still not included in ssclasses. I still have to work more on adding those and seeing my availability right now, it won't be near yet.


http://sandstorm36.blogspot.com
http://weblogs.foxite.com/sandstorm36

ENTIRE THREAD

ssClasses Alpha 2 Posted by Jun Tangunan @ 12/22/2012 4:25:34 AM
RE: ssClasses Alpha 2 Posted by mk sharma @ 12/22/2012 9:11:07 AM
RE: ssClasses Alpha 2 Posted by Tariq Mehmood @ 12/22/2012 9:15:24 AM
RE: ssClasses Alpha 2 Posted by michael johnson @ 12/22/2012 9:33:14 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/23/2012 10:56:36 AM
RE: ssClasses Alpha 2 Posted by Michael Savage @ 12/23/2012 8:52:56 PM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/24/2012 2:22:31 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/24/2012 12:54:42 AM
RE: ssClasses Alpha 2 Posted by mk sharma @ 12/24/2012 5:17:46 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/24/2012 5:40:33 AM
RE: ssClasses Alpha 2 Posted by Saifuddin Hussain @ 12/24/2012 10:42:06 AM
RE: ssClasses Alpha 2 Posted by Saifuddin Hussain @ 12/26/2012 12:13:20 PM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/26/2012 11:41:53 PM
RE: ssClasses Alpha 2 Posted by Saifuddin Hussain @ 12/27/2012 6:22:22 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/27/2012 7:03:31 AM
RE: ssClasses Alpha 2 Posted by Saifuddin Hussain @ 12/27/2012 11:31:58 AM
RE: ssClasses Alpha 2 Posted by Saifuddin Hussain @ 12/27/2012 12:35:33 PM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/27/2012 11:23:44 PM
RE: ssClasses Alpha 2 Posted by Cris Abella @ 12/27/2012 6:29:25 AM
RE: ssClasses Alpha 2 Posted by llyrad atsituab @ 12/27/2012 6:59:33 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/27/2012 7:20:40 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/26/2012 11:49:14 PM
RE: ssClasses Alpha 2 Posted by llyrad atsituab @ 12/27/2012 7:24:21 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/27/2012 7:52:38 AM
RE: ssClasses Alpha 2 Posted by llyrad atsituab @ 12/27/2012 7:59:38 AM
RE: ssClasses Alpha 2 Posted by Jun Tangunan @ 12/27/2012 8:05:18 AM