forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Slider for integers

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Thu Jul 27, 2006 11:42 pm    Post subject: Slider for integers Reply with quote

Is there an equivalent for %sl that takes an integer, rather than the real ?

I am mixing %sl, %df, %fl and %rf, but would want to have these available for integers, so that the slider only gave integer values.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7927
Location: Salford, UK

PostPosted: Wed Aug 02, 2006 9:44 am    Post subject: Slider for integers Reply with quote

John

If you are prepared to use %di then %sl takes integer values in this context.

%di is mentioned in the FTN95 help file under Win32 Platform->ClearWin+ ->Using dialog resources.

In this case ClearWin+ adopts the Microsoft Slider control.

There are additional options for %sl when used with %di and these appear to be undocumented.

[both] corresponds to TBS_BOTH
[top_or_left] corresponds to TBS_TOP
[no_ticks] corresponds to TBS_NOTICKS
[auto_ticks] corresponds to TBS_AUTOTICKS
[tick_frequency=value] gives the tick frequency for auto ticks
[thumb_length=value] gives the length for TBS_FIXEDLENGTH
[selection_min=value] gives the min value for TBS_ENABLESELRANGE
[selection_max=value] gives the max value for TBS_ENABLESELRANGE,
[tooltips=lower case letter] takes letters l,b,or r for TBTS_LEFT,TBTS_BOTTOM and TBTS_RIGHT.
The default is TBTS_TOP.
[border] corresponds to WS_BORDER

Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
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


Powered by phpBB © 2001, 2005 phpBB Group