PDA

View Full Version : dotnet textbox canot input ?


CGGD
05-03-2009, 03: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

JHN
05-03-2009, 06:11 PM
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

CGGD
05-04-2009, 01:46 PM
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

very very thanks

CGGD
05-07-2009, 12:15 PM
enableaccelerators=false
can use this

CGTalk Moderation
05-07-2009, 12:15 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.