Re: [fpc-pascal] How to get the borders and background color of the Message Box

2014-05-27 Thread Mark Morgan Lloyd

nitinjain wrote:

Hi,

Looking for guidance on formatting of the attached application Output
snippet.  I'm having trouble on getting the borders and background color of
the Message Box to display correctly. Any help will be appreciated. 


Nitin
 


You haven't told us what libraries etc. you eventually settled on, i.e. 
whether you're explicitly drawing the outline or relying on a library to 
do it.


I think you've probably already noticed that spaces that you are 
explicitly outputting are OK, while background resulting from explicit 
text positioning aren't. Also there's an interesting possibility that 
the libraries or OS are ignoring the PC-style line drawing characters at 
some level.


Tomas (and others) know far more about this than I do, but what I'd 
suggest is that you first investigate outputting some PC-style 
box-drawing characters as though they were text: You'll need to find a 
reference for the hex codes. Second, reduce your code to a stand-alone 
example program of no more than 10-15 lines, make sure it compiles, make 
sure that it still exhibits the problem, and post that together with 
details of exactly what compilation options you used and your OS.


And for the avoidance of all doubt, that is exactly what would be 
expected of students when I was doing a university support job, or 
junior programmers in a commercial environment. We're trying to be 
helpful, but we've all got our own problems and priorities.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] EpikTimer v1.0.1 released

2014-05-27 Thread Graeme Geldenhuys
Hi Sven,

You raised all the points which I already mentioned to Michael Schnell -
why I think EpikTimer should NOT be in the FCL.

 * FPC has too a slow release cycle
 * No need to burden the FPC team with supporting yet another component
 * It will reduce the possibility for experimentation and easy
   contributions from others.
 * EpikTimer contains more than just a single unit. The other files
   don't belong in FPC. So why fragment the project's source code.

I'm perfectly happy where EpikTimer is now. If anybody wants to use it
in a project, download and use it. If anybody wants to contribute, then
send a pull request or patches.

I also told Michael S. that if he does submit a patch to the FPC team (I
can't stop him), make sure it has a different name, so as not to
conflict with the official EpikTimer component.

Just my 2c worth.

Regards,
  Graeme


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] EpikTimer v1.0.1 released

2014-05-27 Thread Graeme Geldenhuys
On 26/05/14 10:14, Michael Schnell wrote:
> file "epiktimer.pas" that is independent of Lazarus and makes sense to 
> be use in not Lazarus based projects in the fpc RTL svn.

As I mentioned in the Lazarus mailing list. I don't believe everything
should always be dumped in the FPC repository. It adds the extra burden
for the FPC team to maintain it, makes it harder for the general public
to make/commit changes, others to experiment with new ideas etc. Plus
EpikTimer (as a project) contains more than just a single .pas unit. It
has Lazarus package files, demos etc - those don't belong in the FPC
repository, and will only fragment tho EpikTimer codebase.

Of course you are welcome to submit a patch to the FPC team (I can't
stop you), but please change the name so as not to conflict with the
official EpikTimer component.

Regards,
  Graeme



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal