
on field I set
{ "DimX" ,"N", 9,1 } ,;
Please see this small test
#include 'fivewin.ch'
function Main()
local oDlg, oGet, oBtn
local lTest := .t.
local cPicture := "@E #######.#"
local nDimx:= 0, nDimy:= 0, nDimz:= 0
SET _3DLOOK ON
DEFINE DIALOG oDlg TITLE "A simple GET" ;
FROM 2, 2 TO 11, 40
@ 1.5, 2 GET oGet VAR nDimX SIZE 120, 13 OF oDlg RIGHT PICTURE cPicture
@ 2.5, 4 BUTTON oBtn PROMPT "&Ok" SIZE 45, 12 OF oDlg ;
ACTION ( oDlg:End(), MsgInfo( nDimX ) ) DEFAULT
@ 2.5, 15 BUTTON "&Cancel" SIZE 45, 12 OF oDlg ;
ACTION ( oDlg:End(), MsgInfo( nDimx ) )
ACTIVATE DIALOG oDlg CENTERED
return nilthe test run ok and It is the picture I wish
only at init I with the get ( empty) must be 0 instead of 0.0
I tried also with FWNumFormat( "E", .t. )
How I can resolve ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com