Top posts
-
Modal dialog box with web styles
Dialog boxes can be implemented as html/javascript codes.Of course the language javascript is the main/unique language working on web domain. these codes are a mix from vfp (as overlapper) and javascript (as script code in web page). in vfp a form can...
-
A new colorPicker (web and vfp solution)
This is a new colorPicker with 2 implementations -web solution ( Adapted from http://www.script-tutorials.com/demos/315/index3.html ) this uses CSS JS,HTML as web application.I used an internet explorer application to make it working from VFP.I linked...
-
Awesome html5 canvas animations-part1
*1*-This first animation consists in some fishes navigating randomly each one on a path. They have a life timing and the code re generates another fishes.The fishes are drawn with javascript code.It uses the free CAAT library (pointed on the 2 web links...
-
New Capture and save form surface or desktop with APIs
ALT PrintScreen key or PrintScreen key can capture a focused window or entier screen in clipboard. must open MSpaint for ex. and paste the clipboard captured and saveAs(png,jpg,bmp,gif...) all these manually operations are automated in the codes below...
-
A new method to build rich VFP reports from HTML
Assume having a cursor or table contains a memo field fill with html tags (html code). How to render a report with these html tags? this consists using the really rendered html (as web does) and capture the page as image with the free utility IECAPT.exe...
-
Draw equations graphs on your form and others
1.Draw graph equations on vfp form *adapted from home(1)+"samples\solution\forms\graphics formset sample. *Normal Graphs or polar graphs can be drawn easily from native visual foxpro. *The usefull native method form.PSET can plot a pixel point with a...
-
The gdiplusX known colors translator
The visual foxpro gdiplusX library can be downloaded at the vfpx codeplex (throw vfp users efforts) https://vfpx.codeplex.com/releases/view/15083 there is a complet proj you can recompile to system.app used in this code.The stable version is: GDIPlusX_Source_v1.20 *begin...
-
Capture screen , windows or zones by APIS or gdiplusX
* below 7 codes relative to the subject *1)* This captures the entier screen or any active visible window by the API keybd_event. * can simulate the keys Printscreen or alt+Printscreen with the API Keybd_event. * can also , in a form put a timer , and...
-
My new vfp navigation bar
the code below builds a vfp navigation bar with accordion principe. a main container covers some item containers (can embed any control). each item container is collapsed as a commandutton area.its clickable to re arrange all main container items. the...
-
Windows Mediaplayer attributes, info & metadata
Windows mediaplayer (mine is wmp12 version 12.0.10011.16397 shipped with windows10) embeds a lot of informations as media attributes , or metadata. the wmp is also shipped as activeX Object : oleclass="WMPlayer.OCX.7" usable in vfp. This article tells...
-
Unicode texts and vfp -continuation-
To store data blocks of any kind, such as null values, assembler code, printer drivers, and alphanumeric text of indeterminate length, or a reference to a data block in a field, use the Memo field type. To prevent data in Memo fields from being translated...
-
Working with common dialogs Part1
the getfile() function displays the Open dialog box. it returns the name of the file chosen in the Open dialog box or the empty string if the user closes the Open dialog box by pressing ESC, clicking Cancel or the Close button on the Open dialog box....
-
Using Unicode text with native vfp9 and native gdiplus class
*Before begining, this is the unicode text used, copy and paste into Notepad and save as *myUnicode.txt mandatory unicode format (notepad menu file + save as...in dialog box) As you see its a long text. استغل قائد المنتخب الوطني، مجيد بوڤرة، مرة أخرى...
-
Blurring & shadowing images with gdiplusX
The codes below can make blurring effect and shadowings effect. must point to system.app of gdiplusX to make the codes working. gdiplusX proj download at codeplex : http://vfpx.codeplex.com/wikipage?title=gdiplusx&referringtitle=home *this code blur and...
-
Google searchers with a simple and long life way
Goople made many tools for searching on a specific domain known as google APIs.I used that before very well but they are deprecated and any programming on these tools now, dont works any longer. That is a very anoying problem for developpers using these...
-
VFP collapsible and accordion menus demos.
In previous posts i presented many vfp accordions built with pure container classes (look at links bottom page). i designed here a vfp container as yitem class containing many ycnt container class representings items (with a label and icon). this class...
-
Working with WMI (windows manager instrumentation)
this firts code lists all Shortcuts existing on the Computer using Win32_ShortcutFile class from : https://msdn.microsoft.com/en-us/library/aa394438%28v=vs.85%29.aspx its a school prototype example showing how to use WMI to gather on a cursor all the...
-
Around syntax Highlighting in visual foxpro
*This is some ideas to build a vfp syntax highlighter. *the ide vfp editor uses already a customizable syntax highlighter (tools/options). *the vfp can also make line numeric index in each code line(see tools/options) but not beautiful. *i present first...
-
A custom taskBar scanning all desktop windows
this code builds a similar tool as windows taskbar and with a to level form to be located on desktop. it gathers all visible windows in a cursor rowsource of a comboBox. a timer refreshes the cursor with interval=5 seconds (note there is some flickers...
-
Driving the PC master sound volume
this code makes some works around the system master sound volume.it runs on the systray (traybar). its known that the old XP winAPI waveOutGetVolume and WaveOutSetVolume to get/set the master audio volume dont work for OS vista and above. Actually ,each...
-
A gdiplusX animated sample with many objects - drawStringW
this code asks to point to gdiplusX class (for use of imgcanvas class) to make it working. it draws curves as sinusoides(sin & cos) it retrieves online the values drawn. it draws a clock. the drawing is not fast because vfp have to administrate many events...
-
Using "Awesome" web font for icons in VFP
This code draws 694 awesome png icons on the top level form. Awesome font is a modern font designed for web applications (bootstrap) and use html tag,css ..to work on a web page of modern navigators. Infortunatly vfp annot accept it because it is built...
-
Libharu HPDF library - Export to PDFs
Click on code to select [then copy] -click outside to deselect Haru is a free, cross platform, open-sourced software library for generating PDF (originally written in C language). It supports the following features. 1. Generating PDF files with lines,...
-
Stylised top level form
I made this demo form is to learn how can make old vfp design to modern one. form is a top level one (showWindow=2) to make it as a desktop application. it can embed vfp controls and some known activex. the commandGroup control can be skinned to modern...
-
A VFP9 gdiplusX gauge prototype
the previous code was javascript overlapped with vfp. This code draws a pure vfp9 radial gauge with the gdiplusX library. it uses the imgcanvas of gdiplsuX class and system.app. gdiplusX stable version is the version 20 can be downloaded at vfp codeplex...