Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controling the font settings of a Memo's EditBox
Message
From
23/09/1998 10:49:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139822
Message ID:
00139839
Views:
30
>Is there any way for me to control the font setings of the memo's EditBox?
>
>I have a form with a grid. One of the columns of the grid is a memo field. When the user double clicks the cell of the grid containing the word "memo" it opens the memo's EditBox.
>
>The memo's EditBox is coming up with the font set to Ariel, Regular and 9 point. I need to set the font of the memo's EditBox to Courier New, Regular and 10 point.
>
>I've tried setting the bseForm class (the class the form contianing the grid is based on), to Courier New, Regular and 10 point. But that did not have any effect.
>I've tried setting the grid's column, header, and txtbox to Courier New, Regular and 10 point. But that did not have any effect.
>
>I really can't/shouldn't rely on the user going to the Format menu each time they create a menu. Is there any way for me to control the font setings of the memo's EditBox?

In place editing with editbox control is preferred but you could do it. ie:
* Init
define window showmemowindow ;
	from 20,10 to 30,100 ;
	font "Courier New",10 ;
	system halfheight
* set memo field column text1.memowindow = showmemowindow
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
Next
Reply
Map
View

Click here to load this message in the networking platform