Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Old question... forgot answer...
Message
De
18/09/1998 06:02:19
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00138066
Message ID:
00138116
Vues:
13
>I remember (from back in the dark ages) in Foxpro for DOS there's a problem with the edit region where if you don't want the user to change the data but need them to be able to scroll (bound to a memo field) you couldn't disable the box because the scroll bar is disabled too. So there was a "trick" to make the edit box pseudo-readonly but yet allow the user to use the scroll bar. Well, I need that trick and can't find it anywhere in my notes, books, on-line, etc. Anyone remember what that was? I think it's something you put in the When clause?????
>
>Thanks
John,
In my old code I found something but it doesn't look like a "when" trick. Two copies of same edit with one having nomodify :
@ 1,0 EDIT mytable.mymemo ;
	SIZE 4,21,0 ;
	when m.isediting ;
	DEFAULT " " ;
	SCROLL
@ 1,0 EDIT mytable.mymemo ;
	SIZE 4,21,0 ;
	when !m.isediting ;
	nomodify ;
	DEFAULT " " ;
	SCROLL
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