Need helo with a code
2014-06-08, 08:02 PM,
#1
hey, i need a code which shows a alertbox (using flat ui theme) if the client didnt enter his name and stop the button from working until he enters a name
hope its clear, thank you :D
Reply
2014-06-08, 08:08 PM,
(This post was last modified: 2014-06-08, 08:08 PM by CPAManager.)
#2
Use the Textchanged event on the textbox, and then do something like.. I guess ur doing VB.net ..

If textbox1.text.length > 1 then
button1.enabled = true
else
button1.enabled = false
end if
Reply
2014-06-08, 08:12 PM,
#3
(2014-06-08, 08:08 PM)CPAManager Wrote: Use the Textchanged event on the textbox, and then do something like.. I guess ur doing VB.net ..

If textbox1.text.length > 1 then
button1.enabled = true
else
button1.enabled = false
end if

thanks man, any idea about the alertbox ?

ps: vb.net
Reply
2014-06-08, 08:15 PM,
#4
(2014-06-08, 08:12 PM)Fay28 Wrote:
(2014-06-08, 08:08 PM)CPAManager Wrote: Use the Textchanged event on the textbox, and then do something like.. I guess ur doing VB.net ..

If textbox1.text.length > 1 then
button1.enabled = true
else
button1.enabled = false
end if

thanks man, any idea about the alertbox ?

ps: vb.net

Read this article: http://www.dotnetperls.com/messagebox-show-vbnet
Reply
2014-06-08, 08:23 PM,
#5
(2014-06-08, 08:12 PM)Fay28 Wrote:
(2014-06-08, 08:08 PM)CPAManager Wrote: Use the Textchanged event on the textbox, and then do something like.. I guess ur doing VB.net ..

If textbox1.text.length > 1 then
button1.enabled = true
else
button1.enabled = false
end if

thanks man, any idea about the alertbox ?

ps: vb.net

You could also just make a new form, and customize it to your needs. And then on your main form, to display the dialog use..

Form2.showdialog()
Reply
2014-06-08, 08:30 PM,
#6
thank you all, i'll be working on it :)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Where to find content locker code on a pre designed landing page? Holyearnings 3 150 2017-09-13, 06:56 AM
Last Post: Holyearnings
  OGads captcha locker onclick code ? gamertrial1 1 168 2017-08-11, 10:04 AM
Last Post: lovecash
  Decode this .js code roktim 11 434 2017-07-24, 09:27 PM
Last Post: Harrington
  how to youtube verify code phone ? warrensandre25 2 145 2017-07-23, 07:29 AM
Last Post: Padfoot
  [HELP] How Do I Remove Widget Container From The Code blunt 0 139 2017-06-14, 11:35 PM
Last Post: blunt




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top