Hi,
I have a set of programs that are working well now, I have a simple screen with a license agreement on it but I would like something more professional looking i.e. text with vertical and horizontal scroll bars so the user can scroll through the text.
Does anybody have a sample of code they would be good enough to let me have a look at and maybe use in my project ?
Best Regards,
Andy.
 
			
			
			
				Sorry if  I misunderstand what you are asking, but to have vertical and or horizontal scroll bars in your edit box, just use the @hscroll and @vscroll flags:
CONTROL d1,@EDIT,"Edit1",46,19,118,105,@vscroll|@hscroll|@CTEDITMULTI,EDIT_1
			
			
			
				Adrian thanks for a quick reply, you are in the right direction - just wanted a page of text that a user can read without editing
and then either accept or decline the agreement.
The example you gave won't allow me to put multiple lines of text in (I don't think) - but thanks very much for trying
Regards,
Andy.
			
			
			
				you can have an edit control with multiple lines
that's what the @CTEDITMULTI that Adrian showed you demonstrates.
LarryMc
			
			
			
				Thanks Larry,
Yes you're both right, I've never used that option before but i'm still at a loss as how to display a page of text that the user cannot edit
do you have any ideas or examples Larry ?
Thanks
Andy.
			
			
			
				Tut tut, Andy!  You're worse at reading the help file/manual than I am!
You use another flag which sets it to read only.   Just have a look on the page which describes the various flags for an edit box, under 'controls' in the Windows programming section of the help file. ;)