When I want to display a database field as text (not an entry field) I've been creating a static control and then to setting the value in the code by doing something similar to: STC_Field = MyTableField Then I remembered "If it seems hard, you are probably doing it wrong!" and decided that style system … Continue reading Database Field as Text
Author: Pete Halsted
TableSelectPlus
It easy to select a specific row of a table control with TableSelectPlus, but any code in the "Row Selection" process will not be executed. Read on to see how to make your code fire.
NumToString
Since WX treats screen controls as strings (including columns of a table) Trace(NumToString(COL_HstInvHdrSysId,"012d")) does not work. You don't get an error, it just doesn't do anything because it's not a number. So if COL_HstInvHdrSysId contains 123456 the result will be 123456. instead you have to do: nHstInvHdrSysId is int = COL_HstInvHdrSysId Trace(NumToString(nHstInvHdrSysId,"012d")) Now you will … Continue reading NumToString
Spending a Day with Windows 8 and Visual Studio 11 Betas
Photo by simply.jessi I spent yesterday at .Net developers conference (or behind the walls of the evil empire). The workshop I attended was an introduction to developing business applications for Windows 8 Metro using Visual Studio 11. Read on for my take away from the workshop Let me start by saying I am a 4/5 GL developer and … Continue reading Spending a Day with Windows 8 and Visual Studio 11 Betas
Issues with Storing Window Position With Multiple Monitors
Photo by SOYBEANTOWN While working on the Document Viewer Component I ran into a few issues with the standard WinDev window position restore logic with dual monitors, so I created a couple global procedure to work around the issues. WinDev will save the size and position of each window in your application. This allows end users … Continue reading Issues with Storing Window Position With Multiple Monitors
Improving SEO with Dynamic Content Using Server Side Includes and PHP
In case you have been living under a rock, SEO (Search Engine Optimization) is a very important topic for any website. Having fresh content is a powerful method of improving SEO, such as adding a list of the most recent 5 blob post to your home page. With a few simple changes to your Apache Config files, you can uses Server Side Includes to run PHP code snippets inside your standard HTML files. Why would I want to do that? My main website (http://www.thenextage.com) is a simple HTML website that I maintain with Dreamweaver. Instead of converting the site to PHP or WebDev, I wanted to keep the site simple and easy to maintain. This article will explain how I am mixing PHP code into standard HTML files
A Document Viewer Component using Native WinDev Functions
Early in my career I created a custom document storage solution as part of several of my applications. This led to the Clarion Imaging Templates and later the Imageman Templates, both using third party OCX's. Recently one of those customers wanted some enhancements to their application, and I decided I would rather spend a couple of days converting the application into WinDev, than adding features in C6 that are built into WinDev. My first step was to explore the possibilities of using WinDev native functions to create a document viewer instead of using a third party library. I was pleasantly surprised at how easy it was and how much functionality was supported directly by WinDev. The resulting Document Viewer is very light weight and handles most of the normal requirements, its not as powerful as I would like, put it will do for this project until I create a Document Viewer using a third party .net library at some point in the future. At the end of the article you will find a download link for the Component and the source code.
Enhancements to a Clarion Application when converting to WinDev
Many of my clients are asking for updated applications and modern features, that they have seen in some of my latest WinDev Applications. As I began making proposals for several of these conversion projects, I realized that I need a standard general comparison of some of the look and feel, and features that would be include in any application that I convert from Clarion to WinDev. The article that follows is the basis of that comparison.
SQL 101: Inline Views
SQL is a deceptively simple language, there are very few keywords and it doesn't take long to be proficient at simple select, update and delete statements. However SQL is a very powerful language that can be built upon for ever more increasingly complex calculations. This is the first in a planned series of articles on SQL, to assist others in understanding the basic building blocks and recombining them to achieve new heights with SQL. This article will be a quick primer into inline views. Inline views are a concept that is very important to understand as many of your more complex queries can be accomplished with the use of inline views.
A WinDev Approach to Clarion Queues
In Clarion, I use queues quite a bit as a great way to deal with multiple instances of structured data in memory instead of storing in a table or file. WinDev has several advanced data types that can be used, but none of them are the exact same as a Clarion Queue. This includes: Simple Arrays, Associative Arrays, Dynamic Arrays, Fixed Arrays, Composite Variables, Structures, Dynamic Structures, Queue, List, Stack, and then there are memory tables which are not technically a variable type.


You must be logged in to post a comment.