Jump to content


Photo

Publish method EndEditing


  • Please log in to reply
5 replies to this topic

#1 Shaman

Shaman
  • Members
  • 16 posts
  • Gender:Male

Posted 02 November 2007 - 11:41 AM

Can you move procedure EndEditing from protected section to public section of TNxCustomInspector or add new similar public method?

This method is very useful in some cases.

Best regards.

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 02 November 2007 - 12:28 PM

Hello Chaman,

I will need to think about it. Basically in ObjectInspector's allways one item is selected and in edit mode (except for top-level items).

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Shaman

Shaman
  • Members
  • 16 posts
  • Gender:Male

Posted 06 November 2007 - 10:33 PM

QUOTE (Boki (Berg) @ Nov 2 2007, 12:28 PM) <{POST_SNAPBACK}>
Basically in ObjectInspector's allways one item is selected and in edit mode (except for top-level items).


I need to manually call EndEdit to read current values of properties. May be a better method exists to do it.

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 06 November 2007 - 11:08 PM

Hello Shaman,

I will do some tests and then decide is it safe to public this method. I will go back here when I decide.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 07 November 2007 - 01:43 AM

Hello Shaman,

I have made this method public. You may change it in your code too.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 Shaman

Shaman
  • Members
  • 16 posts
  • Gender:Male

Posted 23 November 2007 - 01:58 PM

Big thanks, Boki. My patch will become smaller.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users