Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Few questions about EWB 2
Fri, Apr 17 2015 3:25 AMPermanent Link

Eivind

First of all, awesome product compared to EWB 1.x that I have been using the last year.

Got a few questions.... As I understood by reading the pre-release information, dragging of windows around it's container is not yet activated. Would this be active in the final release?

Also, love the new grid component. In EWB1.xx I used to have the user double click on a row to open a detail window. I can see the grid have a OnDblClick event, but I cannot get it to fire. Anyone have some hints on how to get this working? Or is this still not implemented in the preview?

Also, cool new button combo box. One thing I experienced is that clicking the arrow the second time does not close the combo box. Example, a user click the combo box, or the arrow on the right side. Then he decide not to make a new selection. However, clicking the combo box or the arrow again does not close it again. Just checked on EWB 1.X and the combo box closes on the second click.

Last thing. In EWB1.x in some forms I used to catch keyboard event and handle them by the TForm by setting KeyPreview to True. I cant find that in EWB2 and I see no key preview for the form as well.  Any ideas how to catch and handle key clicks on the form level?

Thanks for any help

Best

Eivind Brenne
Mon, Apr 20 2015 3:23 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Eivind,

<< Got a few questions.... As I understood by reading the pre-release
information, dragging of windows around it's container is not yet activated.
Would this be active in the final release? >>

No.  But, it's fairly easy to add, so it will probably be available in one
of the first minor releases.  If you're interested in checking it out, look
at:

function TControl.DoCaptureStart(Button: Integer; ShiftKey, CtrlKey, AltKey:
Boolean; X,Y: Integer): Boolean;

in the WebCtrls unit.  You just need to allow capturing on the caption bar
control for the form/panel.

<< Also, love the new grid component. In EWB1.xx I used to have the user
double click on a row to open a detail window. I can see the grid have a
OnDblClick event, but I cannot get it to fire. Anyone have some hints on how
to get this working? Or is this still not implemented in the preview? >>

The grid's not complete yet.

<< Also, cool new button combo box. One thing I experienced is that clicking
the arrow the second time does not close the combo box. Example, a user
click the combo box, or the arrow on the right side. Then he decide not to
make a new selection. However, clicking the combo box or the arrow again
does not close it again. Just checked on EWB 1.X and the combo box closes on
the second click. >>

This is fixed.

<< Last thing. In EWB1.x in some forms I used to catch keyboard event and
handle them by the TForm by setting KeyPreview to True. I cant find that in
EWB2 and I see no key preview for the form as well.  Any ideas how to catch
and handle key clicks on the form level? >>

Key events are always automatically set to the parent control in EWB 2, so
just hook into the event at the level that you want, and you'll be all set.

Tim Young
Elevate Software
www.elevatesoft.com
Image