Search found 127 matches: validate

Return to advanced search

Re: Validate get

This is working for me: #include "fivewin.ch"function Main()   local cVar  := Space( 8 )   local oGet   local oDlg   DEFINE DIALOG odlg   @ 10,10 GET oGet VAR cVar PICTURE "@R ###-##-###" SIZE 50,12 PIXEL OF o...
by nageswaragunupudi
Fri May 17, 2013 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

Hi, Antonio.

FWH Ver 13.03

I found the solution this morning.

These did not work:
valid( !empty(cSS_NUM) )
valid( !empty(oSS_Num:Value()) )

This DID work:
oSS_Num:bvalid := { !empty(oSS_Num:Value()) }
by DonDrew
Fri May 17, 2013 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

Don,

What FWH version are you using ?
by Antonio Linares
Fri May 17, 2013 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

valid ( empty(cSS_Num ) )

valid ( if(empty(cSS_Num ),.F.,.T.) )

Both versions return False regardless of what may be entered by the user.
by DonDrew
Fri May 17, 2013 1:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

Hi, I do the same as Mr. Rick, with something more: The more secure method I have found to validate gets, it's when you press the "Accept" button, of the dialogue. Why?, because if you have 3 gets, for example, and the user clicks the "Accept" button ...
by FranciscoA
Thu May 16, 2013 11:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

REDEFINE GET oSS_Num VAR cSS_Num ID 2103 of oFld:aDialogs[GenFldr] ; Picture "@R ###-##-####" ; valid ( !empty(cSS_Num ) ) ; UPDATE Need to be sure that the user can't save a blank value to cSS_Num. This used to work just fine in earlier versions of my system before I upgraded FWH/Harbour...
by cnavarro
Thu May 16, 2013 10:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

I did a poor job of describing my problem.

Since upgrading the FWH\Harbour the valid statement always finds cSS_Num empty, regardless of whatever the user may enter.
by DonDrew
Thu May 16, 2013 10:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Validate get

Don I would do your validation this way .. gives you more options .. Rick Lipkin REDEFINE GET oSS_Num VAR cSS_Num ID 2103 of oFld:aDialogs[GenFldr] ;Picture "@R ###-##-####" ;valid ( _ChkSsn( cSs_num,oSs_num )) UPDATE//--------------Static Func _ChkSsn( cSs_num,...
by Rick Lipkin
Thu May 16, 2013 9:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Validate get

REDEFINE GET oSS_Num VAR cSS_Num ID 2103 of oFld:aDialogs[GenFldr] ; Picture "@R ###-##-####" ; valid ( !empty(cSS_Num ) ) ; UPDATE Need to be sure that the user can't save a blank value to cSS_Num. This used to work just fine in earlier versions of my system before I upgraded FWH/Harbour....
by DonDrew
Thu May 16, 2013 8:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Validate get
Replies: 10
Views: 1417

Re: Saber Metodos de un CREATEOBJECT

... STDCALL dispatch FUNC VARIANT_BOOL loadXML( [in] BSTR ) STDCALL dispatch FUNC void save( [in] VARIANT ) STDCALL dispatch PROPERTYGET VARIANT_BOOL validateOnParse() STDCALL dispatch PROPERTYPUT void validateOnParse( [in] VARIANT_BOOL ) STDCALL dispatch PROPERTYGET VARIANT_BOOL resolveExternals() ...
by Antonio Linares
Mon May 13, 2013 5:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32149

Re: MSVS 2012

... 5. Still have a problem with a dialog (settings) in a mdi window, closing the dialog, window = OK, come back again enter dialog = crash at validate.... This is the ennoying part related to Harbour, i am not sure the ide's debugger will help us with it. Could you please provide an example ...
by Antonio Linares
Sat May 11, 2013 2:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: MSVS 2012

... 5. Still have a problem with a dialog (settings) in a mdi window, closing the dialog, window = OK, come back again enter dialog = crash at validate.... This is the ennoying part related to Harbour, i am not sure the ide's debugger will help us with it. 6. Resources : static texts that are ...
by Richard Chidiak
Sat May 11, 2013 10:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVS 2012
Replies: 77
Views: 15099

Re: FiveWeb - tutorial (step by step)

André,

We could validate localy (using javascript) and/or remotely (accessing the cgibin app again)

I will upload more examples :-)
by Antonio Linares
Mon Apr 22, 2013 11:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveWeb - tutorial (step by step)
Replies: 19
Views: 3192

Re: 3 levels categories

You can split the get into 3 gets so you can validate them separately.
by ADutheil
Sun Apr 21, 2013 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3 levels categories
Replies: 7
Views: 1181

Re: FiveTech's FiveWeb (free up to version 1.0)

... maximize screen area 2. xBrowse - ability to use most methods, including keyboard shortcuts 3. GET, COMBOBOX, CHECKBOX, RADIO, MEMO - ability to validate data, including popping another window to display data (xBrowse) for selection Also, I would add REPORT class. FOpen and other database format ...
by elvira
Fri Dec 28, 2012 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FiveTech's FiveWeb (free up to version 1.0)
Replies: 119
Views: 23648
PreviousNext

Return to advanced search