Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Readonly Edit Control


2 replies to this topic

austinajit

austinajit
  • Members
  • 12 posts

Posted 18 May 2006 - 21:04

Using Basic MSI Project:

I need to show some message to user which is very long and am
not able to use Text control. So i am trying to use Edit
control. I need to make this content read only.

Can anyone suggest me how i can make Edit control a Read-only control?
Or is there any other way i can increase the size of the Text control?

Thanks,
Austin.

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 18 May 2006 - 22:08

You can't make an edit control readonly, instead use a rich text control: that is always readonly. This control is used for license agreements. One of its features is that the may select parts of the text and copy it to the clipboard, it can have scrollbars etc.
Its drawback is that it can only show RTF, if you create the message at runtime you must encode the text in RTF, and do database manipulations as well.


austinajit

austinajit
  • Members
  • 12 posts

Posted 19 May 2006 - 03:23

Thanks Zweitze.

I created a List box control and added the messages line by line. It works for now. Scollbar and read-only requirements are met.