simulate read of a get

simulate read of a get

Postby Silvio.Falconi » Tue May 14, 2024 7: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 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
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: simulate read of a get

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: simulate read of a get

Postby Silvio.Falconi » Wed May 15, 2024 7: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 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
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 34 guests