| View previous topic :: View next topic |
| Author |
Message |
DaveR Valued Contributor


Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sat Mar 21, 2009 2:55 am Post subject: Decimal Spin Steps |
|
|
Is there an API command, DSU or DLL that can allow me to set the steps in a VDS 6 (or VDS 5) Spin element as decimals?
| Code: | | DIALOG ADD,SPIN,<name>,<top>,<left>,<width>,<height>, <min|max|step>,<value>,<tooltip>,<styles> |
For example, the <min|max|step> needs to be 0|99|0.5 or 0|10|0.1 _________________ cheers
Dave |
|
| Back to top |
|
 |
DaveR Valued Contributor


Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Sat Mar 28, 2009 2:43 am Post subject: |
|
|
Nobody?
I'm sure I read recently some source code that provided spin element steps of 0.2 or 0.5 etc. Can't remember if it was, C, Delphi, .Net or Perl. But surely there is an API for setting steps smaller than 1? Or a VDS DSU or DLL? GadgetX maybe? _________________ cheers
Dave |
|
| Back to top |
|
 |
Aslan Valued Contributor


Joined: 31 May 2001 Posts: 589 Location: Memphis, TN USA
|
Posted: Sat Mar 28, 2009 1:52 pm Post subject: Re:Decimal Spin Steps |
|
|
The Spin element is probably an Up-Down Control
"http://msdn.microsoft.com/en-us/library/cc656656(VS.85).aspx"
You might also try 0.0|99.0|0.1
Edit: I tried the above and it didn't work
Hope this helps  |
|
| Back to top |
|
 |
|