Notifications
Clear all

[Closed] DOTNET – read out / dialog box

Hi,

I’m looking for a UI control that will allow me to send text to be dispalyed, kind of the way the listener does. Consider the mental ray dialog box, or even the VRay dialog box.
I am using an edit text, but of course this is limited to around 256 characters or something.
So I imagine there would be a dotnet dialog box or seomthing, so can someone please send me in the right direction? ?

thanks,

J_man

2 Replies

Hi,

In .Net you have the TextBox, its documentation on the MSDN can be found here :
[ http://msdn2.microsoft.com/en-us/library/system.windows.forms.textbox(vs.80).aspx ]( http://msdn2.microsoft.com/en-us/library/system.windows.forms.textbox%28vs.80%29.aspx) 

The .Net TextBox has additional functionality that is not found in the standard Windows text box control.

You can create it in a rollout like this:
dotNetControl outputText "System.Windows.Forms.TextBox" width:400 height:190 align:#center
    
    on rolloutName open do
    (
    	-- Set its properties like this
    	outputText.Multiline = true
    	outputText.Text = "Output Text Example"
    )
If you need a custom dialog, you can get a lot of commercial and free custom .Net controls/dialogs.
For example netXP 3.0 is a useful .Net component library (and free :)): [ http://www.dacris.com/downloads/detail.aspx?id=12 ]( http://www.dacris.com/downloads/detail.aspx?id=12) 

Thanks Yannick,

I knew you qwould be out there somewhere to help!

Josh.