FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour simulate read of a get
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
simulate read of a get
Posted: Tue May 14, 2024 07:34 AM

I wish simulate a read for a get

the end user must insert the data before to continue

that is, the procedure must wait for the user to enter the data before proceeding

sample

@ 1,10 get aGet[1[ VAR nVar SIZE 100,20 of oDlg

I tryed with

VALID If( nvar=0, ( MsgInfo( "cannot be zero" ), .f. ) ,)

but not run ok

on this forum not found any sample or test can help me

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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: simulate read of a get
Posted: Tue May 14, 2024 10:50 AM

There must be two controls on a dialog so the VALIDation of the GET is fired

Place a GET and a BUTTON DEFAULT

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: simulate read of a get
Posted: Wed May 15, 2024 07:35 AM
Antonio Linares wrote:There must be two controls on a dialog so the VALIDation of the GET is fired

Place a GET and a BUTTON DEFAULT
as I showed you in private, the tget is placed in the dialog where the xbrowse is and there is no button
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

Continue the discussion