From: SourceForge.net <no...@so...> - 2008-05-04 00:16:53
|
Documentation item #1842489, was opened at 2007-12-01 15:42 Message generated for change (Comment added) made by miesfeld You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1001880&aid=1842489&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ooDialog Group: 3.3.0 >Status: Pending Resolution: Fixed Priority: 5 Private: No Submitted By: Hagrinas (hagrinas) Assigned to: Mark Miesfeld (miesfeld) Summary: 11.2.5 wrong method Initial Comment: 11.2.5 NoMove method's documentation shows an example with the NoResize method. ---------------------------------------------------------------------- >Comment By: Mark Miesfeld (miesfeld) Date: 2008-05-03 17:16 Message: Logged In: YES user_id=191588 Originator: NO Committed revision 2475. Hagrinas, I put in a different example for 14.7, completely different from the list box example. As to your questions: All the documentation is converted from what IBM had for Object REXX. Much of what you have pointed out is a legacy from that doc. Some of it has been introduced by one of the developers as they have updated something. None of us are technical writers by profession, I think each of us is just trying to do the best we can. I don't think there is an articulated general direction for the examples. I believe in incremental improvements and am always open to enhancing any of the examples. I am sure any of us would gladly welcome help in writing the documentation. As always I appreciate your contribution. ---------------------------------------------------------------------- Comment By: Hagrinas (hagrinas) Date: 2007-12-01 18:58 Message: Logged In: YES user_id=1796550 Originator: YES I also noticed that 14.7 GetComboBox, the text is mostly lifted from "list box" and still has one reference to "list box" instead of "combo box." In the example, the method is called UpdateList, unchanged from the 14.6 example. I'm not sure what the general direction is for examples. The 14.6 example is great, and shows a lot more than just the method it's under. But it really serves as an example for the ListBox class in general, and shows its add, select, and deleteAll methods. All that's good, but what I mean by general direction is the philosophy of when and where to use examples, and what to show. If GetComboBox pointed back to GetListBox to show an example, it would be consistent with the way a lot of other parts of the document work. On the other hand, having a more specific GetListBox example would be helpful, instead of using the identical methods as the previous example. I might want to see self~AddComboBox(70,'locale',r~x,r~y,r~w,r~h) ... ::method UpdateComboBox Use arg hometown di = self~GetComboBox(70) if di == .Nil then return 0 di~DeleteAll di~Add("Town") di~Add("City") di~Add("Green") di~Select("City") di~locale = hometown But the question would be whether it really belongs under 14.7, and what related concepts should be there. The original example uses a symbolic id, but has nothing related to that concept. Ideally, all this should be in the ooDialog Programming Guide, and a lot of these things can be explained better in context. But in the mean time, I'd like to know if I should point out the redundancy, point out the errors in text, or suggest different examples. ---------------------------------------------------------------------- Comment By: Mark Miesfeld (miesfeld) Date: 2007-12-01 16:26 Message: Logged In: YES user_id=191588 Originator: NO Committed revision 1372. I fixed the NoMove and did a little clean up of the 11.2 section. Thanks Hagrinas. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1001880&aid=1842489&group_id=119701 |