Re: [MSEide-MSEgui-talk] TtabWidget
On Saturday 15 October 2016 19:03:04 mohamed hamza wrote: > Hi Martin, > > I know that we can disable forbiden ttabpage to be selected . But > sometimes we want to change the active page by code,for example, by setting > activePageIndex? Is it possible? > Yes. Or use ".isactivepage:= true;". The page still will be disabled, please use ".enabled:= true;" before in order to enable it. Git master 51e4e9dce4c86d42ba0c9ad7c5e50cb0bab77c95 shows active state in tabs header for disabled pages too. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TtabWidget
On 10/15/2016 02:57 PM, mohamed hamza wrote: > I mean ttabpage.enabled:=false; > > In fact, I do not want the user select a forbiden ttabpage, But I can do > it by code for example ttabpage.activepageindex:=n; ( where n is the > forbiden page)? > What are you trying to accomplish with a forbidden page? Is it information that the user needs to constantly see? Or just for certain conditions / uses? If you do not want the user to select a "forbidden" page then set the invisible property to true? That way the user does not see the "forbidden" page and cannot select it. When the condition(s) are present to show the page then the program code can make the page visible again: ttabpage.invisible := false; -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TtabWidget
I mean ttabpage.enabled:=false; In fact, I do not want the user select a forbiden ttabpage, But I can do it by code for example ttabpage.activepageindex:=n; ( where n is the forbiden page)? De : Patrick Goupell [patr...@yoopermail.us] Envoyé : samedi 15 octobre 2016 17:43 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] TtabWidget On 10/15/2016 01:32 PM, mohamed hamza wrote: > But what happened if ttappage.taborder - 1 is diabled; > > By "diabled" are you referring to the invisible and visible properties? If you are doing this in code then the program must know if it is valid to make the page visible. If it is valid in program code to show the tabpage then set the ttabpage.visible := true and ttabpage.invisible := false before setting the ttabwidget.activepageindex := ttabpage.taborder - 1; Patrick -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TtabWidget
On 10/15/2016 01:32 PM, mohamed hamza wrote: > But what happened if ttappage.taborder - 1 is diabled; > > By "diabled" are you referring to the invisible and visible properties? If you are doing this in code then the program must know if it is valid to make the page visible. If it is valid in program code to show the tabpage then set the ttabpage.visible := true and ttabpage.invisible := false before setting the ttabwidget.activepageindex := ttabpage.taborder - 1; Patrick -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TtabWidget
But what happened if ttappage.taborder - 1 is diabled; De : Patrick Goupell [patr...@yoopermail.us] Envoyé : samedi 15 octobre 2016 17:24 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] TtabWidget On 10/15/2016 01:03 PM, mohamed hamza wrote: > Hi Martin, > > I know that we can disable forbiden ttabpage to be selected . But > sometimes we want to change the active page by code,for example, by setting > activePageIndex? > Is it possible? > I have done the following to select a new active page: ttabwidget.activepageindex := ttappage.taborder - 1; -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TtabWidget
On 10/15/2016 01:03 PM, mohamed hamza wrote: > Hi Martin, > > I know that we can disable forbiden ttabpage to be selected . But > sometimes we want to change the active page by code,for example, by setting > activePageIndex? > Is it possible? > I have done the following to select a new active page: ttabwidget.activepageindex := ttappage.taborder - 1; -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] TtabWidget
Hi Martin, I know that we can disable forbiden ttabpage to be selected . But sometimes we want to change the active page by code,for example, by setting activePageIndex? Is it possible? Best Regards Med -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] ttabwidget style
On Saturday 14 September 2013 18:52:08 airpas wrote: hi can i change the default style of ttabwidget angles ? i like to make it with gradient colors the rectangle shape of the angle also i'd like to make it like the angles of visual studio 2008 source editor. so any way to do this ? The look of the tabs can be defined by the ttabwidget.tab_* properties. For example the frame for tab_frametab can be composited by 4 images for the corners and 4 stretched images for the edges. An example is here: http://gitorious.org/mseuniverse/mseuniverse/source/59a1483da3fabb89a4accf93b30978c7dff0560a:attic/msedocumenting/mse/trunk/help/tutorials/widgets/tabwidget Overlapping diagonal tab edges probably is not possible, it would need chances in layout calculation and break the use of tface and tframe as base skin elements. Martin attachment: tabwidget.png-- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] ttabwidget style
thanks so much Martin exactly what i am looking for 2013/9/15, Martin Schreiber mse00...@gmail.com: On Saturday 14 September 2013 18:52:08 airpas wrote: hi can i change the default style of ttabwidget angles ? i like to make it with gradient colors the rectangle shape of the angle also i'd like to make it like the angles of visual studio 2008 source editor. so any way to do this ? The look of the tabs can be defined by the ttabwidget.tab_* properties. For example the frame for tab_frametab can be composited by 4 images for the corners and 4 stretched images for the edges. An example is here: http://gitorious.org/mseuniverse/mseuniverse/source/59a1483da3fabb89a4accf93b30978c7dff0560a:attic/msedocumenting/mse/trunk/help/tutorials/widgets/tabwidget Overlapping diagonal tab edges probably is not possible, it would need chances in layout calculation and break the use of tface and tframe as base skin elements. Martin -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
[MSEide-MSEgui-talk] ttabwidget style
hi can i change the default style of ttabwidget angles ? i like to make it with gradient colors the rectangle shape of the angle also i'd like to make it like the angles of visual studio 2008 source editor. so any way to do this ? thanks -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] TTabWidget: TabPage can't be resized with mouse
On Tuesday 10 January 2012 14:01:42 IvankoB wrote: Also, after resizing via bounds_cy, the page refills its area after changing frame_*. ttabpage always fills the whole ttabwidget client area. Please resize ttabwidget instead of ttabpage. Martin -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk