Issue 80241 - control "ControlPropertiesTabControl" not found, due to your changes in edia_a_c.win
Summary: control "ControlPropertiesTabControl" not found, due to your changes in edia_...
Status: CLOSED FIXED
Alias: None
Product: QA
Classification: Unclassified
Component: testscripts (show other issues)
Version: current
Hardware: All All
: P2 Trivial
Target Milestone: ---
Assignee: marc.neumann
QA Contact: issues@qa
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2007-08-01 08:19 UTC by marc.neumann
Modified: 2013-08-07 15:07 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2007-08-01 08:19:45 UTC
Because of your changes all control test in base are broken, please revert your
changes
Comment 1 marc.neumann 2007-08-01 08:21:06 UTC
.
Comment 2 joerg.skottke 2007-08-01 08:37:55 UTC
*ControlPropertiesTabControl HID_FM_PROPDLG_TABCTR
TabGeneralControl HID_FM_PROPDLG_TAB_GENERAL
TabDataControl HID_FM_PROPDLG_TAB_DATA
TabEventsControl HID_FM_PROPDLG_TAB_EVT

*ControlPropertiesTabControl is the dialog containing the three tabpages, so the
declaration is correct. Wontfix.
Comment 3 joerg.skottke 2007-08-01 08:38:25 UTC
back to msc
Comment 4 marc.neumann 2007-08-01 13:35:47 UTC
ok next try, your test framework/basic/f_basic_eventbinding.bas doesn't work,
also because of your changes.
Comment 5 marc.neumann 2007-08-01 13:36:12 UTC
reassign 
Comment 6 joerg.skottke 2007-08-02 09:14:46 UTC
The reason for the problem (root cause) is that the documentation is unclear
about the workings about the tabcontrols. "ControlPropertiesTabControl" can - if
declared as normal control - be used to switch tabpages. Code for this would
look like:

<snip>
Kontext "ControlPropertiesDialog"
ControlPropertiesTabControl.setPage( TabGeneralControl )
</snip>

But this usage differs from all other dialogs, where
"ControlPropertiesTabControl" would be the dialog with the tabpages as related
controls. Then you switch to the tabpage, set its context and work with the
controls.

So now the code must be:

<snip>
Kontext "ControlPropertiesTabControl"
ControlPropertiesTabControl.setPage( TabGeneralControl )

Kontext "TabGeneralControl"
...
</snip>

This enlightenment finally offers the possibility to get the Property Browser
correctly automated as the controls on the tabpages are directly and reliably
accessible from within the BASIC IDE which was not possible before.

Setting fixed
Comment 7 joerg.skottke 2007-08-02 09:26:41 UTC
Reop as Task for me, cannot fix now.
Comment 8 joerg.skottke 2007-08-02 09:27:52 UTC
TODO: Update documentation to be more precise about this.
Comment 9 joerg.skottke 2007-08-03 08:25:59 UTC
Move target away from 2.3
Comment 10 marc.neumann 2007-08-07 09:09:02 UTC
reassign back
Comment 11 marc.neumann 2007-08-07 09:14:08 UTC
fixed in base test scripts
Comment 12 marc.neumann 2007-08-07 09:15:37 UTC
close