Top posts
-
Yet Another VFP themed calendar
this is another simple vfp calendar built with another method. ycal class is composed of 2 containers and contains hear(yday label),days of months(max=37 to receive all days of any month) 2 spinners (month,year) and the day date. teh calendar is draggable...
-
Internet Explorer used as rich editor
this code uses the internet explorer browser (can also use application) as a richtext application. the important point is that IE whose is the top of rich objects browser , can be editable. it have two modes for document object. -designMode="on" IE editable:can...
-
CSS3 menus working from vfp
CSS3 can build cool modern menu easily with a minimal css code.To work it uses manadatory a navigator and the IE browser activex embed on form can do the job. IE must be of course emulated to work as modern browser:IE11 or edge . this is a pack of 4 css3...
-
Build your custom canvas clock
this is clock i have already pointed in html5 canvas examples. the canvas is a surface drawing as gdiplus or gdiplusX provide, but its available on a web navigator.all librairies are built in navigator. Of course canvas is the speciality of javascript...
-
Advanced richtext editor : TinyMce
this is a demo of awesome richtext editor i pointed in previous posts(cool web app-see the link below). TinyMCE is a platform independent web-based JavaScript WYSIWYG HTML editor control released as open source under LGPL.TinyMCE enables to convert HTML...
-
Drawing texts with gdiplusX
Attached 3 codes for drawing texts with gdiplusX adding many effects applyed. 1)This code makes some text drawings on imgcanvas gdiplusX control on forms. Drawing texts with effects: -Embossed -Engraved -Bordered -Reflected -Shared -Halo chose the fontname,fontsize...
-
A custom messagebox with drawtext API
this code uses the drawText API to make a modal form as a windows custom messagebox. the transparency (0-255) can be applied for 2 kinds of forms -a top level form - any form with showWindow=0,1 but mandatory with the poperty form.desktop=.t. i used this...
-
Extending vfp command TEXT/ENDTEXT to big strings
[Post 270] the web uses actually very big string to represent for ex a big picture,as 64 encoded string .... vfp has natively limited the litteral string to 255 chars. in text/endtext this string was limited to 8192 octets. if you put in code between...
-
Simulating a metro menu as win8.1 & win10
This code simulates a metro menu as win8.1 or win10.It creates a single class used for all the animated controls and linking to do some vfp actions. the class uses images located in some pointed folder and animates them in 4 directions by a timer with...
-
working with spectrum colors (native vfp & gdiplusX)
System.app must be preferably in source folder.the code asks to point to gdipludX class also (for imgcanvas control). In previous posts relative to color pickers i always used a pre drawn image to materialize the spectrum colors.its a fast method to work...
-
Drawing on top level form with gdiplusX and native vfp
*this code show how to draw on top level form surface with the form hwnd. *the drawing can be made with the form hwnd as follow: with thisform If .ShowWindow= 2 .yhwnd = GetWindow(.HWnd, GW_CHILD) Else .yhwnd= Thisform.HWnd &&_vfp.hwnd Endif endwith *these...
-
All windows control panel applets
this code lauches one of 18 windows control panel applets in my computer.each cpl is specified by its standard name. can use two methods (shellexecute API with param or wscript object)-in principe all whose run with wscript.shell can also run with shellexecute...
-
Working with IE11 fullscreen apps from vfp
[Post 279] Youtube for TV is available on PC nowadays.i find it wonderfull (no adds,configurable,..and provided with a simple url) in previous code i have designed internetexplorer.application to embed the youtube but no fullscreen because its not easy...
-
The vfpscrollbar containers classes as prg code
The container vfpscrollbar class is a scrollable container and usefull to embed any kind of vfp controls.it can embed a great quantity of controls as shown in my preview post. http://yousfi.over-blog.com/2015/12/testing-a-vfp-scrollbar-container-class-application.html...
-
Rotate images with vfp9 gdiplus and gdiplusX classes
Native gdiplus.vcx shipped with vfp9 is few used by vfp developpers .its a minimalistic class and its not very documented and miss decorated by examples.I dont see VFP developments on the wordl wide web with this class ! gdiplusX translated from .net...
-
GdiplusX system.drawing APIs
this code extracts all APIs gdiplusX system.drawing complet declarations. its consists on 401 functions very usefull when working in imaging environment. Apis come principally from gdi32.dll,gdiplus.dll.. the result is shown as txt file (reduced) and...
-
Html5 canvas on HTA support.
The hta encapsules PEM of internet explorer but without security barriers. Hta is a normal window and looks like vfp one.Its usefull to run internet explorer in local. Normally the old HTA cannot support the html5 canvas (as vfp) . Use the following value...
-
A vfp grid filer with files icons attached as ListView
In the previous post i attached to the grid the icons of the associated application only.these groups many icons for all kind of controls/windows. In this post each file have its proper icon (for ex scx,prg, app,frx,h,vcx, ....and so). this is not ever...
-
A soundplayer and radio player with a basic WMP
This post follows the previous one and speaks of radio streamer and soundplayer (two in one) but with windows mediaplayer. Before begin download the skin WMP image in the next section as it and rename it to ywmp1.png (put it in the source folder of the...
-
working with open source xPDF library
Googling, i discover this day a usefull tool named xPDF. Xpdf is the original open source PDF viewer, first released in 1995. The Xpdf software and documentation are copyright 1996-2014 Glyph & Cog, LLC. Xpdf is an open source viewer for Portable Document...
-
Modal dialog box (html and classic).
this shows a modal dialog box for an occidental or unicode (here arabic) text typed on a vfp editbox or saved in UTF-8 text file. the dialog box is styled with css in code.can add more CSS styles to beautify more the dialog box. A modal dialog box can...
-
WIN32API and custom APIViewer.
[Post 269] -APIs functions,examples and constants Provide documentation for calling hundreds of Win32API functions from VFP. *1306 APIs functions *51 libraries *603 examples *48765 constants The original project was generously donated to VFPX by Anatoliy...
-
Graphs on visual foxpro grid
*These codes begin with a great idea of Cetin Bazoz (Turkia) to make basic graph on native grid. *this code draw graph from grid data field with gradients and gdiplusX * you must point to system.app and gdiplusX.vcx in dialog boxes to make the code working...
-
Images glass effect viewer ,wallpaper,pellicule bitmaps
This page presents 3 codes 1.Images glass effect viewer 2.build a pellicule from an images folder 3.build a bmp as wallpaper *this code produces a black glass semi tranparent screen as windows effect(run as administrator for ex.) *its the main prg who...
-
Convert image format and size with gdiplusX & APIs
I remarked i dont gave a gdiplusX code to convert any picture from one format to another explicitly in my previous codes. this one converts any image to PNG,JPG,BMP ,GIF,ICO (can add other supported gdiplusX format-see below-). the image converted can...