[Maybe a BUG] Tab page in dockable forms

Started by colder · 2007-11-28 00:31 UTC · 5 replies · SMF topic #101

AutoCAD 2004 + OpenDCL 4.1.2.0

First, add dockable form. And then, add a Tabcontrol.
Put something in Tab page.

In CAD. Give focus to tab page. At this time, when I press "ESC" or "ENTER". Tab page is blank. All in it has been disappear. But switch tab page can get it again.

I'm sorry for my poor English.

Can you attach a simple functional .LSP and .ODCL file to demonstrate your problem. ?
author=Kerry Brown link=topic=101.msg415#msg415 date=1196222563 wrote:

Can you attach a simple functional .LSP and .ODCL file to demonstrate your problem. ?


Here is a simply project.
(Load "DockTab.lsp")
U can see the Dock & Tab.
Give focus to TextBox. And then, Press "Enter" or "ESC".
The content of Tab will disappear.

I has tested it in OpenDCL 4.1.2.0 (AutoCAD 2004/2008)

[attachment deleted by admin]
Thanks for posting colder,

The TextBox property 'ReturnAsTab', if set to True, will solve the ENTER issue.


For Owen.

The ESC issue looks like a bug when the TextBox is contained in a TabPane..
a TextBox directly on the dockable form is not an issue.
and
It appears the 'OnReturnPressed' Event is not firing, irrespective of the 'ReturnAsTab' setting .
author=Kerry Brown link=topic=101.msg421#msg421 date=1196314468 wrote:
The ESC issue looks like a bug when the TextBox is contained in a TabPane..


Agreed. Please enter a bug report on that so I don't forget to investigate when I return from AU.
Done
https://sourceforge.net/tracker/index.php?func=detail&aid=1845259&group_id=187950&atid=923363