Posts

Showing posts from October, 2017

I Rebuild DataGrid in 4GL 016 : Jump

Image
In the first and second nest, add previous and next page features: "<", ">", "Prev.","Next" 4GL DataGrid Screen description: ------------------------------------------------------- First Nest "Title" is Column 1 "Remark" is Column 2 First Page : Jump to the first page Last Page : Jump to the last page << : Jump to the previous paragraph >> : Jump to the next paragraph > : Next Page < : Previous Page Pages :  Selected Page is red. Unselected Page is black.  ------------------------------------------------------- Second Nest "DateTime" is Column 1 "ROCK N ROLL" is Column 2 FIRST : Jump to the first page LAST : Jump to the last page << : Jump to the previous paragraph >> : Jump to the next paragraph Next : Next Page Prev. : Previous Page Pages :  Selected Page is blue. Unselected Page is

I Rebuild DataGrid in 4GL 015 : Jump

Image
In the second nest, add the function of the paragraph to the number of pages: "<<", ">>" (black background). In this example, there are 24 items, 5 items per page, 5 pages. Every 2 pages for a paragraph. Screen description: ------------------------------------------------------- First Nest "Title" is Column 1 "Remark" is Column 2 First Page : Jump to the first page Last Page : Jump to the last page << : Jump to the previous paragraph >> : Jump to the next paragraph Pages : Selected Page is red. Unselected Page is black. ------------------------------------------------------- Second Nest "----Time" is Column 1 "ROCK N ROLL" is Column 2 FIRST : Jump to the first page LAST : Jump to the last page << (black background): Jump to the previous paragraph >> (black background): Jump to the next paragraph Pages : Selected Page is blue. Unselected Pa

About 4GL.01 : Birth

Image
Before you start, you need to know the meaning of several nouns Fourth Generation Programming Language(4GL), also known as Very High-Level Programming Language(VHLL). Domain-Specific Language(DSL) : Specific use, but it is difficult to have other uses. General-Purpose Language(GPL) : Not limited to use, Such as C, C ++, java, c # and so on.. But no one can say what programming language is 4GL. Maybe someone can say several nouns out and say: This is 4GL. It is wrong at this point. Because it must have the characteristics of GPL, which can be considered a real 4GL. So with the GPL characteristics of the 4GL is difficult. How hard it is ? If we started from Fortran in 1957, it has been 60 years old. Period after a number of high-end talent, but still fruitless. Time for a long time, it gradually thought that it was fantasy, and with the discrimination, just as 2GL against 3GL, history is repeating again. Before 4GL does not exist,and there is no entity, then we ca

I Rebuild DataGrid in 4GL 014 : Jump

Image
In the first nest, add the function of the paragraph to the number of pages: "<<", ">>"  . In this example, there are 23 items, 5 items per page, 5 pages. Every 2 pages for a paragraph. Screen description: ------------------------------------------------------- First Nest "Title" is Column 1 "Remark" is Column 2 First Page : Jump to the first page Last Page : Jump to the last page << : Jump to the previous paragraph >> : Jump to the next paragraph Pages : Selected Page is red. Unselected Page is black. ------------------------------------------------------- Second Nest "----Time" is Column 1 "ROCK N ROLL" is Column 2 FIRST : Jump to the first page LAST : Jump to the last page Pages : Selected Page is blue. Unselected Page is black. ------------------------------------------------------- Generated Program Language : C# for Windows Form Edward 20

I Rebuild DataGrid in 4GL 013 : Jump

Image
DataGrid for 4GL with jumping As shown in the "FIRST" and "LAST" Add the first page and the last page in the nest. Click FIRST or LAST to quickly switch pages. Generated Program Language : C# for Windows Form Edward 2017-10-12

Triangle Star Pattern

Image
Move to :  http://gp4gl.byethost7.com/Triangle_Star_Pattern.html "Triangle Star Pattern" often appears in the programming language practice. General-Purpose 3GL must be able to do it. Such as C, C++, Java, C #... Then the General-Purpose 4GL must be able to do so. If this programming language really has a General-Purpose attribute, it must also be able to execute and display its results. Triangle Star Pattern(C#) Edward 2016-09-27

I Rebuild DataGrid in 4GL 012 : Jump

