Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 2nd, 2003, 08:54 AM
wyldKard's Avatar
wyldKard wyldKard is offline
aCc-csU™
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: forgotten realms
Posts: 195 wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 7 h 31 m 30 sec
Reputation Power: 6
Send a message via Yahoo to wyldKard
Question lock command buttons...

is there a way i can lock command buttons like we lock text boxes?

Reply With Quote
  #2  
Old September 2nd, 2003, 08:57 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,840 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 2 Days 36 m 16 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
There is an "enabled" property for the command button. Is this what you are wanting?

Reply With Quote
  #3  
Old September 2nd, 2003, 12:15 PM
shibby1011ph shibby1011ph is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: PBC Clubhouse
Posts: 75 shibby1011ph User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 54 m 37 sec
Reputation Power: 6
Send a message via Yahoo to shibby1011ph
in my case, i use the enabled property. example text1.enabled = false;
it locks the txtbox and if there's any value, the font color turns to gray

Reply With Quote
  #4  
Old September 3rd, 2003, 02:40 PM
wyldKard's Avatar
wyldKard wyldKard is offline
aCc-csU™
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: forgotten realms
Posts: 195 wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level)wyldKard User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 7 h 31 m 30 sec
Reputation Power: 6
Send a message via Yahoo to wyldKard
Talking thanks!

thanks, Onslaught and shibby1011ph, for the response !!! i found that out a while ago too... hehehe i think i should explore vb some more

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > lock command buttons...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT