![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: hasInPlace Topic Summary: Complex Canvas creation Created On: 14-Nov-2005 08:58 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: hasInPlace() registers the callback function and enables the editor. the callback function should be of the form void doIt(DBE dbe, InPlaceEditEvent e) { } The manual fails to mention the type InPlaceEditEvent, which can have values inPlaceTextFilled or inPlaceTextChange. The manual also fails to mention the type used for a handle on an in-place editor as follows: InPlaceBox__ editor = inPlaceText | |
![]() |
|
Hi,
I'm trying to implement a complex canvas using the InPlaceEditing functionality, but I can not figure out what type the second parameter in the hasInPlace function should be. The reference manual says that the callback should look like: void cb(DBE dbe, event) {} Any ideas? Thanks in advance, Paul |
|
![]() |
|
![]() |
|
hasInPlace() registers the callback function and enables the editor.
the callback function should be of the form void doIt(DBE dbe, InPlaceEditEvent e) { } The manual fails to mention the type InPlaceEditEvent, which can have values inPlaceTextFilled or inPlaceTextChange. The manual also fails to mention the type used for a handle on an in-place editor as follows: InPlaceBox__ editor = inPlaceText ------------------------- Tony Goodman http://www.smartdxl.com Edited: 14-Nov-2005 at 11:33 by Tony Goodman |
|
![]() |
|
![]() |
|
Thanks Tony
|
|
![]() |
|
![]() |
|
Hi Tony,
thank you too for the tips. The missing type of variable editor will not effect self written code since it is only missing in function declarations. Right? I also try to use a canvas with in place editor to implement a kind of password dialog. But I'm not able to register to the the appropriate cb function. DXL is reporting an error. Here are the code snippets: What may I do wrong? Many thanks in advance for your kind help? ------------------------- Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
hasInPlace
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.