forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Decimal Spin Steps

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sat Mar 21, 2009 2:55 am    Post subject: Decimal Spin Steps Reply with quote

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
View user's profile Send private message
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Sat Mar 28, 2009 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Sat Mar 28, 2009 1:52 pm    Post subject: Re:Decimal Spin Steps Reply with quote

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 Wink
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group