POLL: Post code snippets / don't forget to reply |
Post Reply |
Author | |
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
Posted: 18 April 2008 at 10:30am |
Hi, It would be nice if we could post code snippets, just enough to explain how a certain property / method of a control works. I see there are lots of members asking the same question(s) about the same control. Most members want quick answers and search rather in examples than in posts.
Thank you.
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
JKDev
Groupie Joined: 27 September 2007 Location: Ireland Status: Offline Points: 59 |
Post Options
Thanks(0)
|
Hmm.. I was going to request CJ setup up a wiki for just this of of thing. We could post snippets and and documentation where it is lacking in the help systems...
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I think "updating" the documentation is not up to us. There is only one responsable for this and that is CodeJock. But it would help them which of the properties/methods aren't well documented. The code snippets I talked about would be short, just a few lines to explain what to do.
Just like
How to create a pane:
Dim paneExample as Pane
Set paneExample = DockingPanes.CreatePane(ID_PANE, 100, 100, DockRightOf, Nothing)
paneExample .Title = "Caption of pane" and maybe some explanation of the code and version
How to add a toolbar to CommandBars:
Dim toolBar As CommandBar
Set toolBar = CommandBars.Add("Tools" , xtpBarTop)
toolBar.EnableDocking xtpFlagAlignAny and maybe some explanation of the code and version
Eventually new members will get the picture and will explore the options themselves. We could have different levels for posting code snippets: beginner, intermediate and advanced. I would say: Let's do it |
|
younicke
Senior Member Joined: 11 March 2005 Status: Offline Points: 107 |
Post Options
Thanks(0)
|
since you have suggested that we post some code snippets in here, is it also possible for codejock to put some code tags on the forum so that the codes will be more readable? just a thought
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I prefer that CodeJock would create a SubForum for us and we would post the code snippets. Thats the whole idea. If they will supervise this, it won't be a such mess after a while.
If you would post a code snippet, and it would contain wrong code, I can not delete it... So we get stuck with a (bad) code snippet in our precious Hall of Code Snippets . CodeJock support team will be able to delete the item if they don't agree or adjust the code as it needs to be.
And if CodeJock doesn't, we have to do it ourselves...
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |