simulate read of a get

Post Reply
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

simulate read of a get

Post by Silvio.Falconi »

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 November 2023 - January 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
User avatar
Antonio Linares
Site Admin
Posts: 42273
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: simulate read of a get

Post by Antonio Linares »

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
User avatar
Silvio.Falconi
Posts: 7104
Joined: Thu Oct 18, 2012 7:17 pm

Re: simulate read of a get

Post by Silvio.Falconi »

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 November 2023 - January 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
Post Reply