Click here to Skip to main content
16,004,924 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Update button greyed out Pin
Buggedforever30-Aug-09 23:04
Buggedforever30-Aug-09 23:04 
GeneralRe: Update button greyed out Pin
Buggedforever31-Aug-09 19:55
Buggedforever31-Aug-09 19:55 
AnswerRe: Update button greyed out Pin
Mycroft Holmes30-Aug-09 21:19
professionalMycroft Holmes30-Aug-09 21:19 
GeneralRe: Update button greyed out Pin
Andy_L_J30-Aug-09 22:02
Andy_L_J30-Aug-09 22:02 
QuestionNumericupdown Pin
Shaahinm29-Aug-09 22:19
Shaahinm29-Aug-09 22:19 
AnswerRe: Numericupdown Pin
Alan N30-Aug-09 0:22
Alan N30-Aug-09 0:22 
GeneralRe: Numericupdown Pin
Shaahinm30-Aug-09 10:11
Shaahinm30-Aug-09 10:11 
AnswerRe: Numericupdown Pin
Luc Pattyn30-Aug-09 10:58
sitebuilderLuc Pattyn30-Aug-09 10:58 
And what is the problem?

if you set the step value to 0.15 it would increment like so:
0.00
0.15
0.30
0.45
0.60 assume this magically changes into 1.00
1.15
1.30
1.45
1.60 magic required ==> 2.0


and decrement like this:
2.30
2.15
2.00
1.85 assume this magically changes into 1.45
1.30
1.15
1.00
0.85 magic required ==> 0.45
0.30
0.15
0.00


So all that is needed is two lines of code, according to these rules:
if fraction==0.60 add +0.40
if fraction==0.85 add -0.40

Put something to that effect inside the valuechanged handler.

Warning: if the control would allow a paste, all kinds of nasty things could happen...

Smile | :)

Luc Pattyn
Badger | [badger,badger,badger,badger...] Jig | [Dance] Badger | [badger,badger,badger,badger...] Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.Jig | [Dance] Badger | [badger,badger,badger,badger...] Jig | [Dance]

GeneralRe: Numericupdown Pin
Shaahinm30-Aug-09 21:41
Shaahinm30-Aug-09 21:41 
GeneralRe: Numericupdown Pin
Luc Pattyn30-Aug-09 23:41
sitebuilderLuc Pattyn30-Aug-09 23:41 
QuestionPDF Creator Pin
Bob Beaubien29-Aug-09 17:36
Bob Beaubien29-Aug-09 17:36 
AnswerRe: PDF Creator Pin
Henry Minute30-Aug-09 1:57
Henry Minute30-Aug-09 1:57 
GeneralRe: PDF Creator Pin
εїзεїзεїз30-Aug-09 5:43
εїзεїзεїз30-Aug-09 5:43 
GeneralRe: PDF Creator Pin
Henry Minute30-Aug-09 6:54
Henry Minute30-Aug-09 6:54 
QuestionDrastical performance loss Pin
Sonhospa29-Aug-09 17:21
Sonhospa29-Aug-09 17:21 
AnswerResolved: Drastical performance loss Pin
Sonhospa29-Aug-09 22:01
Sonhospa29-Aug-09 22:01 
QuestionHow to use activelock on http://www.activelocksoftware.com Pin
timnboys29-Aug-09 8:19
timnboys29-Aug-09 8:19 
AnswerRe: How to use activelock on http://www.activelocksoftware.com Pin
Henry Minute29-Aug-09 8:30
Henry Minute29-Aug-09 8:30 
GeneralRe: How to use activelock on http://www.activelocksoftware.com Pin
Luc Pattyn29-Aug-09 8:36
sitebuilderLuc Pattyn29-Aug-09 8:36 
GeneralRe: How to use activelock on http://www.activelocksoftware.com Pin
Henry Minute29-Aug-09 9:31
Henry Minute29-Aug-09 9:31 
GeneralRe: How to use activelock on http://www.activelocksoftware.com Pin
Dave Kreskowiak29-Aug-09 11:48
mveDave Kreskowiak29-Aug-09 11:48 
GeneralRe: How to use activelock on http://www.activelocksoftware.com Pin
Henry Minute29-Aug-09 12:18
Henry Minute29-Aug-09 12:18 
QuestionHow to generate MustOverride Property using CodeDOM? Pin
gutek629-Aug-09 4:34
gutek629-Aug-09 4:34 
QuestionHow to connect to XP machine using vb.net Pin
Paramhans Dubey29-Aug-09 1:22
professionalParamhans Dubey29-Aug-09 1:22 
AnswerRe: How to connect to XP machine using vb.net Pin
Dave Kreskowiak29-Aug-09 4:45
mveDave Kreskowiak29-Aug-09 4:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.