Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get textbox nulldisplay to work
Message
From
12/12/2006 09:08:11
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/12/2006 08:50:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01176819
Message ID:
01176823
Views:
6
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform