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.


'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
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

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.

[hpwKnobSpringLoaded] - Knob autoresets to 0 after dragging
[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

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
User avatar
Posts: 56
Joined: Thu Mar 11, 2010 7:07 pm

Return to General NeoBook Discussions

Who is online

Users browsing this forum: No registered users and 2 guests