Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object List
Message
De
22/06/2001 10:11:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/06/2001 10:06:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00522334
Message ID:
00522424
Vues:
8
Glenn,
CCed asking my opinion ? I'm afraid this would fail. Sorry.
Cetin

>I believe this is a runtime situation, which could be handled with the following.
>
>
>form::CheckforFilledvalues
>
>lparameters tcBaseClass, toRef
>local loRef
>assert not empty(lcBaseClass)
>if empty(toRef)
>    toRef = thisform
>endif
>llReturn = .t.
>for each loRef in toRef
>    if vartype(loRef.controlcount) = 'N'
>    	llReturn = thisform.TestAllvalues( lcBaseClass,loRef)
>    	if not llReturn
>    		return llReturn
>    	ENDIF
>    else
>        if vartype(loRef.value) <> 'U' and ;
>           vartype(loRef.value) <> 'L' and ;
>           loRef.BaseClass = proper(alltrim(tcBaseClass))
>            if empty(loRef.value)
>                return .f.
>            endif
>        endif
>    endif
>endfor
>return llReturn
>
>
>
>
>>Hello everyone,
>>
>>It's me again :p
>>
>>How can I get a list of object in a form? To be more specfic, I want to examine
>>whether the user have filled in all the textbox or not when he click the submit
>>button.
>>I want to have a list of textboxes and then check them on by one.
>>
>>Thanks a lot!
>>Jimi
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform