Top posts
-
GdiplusX Glowing buttons revisited
this is a demo for a glowingButton class ,from the original author Bernard Bout Brisbane ,Australia www.foxite.com (thanks). it was presented with another method as a single prg.I published it in foxite a while ago. The code asks simply to point to the...
-
An iconed grid as Listview with pure APIs
In the 2th previous post (searchmyFiles) i attached to the grid the icons of the associated application only.these groups many icons for all kind of controls. In this post each file have its proper icon (for ex scx,prg,app,frx,h,vcx,....and so). this...
-
A scrollable menu with vfpScrollbar class
I wanted initially to add this example with the previous posts in same subject but i think its a big code and i made it separatly in a standalone post. Its a direct application of the SPS vfpscrollbar i used to generate a menu on a top level form. simply...
-
A PDF Reader application built from VFP
[Post 274] this is a custom PDF reader based on vfp browser and automated from it exclusively. this can work with local pdfs (communly called acrobat).I used my acrobat Reader DC (version base 18.2816). Acrobat is not a friend with all softs because its...
-
Search for text in editbox with 6 methods
This code shows how to build a search text on vfp editbox. there is 6 methods to search string in an editbox -by a loop with selSTart,selLength as legacy vfp method described in method1(code adapted from solution.app)-Click always for next found searched...
-
Playing with photos in VFP and web lightboxes
A fun transition time to time This VFP code below gathers all images from any folder (png,jpg,bmp,gif) and shows them as thumbs 90x90 on the top level form. Click on image to show it as fullscreen with a transition motion -Re click to return to initial...
-
A special method to search text in complex editbox control.
Maybe its a trivial question nowadays to search text in any support but this code is very special and clever. all know that editbox is not a richtext control (its mono fontname,mono fontsize and mono forecolor/backcolor at one time). that why search any...
-
Retrieve all PEM within an object dynamically
Click on code to select [then copy] -click outside to deselect This is a trivial PEM sheet (properties,methods,events) of a vfp form object. it contains 178 PEM.its plays on runtime (the native vfp PEM is fired at design time). its divided in Properties,...
-
Beautify your tables views with CSS
Genhtml.prg was the first VFP code to build an html table from any table/cursor.this have no colors,no great style (css dont known in this period). the web table is built with markers. :
,
, ... This small code can build an html web view... My new vfp navigator
This is my featured navigator for year 2017.I share it with all A container gathers many button firing some applications mainly in vfp IE browser.there is someones as UI app fired as standalone apps... 0.home show an animated web gif (stars night) 1.snippingTool...
A pdf Reader with horizontal scroll page by page
[Post 275] In previous post i presented a PDF reader but as native vertical scrolling position. Modern apps make readers page by page as slideshow (the pdf reader on win 8.1 have this improvment but it erased by microsoft in win10).. but how to achieve...
An applications launcher
Wscript.shell is a windows com object based on scripting. Creating a WshShell object whenever wanting to run a program locally, manipulate the contents of the registry, create a shortcut, or access a system folder. The WshShell object provides the Environment...
Using Floodfill API (with gdiplusX and native drawings)
This code uses the floodfill api to fill shapes instantaneously with a specified color in gdiplusX (or even the native vfp drawing). it was already used with windows mspaint.exe. I use a top level form surface to draw on a specified hdc. the palette (ypalette.jpg)...
A glass form as exiting windows effect
This code build a transparent top level form (mandatory .i set opacity=210 for best contrast) and populate with some vfp controls.when releasing the form the screen becomes entirely full of black transparent and a messagebox raises to ask if you want...
Playing with Pageframes orientations
A page frame is a container object that contains pages, which can contain controls.to be visible it must added to a form. The page frame defines global characteristics of the page: size and positioning, border style, which page is active, and so on. The...
A Custom google images searcher on world wide web
In the previous post i presented a simple vfp method how to hide the google toolbar on the embeded browser on a form. This is another simple method to do this job by positionning simply the olecontrol on the form.i moved the olecontrol top to be hidden...
A demo of working with sprites
In short: Icon Sprites are a means of combining multiple images into a single image file for use for ex. on a website, to help with performance. Sprite may seem like a bit of a misnomer considering that you're create a large image as opposed to working...
build a vfp run application as windows
[Post 271] this app is generated as utility an could replace the windows run (this last is fired by winKey+R ).its movable by mousedown ,but activated near the traybar. it runs on the traybar with a simple icon to click (no contextuel menu and no class...
Subclassing the form titlebar & other stuffs
The form (with its titlebar) is made in my knowledge with APis (createwindow for ex.) and its difficult to traverse its titlebar , add controls or make changes (even with gdiplus class as shown in a solution windowsevents form sample) because there is...
Windows version bug on win8.1+win10
-function Version(nExpression):Returns information about the Visual FoxPro version you are using -function Os(nValue) :Returns the name and version number of the operating system under which Microsoft Visual FoxPro is running. see in foxhelp the more...
Working with windows messages throw a guide sample
i have a periodical wallpaper with many pictures in a folder. i use a code to set a wallpaper as bmp photo all 6 minutes. when capturing some areas on desktop i dont want to see icons,links,personal things... And i want to hide them with a big image....
A simple vfp Images slider in 8 directions.
This code produces an image slider in the 4 directions. Point to any folder of images(png,jpg,bmp,gif)+select a music (in option). This code : -select a folder+select a music (looping until the form releases) -can set titlebar form on/off and the fullscreen....
A vfp treeview with background image
Visual foxpro cannot make an image background to a treeview.this is an artifact to do that. forms are used (top level,alwaysOnTop=.t.) one embed the treeview and makes the transparency. the second embed the image.with bindevent can glue the 2 forms to...
Html5 canvas samples part 5
I continue to bring some awesome and wonderfull samples with the html5 canvas class mainly with javascript codes picked and adapted from the web, mixed with visual foxpro codes. This last is not able to traverse DOM coding to make some drawings (maybe...
Shutdown and hibernate a PC
for varying the sample i used the pwrprof.dll located in windows\system32 to make : -a simple hibernation. -a durable hibernation. the shutdown.exe is also a system file located on windows\system32.its used itself with windows to make all operations as...