Hi Przemek,

But we can also intorduce yet another solution. F.e. I plan
to add support for overloading alias operator, f.e. for:
    oVal->([some code])
if oVal overloads alias then oVal specific method will be
executed to set and restore workarea. But what will be done
inside will only depend on user code. This code may change
current workarea but also current window so it will be possible
to make:
    oWin->( setMode( nRows, nCols ), devOut("Hello !!!") )
and of course we can also define TWINDOW class which will have
all necessary methods like SETMODE(), DEVOUT(), SETPOS(),
SETCOLOR(), SETCURSOR(), MAXCOL(), MAXROW(), COL(), ROW(), ...
which will switch to valid window before calling corresponding
functions and use this class in RTL code for screen output.

Wow ! This is a "neat" concept ! Simple and clean.
I like it very much :).

--

Marek


----------------------------------------------------------------------
A co by bylo, gdybys to TY rzadzil?
Kliknij >>> http://link.interia.pl/f1c91

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to