ParsX.com
پذیرش پروژه از دانشجویی ... تا سازمانی 09376225339
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

KeyBoard

 
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET
View previous topic :: View next topic  
Author Message
vahid_ve
دوست آشناي سايت


Joined: 05 Feb 2006
Posts: 85

PostPosted: Wed Oct 25, 2006 6:51 pm    Post subject: KeyBoard Reply with quote

سلام به همه ی برو بچه های Computer.ParsX Wink

اگه میشه اطف کنید ، یک کد به من بدید که بتونم با فشار دادن هر کدام از کلید ها ی کی بورد، کد آن دکمه را بدست آورم. دکمه هایی همچون F1 تا F12 ---- Shift و Alt و Ctrl و کلید ویندوز و خلاصه هر کلیدی که بر روی کی بورد وجود داره Play - Next - Stop و...

خیلی خیلی ممنون میشم اگه کمکم کنید Wink
Back to top
arash
مدير بخش سي
مدير بخش سي


Joined: 27 Nov 2004
Posts: 1232
Location: www.parsx.com

PostPosted: Fri Oct 27, 2006 8:28 am    Post subject: Reply with quote

یک Button و یک Label رو صفحه بگزار


Private Sub Command1_KeyDown(KeyCode As Integer, Shift As Integer)
   Label1.Caption = CStr(KeyCode)
End Sub


البته یادت باشه که مقادیر زیر رو برای Button تنظیم کنی
height 195
left -75
top -195
width 75
Caption ""
Back to top
emsii
دوست آشناي سايت


Joined: 16 Dec 2005
Posts: 90
Location: tehran

PostPosted: Tue Oct 31, 2006 7:53 am    Post subject: Reply with quote

من هر چي فكر ميكنم نميفهمم اين مقادير واسه چي بايد باشه
height 195
left -75
top -195
width 75
Caption ""
Wink
Back to top
arash
مدير بخش سي
مدير بخش سي


Joined: 27 Nov 2004
Posts: 1232
Location: www.parsx.com

PostPosted: Wed Nov 01, 2006 7:58 pm    Post subject: Reply with quote

کلید نباید نشون داده بشه
و همین طور نمی شه visible رو false کرد چون غیر فعال شده و دیگه کار نمی کنه
پس از صفحه نمایش می بریمش بیرون
Back to top
Display posts from previous:   
Post new topic   Reply to topic    ParsX.com Forum Index -> ويژوال بيسيك .NET All times are GMT + 3.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum