You could use  a multi-line edit box through your xml dialog. 

You can set the number of characters allowed, read-only, etc.

Jeff Weiss

 

From: David [mailto:[email protected]] 
Sent: Monday, April 02, 2012 1:49 PM
To: [email protected]
Subject: One more dialog question - please

 

I now finally have got a dialog working, for my app. Wonderful.

 

But I have one question. The documentation for the app, currently is
available in a text file. I wanted to have a button in my dialog, that
would open a ReadOnly edit box - or something like that - and then load
the documentation ito that box. Well, that was the idea. Is there any
better approach? I do not know, how to create a standard Windows Help
file or the like. So, I simply wrote the documentation in Notepad. But,
of course, the user should not be able to edit the docs, so I can't
simply load it into Notepad for him either. Smile. 

 

The documentation is something like 300 lines long, so the user will
need to scroll up and down the screen. Don't know, if the edit boxes
that WE provides, can hold that much.

 

So, if anyone have experience here, and/or any good suggestions to the
best approach, I am all ears.

 

My idea was, since the documentation would be made available in more
than one language, to save each language in its own file, and via my XML
file - with a simple string - to direct the app to the currently locale
documentation file. That part is not a problem, it works already. But my
problem is how to get the contents of the file, displayed on the screen
in the best way.

 

Thanks for any assistance.

 

 

Reply via email to