[Lazarus] TStaticText loses content at irregular intervals (Win 10)
Windows 10 Pro, Lazarus 2.0.10 (64 bit), Fpc 3.2.0 (64 bit) I have an application where I have a panel on the bottom of the main form. On this I have a number of controls like buttons etc. There are a set of TStaticText controls where I show the current value of some variables that are set from buttons. The application is a video editor and I snatch the position in the video through the buttons that save the value of current time in seconds and show these in the TStaticText containers. While doing this sometimes the values displayed for the next cut just disappear... It is the *content* of these TStaticText controls that blank out and the values disappear... When this happens I can return the values by simply moving the application form down so these controls disappear below the screen bottom edge and then pull the form up again. This repaints the content of the controls. What could be the reason for this and is there anything I can do to stop it from happening? -- Bo Berglund Developer in Sweden -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] FPDoc chms and code examples
On 15/01/2021 7:53 am, Соболь Андрей Евгеньевич via lazarus wrote: > I see that nobody used to a tag for creating documentation lcl, > lazutil. That tag is used only the fpc team. It seem to be a decision made by the Lazarus team. I've used the EXAMPLE tag for years with the tiOPF project as well, and very happy with the result. I only use in for small code snippets though, not full programs. tiOPF docs: https://sourceforge.net/p/tiopf/tiopf_docs/ci/master/tree/ tiOPF HTML doc with example code: http://geldenhuys.co.uk/tiopf/tiobject/ttiobject.dogetfieldbounds.html Regards, Graeme -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] using TDBNavigator with a TStringgrid
very good idea. Thank you On Sat, Jan 16, 2021 at 12:00 PM gabor via lazarus < lazarus@lists.lazarus-ide.org> wrote: > W dniu 2021-01-16 o 11:54, duilio foschi via lazarus pisze: > > it does not seem possible. > > > > Any workaround? > > > > Thank you > > > > Duilio > > > > Maybe TMemDataset + TDBGrid + TDBNavigator? > > Michał. > -- > ___ > lazarus mailing list > lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] FPDoc chms and code examples - second thread
Oh sorry, I send my message into another thread :( I opened the topic about short code examples that should be embedded in the documentation. About the full examples I know. Also I and Trevor have wrote a readme.txt file for those directories: The file you can read here: https://drive.google.com/file/d/1wHiM-UMClcjvmBLj1PQDwwQ4sNKdXl79/view?usp=sharing > Me personally prefer to place short code snippets into help pages, with > some syntax highlight. Also, big code samples can be made as separate help > (html) files, with detailed description. Same as in Wiki. > > Pure code examples can be found in lazarus/examples directory, they even > have browser, embedded in IDE (create project, browse samples). > > On Fri, Jan 15, 2021, 10:53 Andrey Sobol via lazarus < > lazarus@lists.lazarus-ide.org> wrote: > >> Hello, >> I see that nobody used to a tag for creating documentation lcl, >> lazutil. That tag is used only the fpc team. >> I have read a documentation and saw rtl .xml`s and so. >> I want to create a directory for used examples of code as : >> >> - lazarus/doc/exlcl >> - lazarus/doc/exlazutil >> >> and put inside files in notation with dots. For example: >> fileutil.findallfiles.pas (I think it will be convenient) >> >> + readme.txt (into those directories) >> + wiki descriptions about it. >> >> I have checked it, a html`s works and a chm`s too. >> >> What is yours opinion about it? >> And how to create directory, also by patch? >> >> Andrey Sobol.-- Andrey -- Andrey -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] FPDoc chms and code examples
I opened the topic about short code examples that should be embedded in the documentation. About the full examples I know. Also I and Trevor have wrote a readme.txt file for those directories: The file you can read here: https://drive.google.com/file/d/1wHiM-UMClcjvmBLj1PQDwwQ4sNKdXl79/view?usp=sharing Me personally prefer to place short code snippets into help pages, with some syntax highlight. Also, big code samples can be made as separate help (html) files, with detailed description. Same as in Wiki. Pure code examples can be found in lazarus/examples directory, they even have browser, embedded in IDE (create project, browse samples). On Fri, Jan 15, 2021, 10:53 Andrey Sobol via lazarus < lazarus@lists.lazarus-ide.org> wrote: Hello, I see that nobody used to a tag for creating documentation lcl, lazutil. That tag is used only the fpc team. I have read a documentation and saw rtl .xml`s and so. I want to create a directory for used examples of code as : - lazarus/doc/exlcl - lazarus/doc/exlazutil and put inside files in notation with dots. For example: fileutil.findallfiles.pas (I think it will be convenient) + readme.txt (into those directories) + wiki descriptions about it. I have checked it, a html`s works and a chm`s too. What is yours opinion about it? And how to create directory, also by patch? Andrey Sobol.-- Andrey -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] using TDBNavigator with a TStringgrid
W dniu 2021-01-16 o 11:54, duilio foschi via lazarus pisze: it does not seem possible. Any workaround? Thank you Duilio Maybe TMemDataset + TDBGrid + TDBNavigator? Michał. -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[Lazarus] using TDBNavigator with a TStringgrid
it does not seem possible. Any workaround? Thank you Duilio -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] FPDoc chms and code examples
Me personally prefer to place short code snippets into help pages, with some syntax highlight. Also, big code samples can be made as separate help (html) files, with detailed description. Same as in Wiki. Pure code examples can be found in lazarus/examples directory, they even have browser, embedded in IDE (create progect, browse samples). On Fri, Jan 15, 2021, 10:53 Соболь Андрей Евгеньевич via lazarus < lazarus@lists.lazarus-ide.org> wrote: > Hello, > I see that nobody used to a tag for creating documentation lcl, > lazutil. That tag is used only the fpc team. > I have read a documentation and saw rtl .xml`s and so. > I want to create a directory for used examples of code as : > > - lazarus/doc/exlcl > - lazarus/doc/exlazutil > > and put inside files in notation with dots. For example: > fileutil.findallfiles.pas (I think it will be convenient) > > + readme.txt (into those directories) > + wiki descriptions about it. > > I have checked it, a html`s works and a chm`s too. > > What is yours opinion about it? > And how to create directory, also by patch? > > Andrey Sobol. > > > -- > Это сообщение было проверено AVG на наличие вирусов. > http://www.avg.com > > -- > ___ > lazarus mailing list > lazarus@lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus