hi
I crate a textbox control by Additional property as:
InputType as inputs , inputs is enum :
Public Enum Inputs
Standard = 0 (user can enter anything)
Numbers = 1 (only number)
Alphabets = 2
NumberAndAlphabet = 3
Decimals = 4 (only decimal by 3 decimal place)
NationalCode = 5 (my special country code for each person )
End Enum
Separator (if set to true , digit can be grouping)
And some other properties
this control(SHTextBox) Working properly , when I finish another component based on shtextbox (SHtextBoxDataGridViewColumn) based on following link information :
but when add my column to datagridview , I can not change the value of inputtype property.
I read following article and see the note :
Must I override the Clone method ? if yes how I do it ?
I'm confused about host my control in datagridview and did not know what is the correct way
I attach my project here , Please check the code and solve my problem.
tank you
I crate a textbox control by Additional property as:
InputType as inputs , inputs is enum :
Public Enum Inputs
Standard = 0 (user can enter anything)
Numbers = 1 (only number)
Alphabets = 2
NumberAndAlphabet = 3
Decimals = 4 (only decimal by 3 decimal place)
NationalCode = 5 (my special country code for each person )
End Enum
Separator (if set to true , digit can be grouping)
And some other properties
this control(SHTextBox) Working properly , when I finish another component based on shtextbox (SHtextBoxDataGridViewColumn) based on following link information :
Code:
http://www.vb-tips.com/dbpages.aspx?ID=43d85ac7-1715-47fd-9e1f-dd17b41ace9a
I read following article and see the note :
Code:
http://msdn.microsoft.com/en-us/library/7tas5c80(v=vs.110).aspx
I'm confused about host my control in datagridview and did not know what is the correct way
I attach my project here , Please check the code and solve my problem.
tank you