Source language: Translate to:

Rotate an object (Pushbutton) by degrees

General questions about NeoBook

Moderator: Neosoft Support

Rotate an object (Pushbutton) by degrees

Postby datadon » Tue Mar 31, 2015 1:50 pm

Anyone come up with a way to rotate an object like a pushbutton by a number of degrees? Either in the IDE or programatically?

I don't think it is possible but thought I would inquire.

I've tried using an image and polygone but not quite what I want.

Thanks
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Re: Rotate an object (Pushbutton) by degrees

Postby Danito » Tue Mar 31, 2015 2:51 pm

Quizas te sirva hpwUtility de HPW que crea controles knob
viewtopic.php?f=3&t=9846&hilit=Knob&start=330

Action: hpwKnobCreate - Append a knob-control to an existing NeoBook Rectangle object.
Action: hpwKnobRemove - Remove a knob-control previously attached to a Rectangle object.
Action: hpwKnobSetPosition - Set a knob-controls position by code.

Variables:
[hpwKnobMinPosition]
[hpwKnobMaxPosition]
[Rectanglename_StartPosition]
[hpwKnobSpringLoaded] - Knob autoresets to 0 after dragging
[hpwKnobEnabled]
[hpwKnobPageSize] - Value for jumps with PageUp and PageDown-Key
[hpwKnobImage] - BMP/PNG/JPG Image loading is supported from disk,embedded and mimestreams
[hpwKnobBackgroundImage] - BMP/PNG/JPG Image loading is supported from disk,embedded and mimestreams
[Rectanglename_OnChangeAction]

Keyboard: Use cursor keys for single step change and PageUp/PageDown-keys for pagesize-step

Based on the following freeware:
TKnob(v2.0) written by Silhwan Hyun is upgrade version of TKnob(v1.0) written by Gary Bradley Hardman.
EZLine is written by E.Z. Jordens.
TRotateImage v1.54 by Kambiz R. Khojasteh http://www.delphiarea.com
User avatar
Danito
 
Posts: 51
Joined: Thu Mar 11, 2010 7:07 pm


Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 1 guest