Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread TBalloonLabel Orientation properties
Wed, Jan 20 2016 12:29 PMPermanent Link

Trinione

Tim:
This is a very nifty and useful component indeed.

The current TBalloonOrientation set is boLeft | boCenter | boRight, and all to the bottom.

Can it be enhanced to the following?

boBottomLeft | boBottomCenter | boBottomRight
boTopLeft | boTopCenter | boTopRight
boLeftTop | boLeftCenter | boLeftBottom
bolRightTop | bolRightCenter | bolRightBottom
Wed, Jan 20 2016 3:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< Can it be enhanced to the following? >>

Sure, no problem.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jan 21 2016 8:40 PMPermanent Link

Trinione

I have created a custom component based on TBalloonLabel. As I needed a header label so I created a new Element to the top of the 'Client'. It works! Smile

Just a couple of quick questions:

(1) How to display a Color drop-down list instead of say an integer in the property value area?

(2) How to display the Object Inspector property value at Design-time as changes are made to its value. As is done with the Caption property for example.
Fri, Jan 22 2016 12:55 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< (1) How to display a Color drop-down list instead of say an integer in the property value area? >>

Make sure that the property type is TColor, and not just Integer.

<< (2) How to display the Object Inspector property value at Design-time as changes are made to its value. As is done with the Caption property for example. >>

In general, you simply have to make sure to update the relevant underlying UI element as appropriate.  For example, if you have a caption element in your control, then simply updating the caption element's Content property will cause the caption element to display the new text as its content.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jan 22 2016 1:18 PMPermanent Link

Trinione

<< Make sure that the property type is TColor, and not just Integer. >>

Thanks. That works.

<< In general, you simply have to make sure to update the relevant underlying UI element as appropriate.>>

Yep. That's exactly what I am doing actually. So its related to the wrong Component Interface issue I reported in another forum post earlier today.

Shall wait for an answer on that forum post to address this issue.

Thank you.
Image