Notifications
Clear all

[Closed] dotnet textbox canot input ?

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
 JHN

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

enableaccelerators=false
can use this