[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The following Clipper functions have been changed as
indicated.
MAXROW() and MAXCOL() return values which depend on the size
of the window currently selected.
Of the vast number of Clipper commands, functions and
statements, a few are not supported: FKLABEL(), FKMAX(), SET
TYPEAHEAD, KEYBOARD(), CLEAR TYPEAHEAD, SETCANCEL(),
SETBLINK(), ALTD(), NOSNOW(), SETMODE(), DISPBEGIN(),
DISPEND().
Note that it would be contrary to normal Windows rules to
allow CLEAR TYPEAHEAD (although you could implement it, if you
insist, by just emptying the event queue). NOSNOW() makes no
sense, and is not required under Windows. SETMODE() is too
limited and does not make sense, given that users should be
able to re-size a window as they see fit. The DISPBEGIN()
and DISPEND() functions are typically used to buffer screen
updates, or in conjunction with SAVESCREEN() and RESTSCREEN().
Windows does its own buffering of updates transparently to
your program; SAVESCREEN() and RESTSCREEN() are mentioned
below.
The following look rather ugly, but do work (although previous
versions of this document have said they did not): MENU TO,
SET WRAP, ACHOICE(), MEMOEDIT(), SET FUNCTION, SET KEY, SET
SCOREBOARD (which is best OFF). There are Windows-like
replacements for ACHOICE() and MEMOEDIT(), if you want to
use them (see achoice.prg and memoedit.prg).
These can be used, although you should not rely on them too
much: SETCURSOR(), SET CURSOR, MEMORY(). The undocumented
return values from MEMORY() are not guaranteed. Clip-4-Win
uses memory from Windows directly, so EMS memory is not
required or used.
RUN is not supported; use the WinExec() function instead.
Also, DBEDIT() is not supported; use TBrowse() instead.
SAVESCREEN(), RESTSCREEN(), SAVE SCREEN, RESTORE SCREEN are
not supported. Apart from the size that a window can be (over
250K is common), there are Windows functions that should be
used instead. For example, use CreateWindow() when you want
a new window.
ALERT() automatically produces a modal dialog box. You can
use an ampersand ("&") before any letter you would like to be
an accelerator key; the letter will then be underlined. By
default, the first letter of each choice is made an accelerator.
(The source is in alert.prg.)
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson