Difference between revisions of "Talk:Documentation/Wiki Books"
From Apache OpenOffice Wiki
m (Property or Method not found error) |
m (Reply to "Property or Method not found error") |
||
Line 3: | Line 3: | ||
The line: Cursor = Doc.Text.createTextCursor() causes a "Property or Method not found error." | The line: Cursor = Doc.Text.createTextCursor() causes a "Property or Method not found error." | ||
BTW, this example is identical to the example in the StarBasic manual (which also has the same error)." | BTW, this example is identical to the example in the StarBasic manual (which also has the same error)." | ||
+ | :Assuming that you are running from the Basic IDE, your problem is the <code>StarDesktop.CurrentComponent</code> reference. See [[Documentation/BASIC_Guide/Documents]] on the wiki for a discussion. | ||
+ | :I can't find the example you cite. Could you quote a few large-print titles in the vicinity? We are gradually replacing this reference, but nobody has gotten to this one, yet.--[[User:TJFrazier|TJ]] 20:42, 10 October 2009 (UTC) |
Latest revision as of 20:42, 10 October 2009
"I am trying to learn OOBasic, by copying examples from the book and manipulating them. I found this example that is broken. Page 125 "Cells" The line: Cursor = Doc.Text.createTextCursor() causes a "Property or Method not found error." BTW, this example is identical to the example in the StarBasic manual (which also has the same error)."
- Assuming that you are running from the Basic IDE, your problem is the
StarDesktop.CurrentComponent
reference. See Documentation/BASIC_Guide/Documents on the wiki for a discussion. - I can't find the example you cite. Could you quote a few large-print titles in the vicinity? We are gradually replacing this reference, but nobody has gotten to this one, yet.--TJ 20:42, 10 October 2009 (UTC)