Image
DataGrid for 4GL with jumping As shown in the "Last Page" and "First Page". The first page and the last page are often used functions, I think the advantage is fast. The user does not need a page of a page to click back, so this control must also support. Generated Program Language : C# for Windows Form Edward 2017-10-09

I Rebuild DataGrid in 4GL 011 : Sort

Image
DataGrid for 4GL with sorting This type of control usually supports multi-field and multi-nested sorting. And this control has finally come to the final stage. Each field of this control can individually specify ascending or descending conditions. And the data can be displayed correctly when switching between them. Generated Program Language : C# for Windows Form Edward 2017-10-01

I Rebuild DataGrid in 4GL 010 : Sort

Image
DataGrid for 4GL with sorting Any time you have to consider multi-nest. This is the sorting action for the second nested single field. It looks simple. Generated Program Language : C# for Windows Form Edward 2017-09-29

I Rebuild DataGrid in 4GL 009 : Sort

Image
DataGrid For 4GL with sorting Almost every DataGrid supports sorting, so the first goal is to sort by a single field. This type of Control is usually click on the field to trigger the sort action, the first click will perform the ascending action, click again to perform the descending action, and so on.. In the figure, the field "Title" is the sort target, and when you switch to the page, you can still get the sorted result Generated Program Language : C# for Windows Form Edward 2017-09-26

I Rebuild DataGrid in 4GL 008 : Paging

Image
DataGrid For 4GL with columns I have added the function to display the title of the field, as shown in Title, Remark.In the first nest, the background color is light blue, the foreground color is white. This is a bit like a DataGrid or DataTable. This feature seems to be easier to write. Generated Program Language : C# for Windows Form Edward 2017-09-13

I Rebuild DataGrid in 4GL 007 : Paging

Image
DataGrid For 4GL with Selected Page Today added the page has been selected to show the first depth of the nest within the page is blue, The second depth of the nest inside the page is red. Note: This program does not display the field name Generated Program Language : C# for Windows Form Edward 2017-09-10

I Rebuild DataGrid in 4GL 006 : Paging

Image
DataGrid For 4GL wilth nest data Today to increase the second depth of the nest of the data, with paging function, The datetime is the sub-data , Sub-data is 5 items per page, the system calculated the number of pages 2, click "1, 2" can switch sub-pages, and does not affect the display of other data. The first nesting paging function is "1, 2, 3, 4". To test the depth of the nest, click the page to switch data Generated Program Language : C# for Windows Form Edward 2017-09-03

I Rebuild DataGrid in 4GL 005 : Paging

Image
DataGrid For 4GL with pages Today to increase the instructions to read the database, each page 5 items, the system to calculate the number of pages, get 4 pages. And then one by one to show the pages. 1."頁" is "Page" means. 2.Apple, Java, Turbo C .... is the data record in the database. When you click "1 2 3 4", the page will be switched Generated Program Language : C# for Windows Form Edward 2017-08-28

I Rebuild DataGrid in 4GL 004 : Paging

Image
The first step of the implementation of the results: A button "跳頁" to indicate the switch page. Each click will show new information I think it looks really simple. Generated Program Language : C# for Windows Form  Edward 2017-08-15

I Rebuild DataGrid in 4GL 003

I decided to dismantle the DataGrid, and use a new command, called the data display control, of course, there will be sorting and paging and other functions, try to replace the DataGrid function. Although the Windows Forms DataGrid is no paging function, but in the Web Form in the DataGrid Yes, so it must be added to the function. Which is characterized by a flexible display, I think this should be a big difference between 3GL and 4GL. Edward 2017-07-16

I Rebuild DataGrid in 4GL 002

Today I broke the production of DataGrid. The main reason is lack of flexibility. Although the DataGrid is easy to use, but once it does not apply, you must remove the Control and rewrite codes. For example, colspan and rowspan support on the DataGrid is not enough. You may need to use the Table Control, and you'll need to rewrite the code. So I made a mistake, that is, thinking with 3GL Control thinking 4GL design. I have to think of a new way to replace it. Edward 2017-07-04

I Rebuild DataGrid in 4GL 001

Image
I think this is currently missing control: DataGrid Its advantage is that it can be very convenient to browse the information, but also save a lot of program instructions. Because the 4GL and 3GL characteristics are slightly different, so in the beginning must consider how to redesign the user interface. Because the time is limited, so in the early hope to achieve the basic attributes just fine. Expected interface for 4GL DataGrid Edward 2017-06-29