Friday, January 9, 2009

[advanced_delphi] Re: TFrame

Hi All

Doug Hale wrote:
> Sometimes what people want is not what they need!

I understand your doubt about my need, but... although my English is
not very good, I know exactly what I want, and it is exactly what I
need: it is described in my first message.

http://tech.groups.yahoo.com/group/advanced_delphi/message/3108

> David Smith wrote:
>> The user asking the question needed it to be part
>> of the sub-classed component he was making (don't
>> know why).

Ok, I will explain. The solution which consists of use TFrames is
exactly what I'm trying to overcome

I Have a very large -and highly configurable- application developed
with many instances (sometimes 10 in each "configurations Forms") of a
little "component". This "component" is really a TFrame.

This TFrame contains:

1 TRxCheckList (RxLib)
1 TLabel
3 TBitBtn

The little 3 buttons are

- Select all
- Deselect All
- Invert selection

All users of my application are accustomed to this UI (the little 3
buttons "of" this CheckListBox) so, I decided keep the buttons in App
now, we are making changes:

We are improving the aesthetics of the application via Woll2Woll
1stClass. All forms will have "skins" (TfcImager.Align = alClient) and
transparent controls. All CheckList's will become TfcTreeView (A
TTreeview with optional chekmark in each item).

I Could keep the scheme TFrame and their "subcomponents", but then, I
would have to put a TFcImager in each TFrame (sometimes 10 or more in
each Forms), so that the skin looks uniform. Each TfcImager of each
TFrame would load a Bitmap in memory, the same bitmap that loads the
Form.

So I decided to get rid of TFrames and Implement the 3-button within
the same component.
I already consulted with Roy Woll about my problem, but it does not
seem answer mails when it are about to descend of his components.

Then,

- It's not a TTreeView, is a TfcTreeView,
- It's not a TBitBtn, are 3 TfcImageBtn

What I did to write my first post was to simplify the problem:
TFcTreeView and TTreeView are TWincontrols descendents. The problem is
the same. I want to put a button (any button) inside a TTreeView (any
TTreeView). But this button makes a scroll, until Repaint. Exactly as
I explained in my first post:

http://tech.groups.yahoo.com/group/advanced_delphi/message/3108

Thanks all and sorry for my bad bad bad english.
Neo.


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/advanced_delphi/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/advanced_delphi/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:advanced_delphi-digest@yahoogroups.com
mailto:advanced_delphi-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
advanced_delphi-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

0 comments: