Hi,
Creating a numeric GET control via the syntax TGet():New().
In it I need to specify a block of code :bUp and :bDown. How to do it ?
#include "FiveWin.ch"
function Main()
local oDlg,oGet
local nVal := 0
DEFINE DIALOG oDlg TITLE "Test"
oGet := TGet():New( 1, 1, {|| nVal}, oDlg, 40, 12, "999", ,;
, , , , , ,;
, ,, ,,,;
, ,, ,;
.f., {|| nVal++}, {|| nVal--}, 0, 20, , , ,;
, , , ,,, ;
{'..\bitmaps\minus.bmp','..\bitmaps\plus.bmp'})
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 70 guests