Delphi For PHP Forums       


Go Back   Delphi-PHP Forums > Delphi4PHP NNTP Newsgroups > embarcadero.public.delphiphp.documentation
Forum Jump Register FAQ Members List Downloads Search Today's Posts Mark Forums Read

embarcadero.public.delphiphp.documentation If you have any documentation bugs to report or suggestions to improve the product documentation in Delphi for PHP, this is the place.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 6th December 2008, 11:22
David Moorhouse
Guest
 
Posts: n/a
Default Blog Demo App: Problems with screen painting

Hi

I've taken a moment to run the blog demo app at
http://www.qadram.com/vcl4php/sample...ject/index.php

This is a great example of how easy it is to put together a simple
application. But there is an issue with the text spilling out over
the panel below (thus obscuring the panel for comments etc) when you
enter more lines of text in a blog entry than the panel is sized to
hold.

Take a look at this entry to see what I mean
http://www.qadram.com/vcl4php/sample...blog.php?id=89
I tested this using FF 2.0.

Also, one other minor question (to do with character encoding)
Any apostrophes in the text are replaced by "&#39" rather than showing
the actual character. Is there an easy fix for this.

Cheers

D

David Moorhouse
Moorhouse Works ltd
www.moorhouse.co.nz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 6th December 2008, 15:58
405hp's Avatar
Firebug Fanatic
 
Join Date: Dec 2007
Location: State of Confusion
Posts: 3,273
405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute405hp has a reputation beyond repute
Default

It looks fine in IE 7 and Opera but is broke in FF 3 and Chrome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 6th December 2008, 20:14
David Moorhouse
Guest
 
Posts: n/a
Default Re: Blog Demo App: Problems with screen painting

Thanks 405

I've just tested it in IE7 and it looks fine.

Unless anybody has an obvious solution I'll take a look later today.
No doubt it is a CSS layout type thing.

Cheers

D

David Moorhouse
Moorhouse Works ltd
www.moorhouse.co.nz

On Sat, 6 Dec 2008 08:02:11 -0800, Delphi-PHP Forums
<405hp.3k087b@no-mx.delphi-php.net> wrote:

>It looks fine in IE 7 and Opera but is broke in FF 3 and Chrome.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 6th December 2008, 20:42
David Moorhouse
Guest
 
Posts: n/a
Default Re: Blog Demo App: Problems with screen painting

I've found a fairly easy fix :)

Setting "autosize" to true on the label that holds the blog text
(label2 on page blog.php) fixes the problem. This will expand the
control's height if more text is required. However, it does not
shrink the control's height if less text is input.

The problem with the quoted text appearing as HTML entities is not
appearing on my server so I think it must be a server setup issue of
the demo server.

Cheers

D

David Moorhouse
Moorhouse Works ltd
www.moorhouse.co.nz

On Sat, 6 Dec 2008 03:22:42 -0800, David Moorhouse
<borlandnewsWITHNO@SPAM_OR_JUNKmoorhouse.co.nz> wrote:

>Hi
>
>I've taken a moment to run the blog demo app at
>http://www.qadram.com/vcl4php/sample...ject/index.php
>


<snip>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 19:21.




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Copyright © 2004 - 2009, G&J Solutions Ltd. All Rights Reserved. terms of use