Source language: Translate to:

Trackbar and NeobookDx

Plug-ins and utilities of interest to NeoBook authors

Moderator: Neosoft Support

Trackbar and NeobookDx

Postby exdepflak » Thu Jul 01, 2004 10:58 am

Hello All:
Is there a way to force a trackbar to be adjustable in only the increasing direction in conjunction with NeobookDX?
I have a trackbar used to set the video position (i.e., as per example in NeobookDx help file).
Thanks,
Rob
exdepflak
 

Trackbar and NeobookDx

Postby Gaev » Thu Jul 01, 2004 12:29 pm

Rob:

Is there a way to force a trackbar to be adjustable in only the increasing direction


First, set up a variable (let us call it [TrackBar1Previous]) to be the same as [TrackBar1]

Then, to control its new value, in the ValueChanged section ...

If "[TrackBar1]" ">=" "[TrackBar1Previous]"
  SetVar "[TrackBar1Previous]" "[TrackBar1]"
Else
  SetVar "[TrackBar1]" "[TrackBar1Previous]"
... optional
  AlertBox "Hey you ..." "Reversing not allowed !"
EndIf
User avatar
Gaev
 
Posts: 3733
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to NeoBook Plug-Ins and Utilities

Who is online

Users browsing this forum: No registered users and 1 guest

cron