Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get textbox nulldisplay to work
Message
De
12/12/2006 09:08:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
12/12/2006 08:50:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01176819
Message ID:
01176823
Vues:
7
>Well, that's it - I set the nulldisplay property of a textbox to []and expect it to display nada - instead it says 0 (zero).
>
>TIA for your help
>
>BR
>
>Peter

Peter,
It works right for me:
PUBLIC oForm
oForm = CREATEOBJECT('MyForm')
oForm.Show

DEFINE CLASS myForm as Form
 DataSession = 2
 ADD OBJECT txt1 as textbox WITH left=5,top = 5, controlsource='test.f1', nulldisplay="nada"
 ADD OBJECT txt2 as textbox WITH left=5,top = 45, controlsource='test.f2', nulldisplay="nada"
 ADD OBJECT txt3 as textbox WITH left=5,top = 85, value=.null., nulldisplay="nada"
	
 PROCEDURE Load
 CREATE CURSOR test (f1 i null, f2 i null)
 INSERT INTO test VALUES (1,.null.)
 ENDPROC
enddefine
Cetin
Ç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