Problem with tab page canvas [message #378709] |
Wed, 31 December 2008 10:57 |
paulor
Messages: 15 Registered: December 2008
|
Junior Member |
|
|
Hello,
I have canvas (CV_TP_ANS) with 3 tab pages. Default tab page is tab A. I'm trying to programatically change tab_page to C. Because on the tab C there is only display item, I can't set focus by go_item(). I used: SET_CANVAS_PROPERTY('CV_TP_ANS',topmost_tab_page,'TAB_C');
but this didn't take effect. Is it possible to achieve this by another way?
|
|
|
|
Re: Problem with tab page canvas [message #378768 is a reply to message #378752] |
Thu, 01 January 2009 08:28 |
paulor
Messages: 15 Registered: December 2008
|
Junior Member |
|
|
I repeated solution with SET_CANVAS_PROPERTY and actually it worked but I explored that it can't be the first statement in my block (I had there also assignation to display item). When I first assigned value to display and then invoked SET_CANVAS PROPERTY everything is OK. Thanks for help.
|
|
|