OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Fred Tomke on February 04, 2010, 06:15:36 AM

Title: Vertical label
Post by: Fred Tomke on February 04, 2010, 06:15:36 AM
Hello,

In the attachment you see another kind of tabs. But they're horizontal.
But I want to create vertical tabs. So I need vertical text: either a vertical label or a picture box with a drawn (wrapped) text.
Does anybody have experiences in doing that?

If it is not possible yet, is it possible to implement this at all?

Fred
Title: Re: Vertical label
Post by: velasquez on February 04, 2010, 08:15:05 AM
Hello Fred 
Did you already think about using images to simulate this?

Velasquez
Title: Re: Vertical label
Post by: Fred Tomke on February 04, 2010, 12:00:08 PM
Hi, yes I thought about it and I refused to, because all texts must be changeable for international localisation.
On the other hand this would interest me in principle.

Fred
Title: Re: Vertical label
Post by: velasquez on February 04, 2010, 12:16:25 PM
Hi Fred, 
As soon as I can you will help with this.   
Leaning that you can have images with several languages. 
I want to work with this in a Pallete.

Velasquez
Title: Re: Vertical label
Post by: owenwengerd on February 04, 2010, 12:29:29 PM
I wonder if you could fake it by using a multiline texbox that wraps text at one character.
Title: Re: Vertical label
Post by: Fred Tomke on February 04, 2010, 12:42:17 PM
Quote from: owenwengerd on February 04, 2010, 12:29:29 PM
I wonder if you could fake it by using a multiline texbox that wraps text at one character.

Owen, I meant a rotated text, see the tabs of object property manager of AutoCAD.

Fred
Title: Re: Vertical label
Post by: owenwengerd on February 04, 2010, 12:45:01 PM
It is possible to set an orientation angle for fonts in Windows, but there is no way to set that font property in OpenDCL controls. I would say the only option is images.
Title: Re: Vertical label
Post by: Fred Tomke on February 04, 2010, 12:54:48 PM
Hm, thank you both.
I'm wondering how Autodesk did this in OPM and other palettes in Civil and Map ...

Fred
Title: Re: Vertical label
Post by: BazzaCAD on February 04, 2010, 01:11:18 PM
Maybe when the .NET functionality is finish, it will open up new possibilities...
Title: Re: Vertical label
Post by: owenwengerd on February 04, 2010, 04:06:04 PM
Come to think of it, maybe the Microsoft ActiveX tab control could do sideways tabs.