Jump to content

Slider button size


Cusem
 Share

Recommended Posts

You are looking for a function called :_GUICtrlSlider_SetThumbLength(). Check in help file

[font="Garamond"]Manjish Naik[/font]Engineer, Global Services - QPSHoneywell Automation India LimitedE-mail - Manjish.Naik@honeywell.com
Link to comment
Share on other sites

Here is a tutorial to customze the S2U2 Slider Button.

1. S2U2 Slider button image is in Device\Program Files\S2U2\gfx folder as Arrows.png.

2. It consists of two images each of size 47x30 pixels, that makes the original image 94x30 pixels.

3. The first image is used when Slide to unlock & second image is used when Slide to Answer.

Designing Buttons:

===============

1. Open Paint.

2. Goto Image --> Attributes

3. Change width to 47pixels & height to 30pixels.

4. Design button u want to use for slide to unlock.

5. When Done, save it in BMP format.

6. Repeat the process for the next button i.e. Slide to answer.

7. Open IrfanView.

8. Goto Image --> Create Panorama Image.

9. Choose 'Horizontal' in Directions Group.

10. Click Add Images & add the images (Remember the first file is for Slide to unlock & the second is for Slide to answer)

11. Untick 'Insert file names in images'.

12. Click Create Image.

13. This file should be of 94x30 pixels.

14. Save it in PNG format.

Edited by Valik
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...