-
May 20th, 2009, 03:16 AM
#1
Rotating text box or command button
hello guys,
i have the same problem here . . . I want to make an application that can be rotated when the user clicks on some button . . . as a matter of fact its a windows mobile application . . . when it starts . . . it will have the portrait view which is the default view of the device, but when the user clicks on some button, the application or the form that represents the application - with any control drawn on this form - will rotate 90 degrees counterclockwise . . . i know that i can change the orientation of the whole device . . . but this is not an option . . . it is slow . . . any one has any idea . . . i will appreciate that
-
May 20th, 2009, 07:38 AM
#2
Re: Rotating text box or command button
I'd say this cannot be done with VB6 controls, sorry. They have no option to change their orientation.
-
May 20th, 2009, 08:06 AM
#3
Re: Rotating text box or command button
Instead of using the standard button, why not use a Picture instead ¿
By using a picture, you can add all necessary events to make it function like a button ( MouseDown, MouseUp etc. ).
-
May 20th, 2009, 10:56 AM
#4
Re: Rotating text box or command button
Good idea. You can then rotate the pictures in the Image controls, although this will require either square images, or an adjustment of the Image control's height and width when rotating.
Also, depending on the rotation, all the controls must be rearranged, or the screen arrangement is not maintained.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|