ESC in PropertyGrid |
Post Reply |
Author | |
isma
Newbie Joined: 15 January 2009 Location: Spain Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 16 January 2009 at 7:58am |
Hello,
If I type only letters in a Integer Item of PropertyGrid...
If I press ESC, the new value is the old value. This works fine.
If I selected other item, the new value is 0.
Can I tell me how solved this problem.
Thanks in advance.
Isma
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
First of all, don't allow user to enter chars into PropertyGridNumber
Set ItemProp = Item.AddChildItem(PropertyItemNumber, "Number", 100)
ItemProp.EditStyle = EditStyleNumber If user presses ESC now, the initial value will be shown.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |