How do I change the font for an OLE RICHTEXT.RichtextCtrl.
I need to display the output from direct_print (file redirection) - (say) Courier New. Was going to 'grow my own' dispaly screen.
btw: if any other suggestions
OK, researched and got it working. Could not get the method to work - - send_message- and actually guessed the alternative.
rv=Set_Property( @window : '.OLECONTROL_1', 'Font' , "Courier New")
call Send_Message (@window : '.OLECONTROL_1', "LOADFILE", "C:\Services.txt")
Text=get_property(@window : '.OLECONTROL_1', "Text")
rv=Set_Property( @window : '.OLECONTROL_1', 'SelStart',0)
rv=Set_Property( @window : '.OLECONTROL_1', 'SelLength',len(Text))
rv=Set_Property( @window : '.OLECONTROL_1', 'SelFontSize',10)
*call Send_Message (@window : '.OLECONTROL_1', "SELECTNONE")
rv=Set_Property( @window : '.OLECONTROL_1', 'SelStart',0)
rv=Set_Property( @window : '.OLECONTROL_1', 'SelLength',0)