Top posts
-
VFP Grid cosmetics partII
I have already made a cosmetic grid partI and this is the following continuation. in this code i build a vfp grid with -altering initial cursor (selected from customer.dbf, here as demo) and adding a first column dedied to icons or images The icons are...
-
Working with fonts
Below 17 codes on the fonts subjects, listing, viewing, installing,printing,.... and other resources. D text *1* *This code lists all fonts on system *Begin code =AFONT(gaFontArray) && Array containS font names. gnNumFonts = ALEN(gaFontArray) && Number...
-
Working on VFP objects dynamically - partI
Any Control Object can be draggable On Form here If its property DragMode=0 (manually). Some wanted Controls are binded To the methods my (As MouseDown) And my1 (As MouseUp). MouseDown On draggable Control begins the Drag operation And MouseUp Ends it....
-
Working with reports,olecontrols and listener class
Reporting is in close relationship with business and bureatic environment. the listeners introduced to vfp9 from Microsoft as subclassed libraries revolutionized conventional reports. the outputs are now various as html,images,rtf,even PDF. the codes...
-
Grabbing cool web Apps with visual foxpro
Visual Foxpro is stopped by Microsoft there is a while.i consider the only one tool to access to the modern applications is internet explorer (as application or as a vfp embed browser). the web nowadays is full of interesting things and can be successfully...
-
Working on VFP objects dynamically - part2
this post continues the previous part1. http://yousfi.over-blog.com/2016/11/drah-object-on-form-change-properties-dynamically.html it consists on some vfp codes applying to controls to browse some effects,behaviors,miscellianous... i will update along...
-
Working with Regions and APIs in visual foxpro
Regions are used in common windows advanced tasks and are defined in gdi32 library. they are also used in gdiplusX with paths,drawing,... see this link http://yousfi.over-blog.com/2015/02/gdiplusx-effects-operations-on-images.html can see the functions...
-
Working with the registry in Visual Foxpro
The majority of these 8 codes below use the registry.prg class and some of its examples in solution/winapi samples shipped with visual foxpro. It gives some new demos to work with system registry . 1-find in registry the MRU (most recently used files...
-
Playing with windows mediaplayer
this is a custom windows mediaplayer embed as olecontrol on a vfp form. Its always difficult to maintain the position and the size ratio for WMP. On a visual form i made the property read/write Uimode="none" : it worked fine and dont show controls as...
-
Working on VFP objects dynamically - part3
this is a top level form with resizing all inner controls. Anchoring dont suffisent to do the perfect resizing.this add a class (from Marcia Akins) to resize each object contained on form and preserve some ratio.it needed with large screens. there is...
-
A web metro interface to build tiles - metroJS
Metro JS is a JavaScript plugin for jQuery developed to easily enable Metro interfaces on the web. Following are the main features : - liveTile -Description: Turns a container into a liveTile -applicationBar -While fully functional, the application bar...
-
Playing with vfp pageframes and subclassing
this is an exercice of pageframe styles. to make the pageframe without its tabs can choose in PEM sheet its properties :themes=.f. and tabs=.f. i present a variety of methods to subclass the pageframe tabs particulary with : -containers tab with a number=the...
-
GdiplusX effects & operations on images
these 7 codes makes some effects on images with gdiplusX. 1-halo around images folder 2-shadow around images folder 3. extract a roundRectangle on images folder 4.extract a RoundRectangle with shadow on images folder 5.extract thumbnails with any dimensions...
-
Displaying web images directly on a vfp9 form (avoiding disc)
The traditional Vfp method to show any web image is to download it and save it on the disc as a real picture and then to populate it as file in the vfp form control image (picture property). the API urlDownloadToFile can do easily this operation. there...
-
Transparencies in visual foxpro
In visual foxpro the only control having a windows handle (hwnd) is the form.The transparency can then be applied and monitoring only to this window. Some Controls have the backstyle property (0,1) but cannot control the transparency. The backstyle Specifies...
-
The windows special folders
*The Begining was with this MSDN link:ShellSpecialFolderConstants enumeration: *https://msdn.microsoft.com/ru-RU/library/windows/desktop/bb774096%28v=vs.85%29.aspx *the code builds the folders names and the folders paths for the system special folders....
-
Search,find strings & Findstr &shellexecute
In this article the follow subjects as codes are presented: 1.findstr DOS command to perform search files or search in files 2-Using findtsr to make num lines of code 3-Windows find engine,find in pdfs tools. 4.Shellexecute options (dont all work) 5....
-
Web accordions vertical & horizontal
Web accordions in css3 are simple to use and they are very attractive This page presents 3 codes building -1) vertical accordion with images folder and fullscreen capabilities -2) horizontal accordion with images folder and fullscreen capabilities -3)...
-
Working with form regions and transparency part 1
this code shows how to work with regions and APIs.This subject is already studied in my previous posts (see the links below). the transparency is better than SetlayeredWindow API (see previous posts).the regions can be set individually to transparent....
-
Easy custom ribbons
VFP Ribbon class is very complex and a few foxers can customize or use them in their applications (can download in https://vfpx.github.io/). this code builds an application with clickable transparent shapes. each shape is adjusted on the hot clickable...
-
Scrolling containers with pure and simple vfp solutions
scroll container dont implemented at all in vfp litterature. in my knowledge vfp IDE have not a scrollbar class! i presented in previous post 3 some big methods to scroll any vfp container embedding objects. the codes below implement 2 simple solutions...
-
VFP OLEDRAGDROP with treeview,textbox,listbox ,editbox,grid,image from windows explorer & navigators
All Oledragdrop operation consists to prepare the control with 2 properties oledragmode and oleDropMode(=1 activated). then prepare 2 methods oledragOver and oleDragDrop to receive what its possible and what you want to receive.coding must affect parameters...
-
Working with clipboard and bitmaps
Introduction Visual foxpro works well with the text clipboard.Can put any text in clipboard with _cliptext system variable (Contains the contents of the Clipboard.).It can simulate the windows public hotkeys CTRL+C (copy),CTRL+X(cut),ctrl+V(paste) (for...
-
Playing with google maps API
The google maps API can drive the google maps with javascript properties,methods and events. its a web service provided to display any map given with its longitude/latitude (even with its place).The maps are recorded at Google services (mandatory sometimes...
-
Embedding images in code
Can use any image in a project by many ways .below 6 vfp methods and 2 extra method available on the web. i present at the document end a base64 converter very usefull for whose working on web. 1-standard way :as a resource loaded in a project (add physically...