Top posts
-
VFP and Internet explorer eventHandler
Subject: how to trap windows internet explorer browser events from the parent vfp form. This code is a browser internet explorer activeX on a vfp form. When any activeX is placed on a form it receive the focus and make the intercepting keys (form.keypreview=.t.)...
-
Using a vfp window as files viewer
The vfp window opened with "modify command" can be used as viewer on a form for some based prg files as: -prg -mpr -txt -mpr -h -htm -html -xml -....can add others txt based extensions. it can be manipulated as object and then can use some properties...
-
Playing with splitters
The splitter is a control (here a shape) can divide a screen or form or container into two or many (more splitters) resizable parts. it can be horizontal or vertical. i used the sps splitter class (with light modifications) to make it in use with this...
-
Building a vfp viewer similar to news app
Before begin choose an images folder yrep (can be more 100 photos JPG) in code. this is a news app simulation.its a photo viewer with some description as news app shows.Its a desktop application. what's new is the enabling the links in an editbox and...
-
VFP window dont draggable when maximized !
Actually can drag a window with the mouse pointer to the edges of the screen to snap it or maximize it. Inverse to this feature :the maximized windows can also be dragged down from the title bar to restore them to their original size. This new behavior...
-
A form picture tiled with resizing
The Native Form background Image Is Not tiled And If its dimension are small its reproduced As duplication (cloned) on the form area.(See the first image attached below).this produces a bad view. This Code makes this Image bakground tiled When resizing...
-
Aero glass effect
This code creates a custom simulation of the known windows aero glass effect. 2 top level forms are used to get this effect.One is always onBottom=.t. and have variable transparency (80-255).The backcolor of this form.can be set also interactively on...
-
A Youtube video searcher & viewer
.This form uses Google APIs to search any video (restricted here to Youtube+Google.com) in any subject ( the videos found are listed on the left browser). .the method i used is to intercept the link url in beforenavigate browser method and modify it and...
-
Extract icons from exe,dll and draw directly on vfp form
this code use APIs to extract icons handles (hIcon) from any exe or dll file. then can draw directtly the graphic representation of each icon on the form surface without saving to ico or images. in principe the drawing is not persistent but if calling...
-
Html5 Canvas samples Part3
This is a second part of drawing and animating objects on html5 canvas class.It have the same recommandations that the part1 in previous post mainly: Must have browser emulation mandatory (otherwise you see only errors for running the codes) Il desserves...
-
A VFP Html Richtext editor
This is a Wysiwyg html editor drived by automation from visual foxpro. (what you see is what you get). It uses the vfp browser (Internet Explorer).(remember to Apply IE11 emulation for another and better uses). it encapsulates all rich text modalities...
-
Unicode text embed in a vfp grid
Click on code to select [then copy] -click outside to deselect *its known that vfp is not support unicode languages. *This code permit to embed unicode text (here Arabic) on editbox in vfp grid. *each editbox retrieve the unicode text in separate utf8...
-
MSPAINT on a top level form
This code use Mspaint as child window of a top level form. i cut the titlebar and position the window on the form with setWindowPos API. The MSPAint menu and toolbars are all enabled and work.The only one problem was the QUIT command in mspaint who closes...
-
A VFP builder for an HTA window
As pointed in previous posts an hta window is an internet explorer window without all security baggages.it can be a rich window embedding texts,images,animations,videos,audio,... even styled with CSS and with all web features. can configure all its parameters...
-
A notepad viewer embed on vfp form
yNotepad_Viewer This is a lister and editor of any kind of txt file (htm,html,prg,mpr,log,h,....) Its based essentially on the windows notepad.exe who is an awesome tool for texts ANSI, UNICODE and UTF8 encodings. Notepad supports all languages implemented...
-
Wallpapers slideshow with visual foxpro
The wallpaper is a screen backgroung image set by the system with the API SystemParametersInfo Its becomes a system image (a num is affected to it by the system). This code set a folder of images and play them with a timer as a wallpaper sequentially...
-
Learning Javascript easily
JavaScript is a high-level, dynamic, untyped, and interpreted programming language.It has been standardized in the ECMAScript language specification.Alongside HTML and CSS, it is one of the three essential technologies of World Wide Web content production;...
-
Glass images effect with gdiplusX
*this code make some glass effect on form filled with image *can point to any folder images and click to preview each one *can capture as PNG any wanted image( as datetime serial image). *can explore images. *point to gdiplusX class and latest stable...
-
Advanced gdiplusX drawings : polygons
*this code draws polygons with gdiplusX and fill them *all gdiplusX technics are used to do that goal. *make sure you have the gdiplusX class and latest stable system.app *the code asks you to point to gdiplusX class and system.app *Begin code publi m.yrep...
-
My win32 API Viewer
this code builds an api and constants viewer (for 32 bits only). the only one free source i used for this work is : *API32.TXT -- Win32 API Type Declarations for Visual Basic *Copyright (C) 1996 Desaware a win32.txt file free downloaded from the web.it...
-
A flash image rotator as standalone slideshow app
this project shows how to build an standalone executable application as slideshow with -flash component as swf -javascript libraries as js files. i already pointed this method in previous post. the exe produced can play anywhere on system (with vfp environment).it...
-
Images viewer with the IE vfp browser
This code uses the vfp olecontrol browser to gather all images in any folder on disc with format (jpg,png,bmp,gif) and display them as an horizontal clickable pellicule. click on any vignette to see it on view.If tooltip is checked can see all informations...
-
Drawing directly on the desktop with gdiplusX
*GdiplusX can draw directly on the desktop.This last was limited to form.showWindow=0 or 1. *All is in the HWND value to choice. *this code was presented in Foxite Forum 18/02/2013 and its presented as it. *Make a proj , add this as main.prg , add a config.fpw...
-
A simple search web tool
*Serching in web is very important but some time waste too time.*This is an utility tool to search in some specfic sites for a string*Its a top level form with an autocomp textbox, a list of prefered sites (vfp) and a navigation *button.*The defaut navigator...
-
Producing linear gradients images
*this code produce linear gradients images as png,jpg,gif or png *system.app and gdiplusX class must be reached from code to making it working (point to them if necessary) *the code use the 4 color parameters opacity and RGB value. *Begin code Publi yform...