Home > Archive > dBASE Bugs > December 2006 > Text control in report designer









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Text control in report designer
Bruce Beacham

2006-12-02, 5:14 am

Hi

This demonstrates the minor point that if a text control in the designer
has no text (an empty string), you cannot click on the text control to
focus on it.


Bruce Beacham



********************

** END HEADER -- do not remove this line
//
// Generated on 02/12/2006
//
local r
r = new ttxReport()
r.render()

class ttxReport of REPORT
with (this)
autoSort = false
endwith

with (this.reportGroup.headerBand)
height = 250.0
endwith

with (this.reportGroup.footerBand)
height = 250.0
endwith

with (this.printer)
duplex = 1 // None
orientation = 1 // Portrait
paperSource = 15
paperSize = 9
resolution = 0 // Default
color = 1 // Monochrome
trueTypeFonts = 2 // Download
endwith

this.STREAMSOURCE1 = new STREAMSOURCE(this)
with (this.STREAMSOURCE1.detailBand)
height = 1845.0
endwith

this.STREAMSOURCE1.detailBand.TEXT1 ;
= new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.TEXT1)
height = 795.0
left = 375.0
top = 930.0
width = 1365.0
prefixEnable = false
text = "Text1"
endwith

this.STREAMSOURCE1.detailBand.TEXT2 ;
= new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.TEXT2)
height = 765.0
left = 2445.0
top = 930.0
width = 1755.0
prefixEnable = false
text = ""
endwith

this.STREAMSOURCE1.detailBand.TEXT3 ;
= new TEXT(this.STREAMSOURCE1.detailBand)
with (this.STREAMSOURCE1.detailBand.TEXT3)
height = 750.0
left = 4875.0
top = 900.0
width = 2070.0
prefixEnable = false
text = "Text3"
endwith

this.PAGETEMPLATE1 = new PAGETEMPLATE(this)
with (this.PAGETEMPLATE1)
height = 16837.0
width = 11905.0
marginTop = 1080.0
marginLeft = 1080.0
marginBottom = 1080.0
marginRight = 1080.0
gridLineWidth = 0
endwith

this.PAGETEMPLATE1.STREAMFRAME1 ;
= new STREAMFRAME(this.PAGETEMPLATE1)
with (this.PAGETEMPLATE1.STREAMFRAME1)
height = 11592.0
left = 360.0
top = 1365.0
width = 9360.0
form.STREAMFRAME1 = form.pagetemplate1.streamframe1
endwith

this.firstPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.nextPageTemplate = this.form.pagetemplate1
this.form.pagetemplate1.streamframe1.streamSource =
this.form.streamsource1

endclass

********************

kathy kolosky

2006-12-04, 7:19 pm

Thanks, Bruce.
I submitted this as QAID 6139.
Incidentally there are a couple related QAID's you may want to note ...

QAID 3299
text.function='Z', cannot select a text if field has a zero in it.

QAID 4464
If text control has suppressIfBlank property set to true, cannot select it
in designer

Thanks, Kathy
QA
dBI

"Bruce Beacham" <bbeacham@beacham.no-spam.co.uk> wrote in message
news:ii1q6dfFHHA.328@news-server...
> Hi
>
> This demonstrates the minor point that if a text control in the designer
> has no text (an empty string), you cannot click on the text control to
> focus on it.
>
>
> Bruce Beacham
>
>
>
> ********************

> ** END HEADER -- do not remove this line
> //
> // Generated on 02/12/2006
> //
> local r
> r = new ttxReport()
> r.render()
>
> class ttxReport of REPORT
> with (this)
> autoSort = false
> endwith
>
> with (this.reportGroup.headerBand)
> height = 250.0
> endwith
>
> with (this.reportGroup.footerBand)
> height = 250.0
> endwith
>
> with (this.printer)
> duplex = 1 // None
> orientation = 1 // Portrait
> paperSource = 15
> paperSize = 9
> resolution = 0 // Default
> color = 1 // Monochrome
> trueTypeFonts = 2 // Download
> endwith
>
> this.STREAMSOURCE1 = new STREAMSOURCE(this)
> with (this.STREAMSOURCE1.detailBand)
> height = 1845.0
> endwith
>
> this.STREAMSOURCE1.detailBand.TEXT1 ;
> = new TEXT(this.STREAMSOURCE1.detailBand)
> with (this.STREAMSOURCE1.detailBand.TEXT1)
> height = 795.0
> left = 375.0
> top = 930.0
> width = 1365.0
> prefixEnable = false
> text = "Text1"
> endwith
>
> this.STREAMSOURCE1.detailBand.TEXT2 ;
> = new TEXT(this.STREAMSOURCE1.detailBand)
> with (this.STREAMSOURCE1.detailBand.TEXT2)
> height = 765.0
> left = 2445.0
> top = 930.0
> width = 1755.0
> prefixEnable = false
> text = ""
> endwith
>
> this.STREAMSOURCE1.detailBand.TEXT3 ;
> = new TEXT(this.STREAMSOURCE1.detailBand)
> with (this.STREAMSOURCE1.detailBand.TEXT3)
> height = 750.0
> left = 4875.0
> top = 900.0
> width = 2070.0
> prefixEnable = false
> text = "Text3"
> endwith
>
> this.PAGETEMPLATE1 = new PAGETEMPLATE(this)
> with (this.PAGETEMPLATE1)
> height = 16837.0
> width = 11905.0
> marginTop = 1080.0
> marginLeft = 1080.0
> marginBottom = 1080.0
> marginRight = 1080.0
> gridLineWidth = 0
> endwith
>
> this.PAGETEMPLATE1.STREAMFRAME1 ;
> = new STREAMFRAME(this.PAGETEMPLATE1)
> with (this.PAGETEMPLATE1.STREAMFRAME1)
> height = 11592.0
> left = 360.0
> top = 1365.0
> width = 9360.0
> form.STREAMFRAME1 = form.pagetemplate1.streamframe1
> endwith
>
> this.firstPageTemplate = this.form.pagetemplate1
> this.form.pagetemplate1.nextPageTemplate = this.form.pagetemplate1
> this.form.pagetemplate1.streamframe1.streamSource =
> this.form.streamsource1
>
> endclass
>
> ********************



Bruce Beacham

2006-12-04, 7:19 pm

kathy kolosky wrote:

> I submitted this as QAID 6139.
> Incidentally there are a couple related QAID's you may want to note ...
>
> QAID 3299
> text.function='Z', cannot select a text if field has a zero in it.
>
> QAID 4464
> If text control has suppressIfBlank property set to true, cannot select it
> in designer


That's interesting. Related indeed. Clearly, Nature and the Report
Designer both abhor a vacuum!


Bruce
Jan Hoelterling

2006-12-05, 7:17 pm

"Bruce Beacham" <bbeacham@beacham.no-spam.co.uk> wrote in message
news:k8k5FZ$FHHA.1524@news-server...
> That's interesting. Related indeed. Clearly, Nature and the Report
> Designer both abhor a vacuum!


LOL! Good one!

Jan


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com