Notifications
Clear all
[Closed] dotnet textbox canot input ?
May 03, 2009 4:47 am
sorry my english very poor
if execute this code
Try (DotNetTest.Close()) Catch()
DotNetTest = dotNetObject "System.Windows.Forms.Form"
DotNetTest.FormBorderStyle = (DotNetClass "System.Windows.Forms.FormBorderStyle").FixedToolWindow
StMaxCusCmdTextBox= dotNetObject "System.Windows.Forms.TextBox"
DotNetTestTextBox.Size = dotNetObject "System.Drawing.Size" 200 20
DotNetTestTextBox.Location = dotNetObject "System.Drawing.Point" 5 5
DotNetTest.Controls.Add StMaxCusCmdTextBox
DotNetTest.Topmost = true
DotNetTest.ShowInTaskbar = false
DotNetTest.StartPosition = (DotNetClass "System.Windows.Forms.FormStartPosition").CenterScreen;
DotNetTest.Show()
if input h then open selection dialog
-..-
canot input hotkey =..=
thanks all viewer
3 Replies
May 03, 2009 4:47 am
You should go for the maxforms dotnet implementation. It handles this sort of problems better.
Look at the stuff Artur does for the form.
http://forums.cgsociety.org/showthread.php?f=98&t=678302&highlight=maxforms
Goodluck,
-Johan