Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Re: combo in co...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 11320 of 11708
Post > Topic >>

Re: combo in column headers

by "Geoff Schaller" <geoffx@[EMAIL PROTECTED] > Apr 17, 2008 at 07:27 AM

Jorge.

You can, but not without some effort and the bBrowser source code.

Basically, the bBrowser:DrawCaption() method is a clever piece of work 
where Joachim physically draws the caption based on properties you have 
set. The caption area for each column is represented by a bounding box 
and an origin and standard class accesses can give you this info. 
Therefor you could provide your own DrawCaption method and place a 
different control exactly over the bounding box rectangle.

However, from there, the area where the caption is painted is 'live' for 
events so placing a control there instead is no big deal.

What I would do though is not touch this method but on the instance, for 
example, of a double click on the caption, create a runtime combo box at 
exactly the same co-ordinates, closing it on selection or ESC.

Geoff



"jorgeaccinelli@[EMAIL PROTECTED]
" 
<jorgeaccinelli@[EMAIL PROTECTED]
> wrote in message 
news:dc819dc8-13e0-42a9-a2b0-ae224f8fee97@[EMAIL PROTECTED]
> Hello
>
>    Some languages have a grid whose headers
>    have a combo box (style excel) to filter
>    Information of the column, with options, for example,
>
>    [All]
>    [Custom]
>    [Blanks]
>    [Not Blanks] etc.
>
>     Can I do this in VO, for example bBrowse?
>
> Greetings
> Jorge Accinelli
 




 4 Posts in Topic:
combo in column headers
jorgeaccinelli@[EMAIL PRO  2008-04-16 20:37:58 
Re: combo in column headers
"Geoff Schaller"  2008-04-17 07:27:00 
Re: combo in column headers
jorgeaccinelli@[EMAIL PRO  2008-04-17 13:06:29 
Re: combo in column headers
"richard.townsendros  2008-04-18 03:12:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:39:32 CDT 2008.