Author | Topic: oPS:drawCaptionStr() documentation | |
---|---|---|
Carlos A Beling | oPS:drawCaptionStr() documentation on Thu, 07 May 2020 14:41:27 -0300 Hi. Good afternoon. Please, where can I getthe documentation above? I did not find anything in XbpPresSpace() Fraternally Beling | |
Andreas Gehrs-Pahl | Re: oPS:drawCaptionStr() documentation on Thu, 07 May 2020 15:52:18 -0400 Carlos, >Please, where can I getthe documentation above? >I did not find anything in XbpPresSpace() This is an internal method that isn't documented. But it is pretty much identical to the GraCaptionStr() function, which is actually just a wrapper for that particular method: GraCaptionStr([<oPS>], <aStartPoint>, [<aEndPoint>], <cCaption>, ; [<nAlign>], [<nTabChars>]) --> lSuccess Becomes: oPS:DrawCaptionStr(<aStartPoint>, [<aEndPoint>], <cCaption>, ; [<nAlign>], [<nTabChars>]) --> lSuccess or: oPS:DrawCaptionStr(<aStartPoint>, [<aEndPoint>], <cCaption>, ; [<nAlign>], [<nTabChars>], [<nPart>]) --> lSuccess The [<nPart>] parameter, which only exists in versions after 1.00.331, isn't actually used anywhere, though! You can also see the actual code implementation in the XbParts.prg file, which is in the ..\Source\SYS\ or ..\Source\Runtime\DUI\ folder, depending on your Xbase++ version. Hope that helps, Andreas Andreas Gehrs-Pahl Absolute Software, LLC phone: (989) 723-9927 email: Andreas@AbsoluteSoftwareLLC.com web: http://www.AbsoluteSoftwareLLC.com [F]: https://www.facebook.com/AbsoluteSoftwareLLC | |
Carlos A Beling | Re: oPS:drawCaptionStr() documentation on Fri, 08 May 2020 12:30:04 -0300 Hi Andreas: good afternoon. Many thanks again. Fraternally Beling On 07/05/2020 16:52, Andreas Gehrs-Pahl wrote: > Carlos, > >> Please, where can I getthe documentation above? >> I did not find anything in XbpPresSpace() > > This is an internal method that isn't documented. But it is pretty much > identical to the GraCaptionStr() function, which is actually just a wrapper > for that particular method: > > GraCaptionStr([<oPS>], <aStartPoint>, [<aEndPoint>], <cCaption>, ; > [<nAlign>], [<nTabChars>]) --> lSuccess > > Becomes: > > oPS:DrawCaptionStr(<aStartPoint>, [<aEndPoint>], <cCaption>, ; > [<nAlign>], [<nTabChars>]) --> lSuccess > > or: > > oPS:DrawCaptionStr(<aStartPoint>, [<aEndPoint>], <cCaption>, ; > [<nAlign>], [<nTabChars>], [<nPart>]) --> lSuccess > > The [<nPart>] parameter, which only exists in versions after 1.00.331, isn't > actually used anywhere, though! > > You can also see the actual code implementation in the XbParts.prg file, > which is in the ..\Source\SYS\ or ..\Source\Runtime\DUI\ folder, depending > on your Xbase++ version. > > Hope that helps, > > Andreas > |