Difference between revisions of "Game Polyline. Release 11 ObjectConsole"

From wiki.visual-prolog.com

m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
The programs listed below are part of the [[PolyLine Evolutions]] article.
{| cellspacing="10" border="0"
|-
|[[Image:ObjectConsole.jpg]]
|
*Switching between controls may be done using Tab. Control becomes active, when the cursor is blinking on it. Mouse clicking also makes the control active.
*[Button] - action is invoked by using "Enter" of "Space". Mouse clicking may be used also.
*'EditControl' - operations available: ->,<-, del, home, end, char insertion.
*|_|, |x| - checkbox changes it's status when "Enter" of "Space" pressed. Mouse clicking may be used also.
*Listbox - items activated when up and down arrows used or mouse clicking.
* The rest by the intuition


{{PolyLine Game Rules}}
=Views=
[[Image:ObjectConsole.jpg]]
=Release 11 ObjectConsole (Project PolyLine11)=
'''Differences''' (relative to release 10):
:Code reorganized. Each class now placed in the separate package


The Polyline11 Project uses the NotificationAgency Package, which is a part of  the PdcSpb SDK.
|}
To build the Polyline10 project you must define the IDE valriable SpbSolutions as the path to the SpbSolutions directory.


'''To study and run''' the program please make the steps as follows:
*Download the [http://discuss.visual-prolog.com/viewtopic.php?p=30144#30144 PdcSpb SDK Examples Polyline 7-10]]
*Install the examples according to the  ReadmeEn.html file
*Open the interested project (Polyline8...Polyline10)
*Build and Run the project


The language of the application may be defined in the command line by the language identifier:
==Motivation==
*en - English
There was no special goal to create the set of classes, supporting the creation of the text style console-based applicaions, except the demonstration of the Visual Prolog 7.x features.
*ru - Russian
When running the program from the IDE, the parameter of the language must be placed to the field '''"Project Settings"\Run Options\Run Arguments''', available from menu '''Project\Settings...'''


[[ru:Игра "Ползунок" семейство проектов 11]]
First it was just the intention to show how the Visual Prolog 7.x object system works with no Windows UI influence.
 
Second, we show here that the event-based applications may be created on the basis of the simple UI-platform like Console.
 
Many student appologize, that controls and events are the only Windows feature. Good teachers may explain how to program in Visual Prolog with no knowing the Windows concept.
 
==Possible problems==
We do not garantee the comptele perfect functionality, because of the Object Console is the only demonstration of the Visual Prolog 7.x features.
 
We also had no goal to make the full set of UI elements.
 
 
[[ru:Игра "Ползунок" вариант 11. ObjectConsole]]
[[Category:PolyLine Evolutions]]
[[Category:PolyLine Evolutions]]

Latest revision as of 21:35, 11 December 2008

ObjectConsole.jpg
  • Switching between controls may be done using Tab. Control becomes active, when the cursor is blinking on it. Mouse clicking also makes the control active.
  • [Button] - action is invoked by using "Enter" of "Space". Mouse clicking may be used also.
  • 'EditControl' - operations available: ->,<-, del, home, end, char insertion.
  • |_|, |x| - checkbox changes it's status when "Enter" of "Space" pressed. Mouse clicking may be used also.
  • Listbox - items activated when up and down arrows used or mouse clicking.
  • The rest by the intuition



Motivation

There was no special goal to create the set of classes, supporting the creation of the text style console-based applicaions, except the demonstration of the Visual Prolog 7.x features.

First it was just the intention to show how the Visual Prolog 7.x object system works with no Windows UI influence.

Second, we show here that the event-based applications may be created on the basis of the simple UI-platform like Console.

Many student appologize, that controls and events are the only Windows feature. Good teachers may explain how to program in Visual Prolog with no knowing the Windows concept.

Possible problems

We do not garantee the comptele perfect functionality, because of the Object Console is the only demonstration of the Visual Prolog 7.x features.

We also had no goal to make the full set of UI elements.