Home > Back-end >  A problem of UpDown
A problem of UpDown

Time:09-30

Use under Win32 UpDown, Increment property can only be set as an integer, that if I want to give a decimal increase (such as 0.1) what should I do?

CodePudding user response:

UpDown step length can only as an integer, you can put the associated components display values into decimal,

CodePudding user response:

I was associated with the Edit, but in the Edit is set to 20.1, for example, after the operation automatically rounded up to 20, updown the position also requires an integer, this how to solve, this morning again meet a problem is what I want to get the current time, with TChart is, the result is the axis of a draw such

Every time is 5: xx, the 05:59 to 05:00 again after I use Now () DateTimeString (), only the software contact with many won't, thank demon elder brother
  • Related