KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

TabPage Creation

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Stevie
KiXforms Supporter
KiXforms Supporter


Joined: 04 Jun 2003
Posts: 109

PostPosted: Thu Jan 08, 2004 9:24 pm    Post subject: TabPage Creation Reply with quote

Shawn,

Will the new version support creating tabpages similarly to other controls. I'm working through parsing the script files and the tab page instantiation is causing me some distress.

$TabPage1 = $TabControl1.TabPages.Add

is the only control type that requires a method call in order to be created. A button, for example

$Button1 = $Form.Button

doesn't require a method call, nor does any other controls as far as I can tell. Don't know if your implementation precludes this but would it be possible to support

$TabPage1 = $TabControl1.TabPage
________
MARIJUANA VAPORIZER


Last edited by Stevie on Fri Feb 18, 2011 8:50 am; edited 1 time in total
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Jan 08, 2004 10:34 pm    Post subject: Reply with quote

For you and KD ... consider it done!

I will make it work both ways ...

$TabPage1 = $TabControl1.TabPage()

or:

$TabPage1 = $TabControl1.Controls.TabPage()

btw - which constructor method are you planning to use in the next version ? Creating through the container itself or creating through the Controls collection ?

-Shawn
Back to top
View user's profile Send private message
Stevie
KiXforms Supporter
KiXforms Supporter


Joined: 04 Jun 2003
Posts: 109

PostPosted: Thu Jan 08, 2004 11:46 pm    Post subject: Reply with quote

Currently all controls are created through the controls collection and I was not planning on changing this implementation.

Nothing is being created through the container.
________
Medical cannabis
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group