Top posts
-
Working with color schemes in vfp menus
The COLOR clause The trick is to use the COLOR clause in the DEFINE PAD, DEFINE POPUP or DEFINE BAR commands. (DEFINE PAD creates the top-level menu title, DEFINE POPUP creates the menu itself, and DEFINE BAR creates an individual menu item.) According...
-
OLE DRAG & DROP in VISUAL FOXPRO
i published a post relative to oledrag & drop in visual foxpro - 6 november 2014 in this Foxite link: https://www.foxite.com/archives/drag-images-from-explorer-firefox-0000414145.htm infortunatly this was worked on windows8.1 if i remember.When upgraded...
-
Put any application on systray knowing its HWND
this code can make vfp reside on the systray (traybar) and used to hide/show vfp application. it uses ShowWindow API exclusively and systray class(to avoid some errors,this last must copied in source folder(vcx+vct)-the code does that). it works with...
-
FREE HAND DRAWING WITH VISUAL FOXPRO
I present here two methods for free hand drawing in visual foxpro. -the first is with native vfp (first 3prg's below) -the second is with gdiplusX (4th prg) gdiplusX proj download at codeplex : http://vfpx.codeplex.com/wikipage?title=gdiplusx&referringtitle=home *(1)...
-
Build your chm help with vfp & HTML worshop
Microsoft Compiled HTML Help is a Microsoft proprietary online help format, consisting of a collection of HTML pages, an index and other navigation tools. The files are compressed and deployed in a binary format with the extension .CHM, for Compiled HTML....
-
The DrawText API by a real example
The drawText APi have some explanations in this MSDN link https://msdn.microsoft.com/en-us/library/windows/desktop/dd162498%28v=vs.85%29.aspx its very usefull when you want to format a text (ANSI orR Unicode) in a given area. The DrawText function draws...
-
A sidebar accordion web menu with a desktop vfp application
this code builds a main form as desktop application stylised with web ingredients. it uses transparency for creating a main text and a big changeable image as background.web can use the usefull rgba(red,gree,blue,opacity(0-1)) to set any color with transparency...
-
A vfp pageframe on a form as main menu
Pageframe vfp control is used here to build a menu with modern png icons.it is embed on a top level form with property alwaysOntop=.t. i made some transparency with the APÏ setLayeredWindow. it can encapsule too vfp standard controls as images,commandbuttons,grids,combo....in...
-
Disabling events by masking with a vfp form
In computing, a web widget is a software widget for the web. It's a small application with limited functionality that can be installed and executed within a web page by an end user. A widget has the role of a transient or auxiliary application, meaning...
-
GdiplusX blurs & halos on images and texts
I re publish this old post i put in Foxite for the gdiplusX lovers. This post contains 3 codes: 1-Apply different blurs on an image and simulate effect 2-Apply shadows,halos on an image and workshop for all adjustings. 3-Apply shadows,halos,fonts,adjustings...
-
Testing VFP scrollbar container classes .
the vfpscrollbar class is from SPS site(Graig Boyd): *download the vfpscrollbar.zip and keep only the vfpscrollbar.vcx(+vct) *from http://www.sweetpotatosoftware.com/spsblog/2005/08/27/VisualFoxProScrollbarClasses.aspx it can embed a great quantity of...
-
2 html5 videoplayers as exe
2 methods to work with the html5 video player as executable file. can see also the method to build programmatly a proj and compile an exe . NB: video played must be mandatory in html5 videos supported formats. *tested on visual foxpro 9 sp2-windows 8.1...
-
A custom vfp Ansi and Unicode tooltip
The drawText APi studied in previous post can draw a formatted text on any window surface. It can be ANSI (drawtext or DrawtextA) or Unicode(DrawTextW). A top level form is used here as tooltip fired on mouseEnter event on a control and destoyed on MouseLeave...
-
An autosize VFP editbox
this code builds an autosize editbox embed in a container class. it calculates the number of lines of the editbox for any given width and then it sets the real height with a fontname,fontsize and a fontstyle as parameters. the height of an editbox line...
-
Beziers curves drawing with gdiplusX and native vfp functions
*1* *!*--Subject :Drawing random Beziers curves with gdiplusX with alpha channel transparency.*!*--ESC to stop and browsing capture button(capture canvas contents and paste to mspaint)*!*the code ask to pint to gdiplusX class and system.app for mandatory...
-
Windows keyboard on screen -OSK.exe-
Updated on jeudi 5 mars 2015; 11:03:27 The osk.exe is a windows visual application of keyboard. On-Screen Keyboard Portable makes it easy to access Windows' built-in On-Screen Keyboard on any system you come across. (and any language set on system). Give...
-
A multiselect Grid
this code builds a grid with multiSelect Functionalities as windows explorer does(click to select an object and reclick maintaining shift key to make a selection). to achieve this goal we need to a logic field (added automatically to the recordSource...
-
A VFP multi Tabs browser
This Is a basic multiTab IE BrowseR On a Visual FoxPro top level Form. it have the capabilities as follow: -create dynamically a new tab providing url navigation -removing any tab -type any url in the textbox (its autocomplete one sorted history alphabetically:...
-
Drawing graphs on the fly with gdiplusX
The 3 codes below draw graphs as histogram on the fly with data gathered on a simple vfp cursor. this use gdiplusX library.the code asks to point mandatory to system.app to make the app working. can modify colors,title,values,... in code as your custom...
-
Clipping polygons paths in html5 canvas
*1* This application uses the canvas context clip() function to build a workshop for any polygon. I used to make first an inside html buttons on the page.There is some security restrictions for working from outside the page (vfp),for ex cannot open a...
-
Build any systray application with APIs.
In my previous post http://yousfi.over-blog.com/2018/03/put-any-application-on-systray-knwing-its-hwnd.html the code *3* built an icon on systray to hide/show any window given by its handle (as _vfp.hwnd).there was no contextuel menu attached to this...
-
Resize containers or forms with gripper class
This code is available for any container on a form containing editbox,image or any vfp controls. i dont find Marlett font on my win10 pro. can download it at http://www.fontpalace.com/font-download/Marlett/ with explorer go to c:\windows\fonts and paste...
-
Treeview MSComctlLib.TreeCtrl.2 used as explorer interface
[Post 273] this code builds a treeview interface with populated imagelist and with any directory of disc. the treeview and imagelist activeX are shipped with vfp and used communly. in treeview can: -show/hide checkBoxes - expand-collapse nodes -go top-gobottom...
-
VFP Form statusbar and progressbars
VFP have not a form statusbar.the only one is on vfp ide (under command widow). the code works around an old class of Weswind "Creating a Statusbar control with VFP 8" can be found in https://www.west-wind.com/presentations/wwstatusbar/wwstatusbar.asp...
-
A basic vfp richtextbox implementation
this code implements a basic richtextbox as a pure vfp solution. All the main idea consists in making each word of a text in a label control and then use the label properties to beautify the text. It's very fast contrary to what one may think. I used...